| Posted by Animesh K on 06/13/05 04:27 
Adrienne wrote:
 > Gazing into my crystal ball I observed Animesh K <animesh1978@gmail.com>
 > writing in news:d8i8ua$uej$1@agate.berkeley.edu:
 >
 >
 >>Hello All:
 >>
 >>I wanted to know any web resources for inline lists with background
 >>images for each <li> component.
 >>
 >>I want it for providing thumbnails of images on a picture page.
 >>
 >>Best regards,
 >>Animesh
 >>
 >
 >
 > I don't know if I would use background images for the LI element (LI is
 > an element, not a component).  You could of course style it that way:
 >
 > <li style="background-image:url(image1.png);background-repeat:norepeat;
 > width:100px; height:100px;">Item One</li>
 > <li style="background-image:url(image2.png);background-repeat:norepeat;
 > width:100px; height:100px;">
 > Item Two</li>
 >
 > However, I think you would be better off using:
 > <li><img src="image1.png" height="100" width="100"><br>Item One</li>
 > <li><img src="image2.png" height="100" width="100"><br>Item Two</li>
 >
 
 Hi Adrienne
 
 I will try your second suggestion. I already tried (more than) what you
 suggested in your first suggestion. There was some alignment and display
 problems amidst different browsers in different situations.
 
 Best
 A
  Navigation: [Reply to this message] |