View Full Version : Height attribute for CSS image gallery;
Yukoner
07-29-2007, 04:39 AM
1) Script Title: CSS Image Gallery
2) Script URL (http://www.dynamicdrive.com/style/csslibrary/item/css-image-gallery):
3) Describe problem: Can someone help me with how to add a height attribute to .gallerycounter in the css please?
jscheuer1
07-29-2007, 05:13 AM
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):
.gallerycontainer{
position: relative;
height:250px;
/*Add a height property and set its value to the largest image's height to prevent overlaying*/
}
I've corrected the instructions (red).
Yukoner
07-29-2007, 02:16 PM
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?
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.