1) Script Title: CSS Image Gallery
2) Script URL (http://www.dynamicdrive.com/style/cs...-image-gallery):
3) Describe problem: Can someone help me with how to add a height attribute to .gallerycounter in the css please?
1) Script Title: CSS Image Gallery
2) Script URL (http://www.dynamicdrive.com/style/cs...-image-gallery):
3) Describe problem: Can someone help me with how to add a height attribute to .gallerycounter in the css please?
Last edited by jscheuer1; 07-29-2007 at 05:14 AM. Reason: fix link
There are no attributes in css (the instructions are misleading). They are called properties, and they are given values. There is no .gallerycounter selector in the CSS Image Gallery.
I think you meant (for example):
I've corrected the instructions (red).Code:.gallerycontainer{ position: relative;height:250px;/*Add a height property and set its value to the largest image's height to prevent overlaying*/ }
- John________________________
Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate
Thank you John. Much appreciated.
Is there also something else missing in the instructions? Does one not need a line like
<link rel="stylesheet" href="css/imagelibrary.css" type="text/css" media="screen" />
in the head of the html page?
Last edited by Yukoner; 07-29-2007 at 02:39 PM.
Bookmarks