|
rdouglass -> RE: css rollover problem (2/28/2006 17:33:41)
|
That code doesn't seem to be on that link you posted. Do you have another URL? You're also using it (the CSS code) in an "id" format and the code you showed in your last post has more than 1 element with an id="buttons" in the tag. That is a no-no. [;)] CSS rules dictate that if you're using id, only 1 element with that id. You'll want to use classes yet you're already using classes like so: class="style24" Try making the CSS code like this: .style24 { height: 29px; width: 67px; text-indent: 0px; font: 14px/1, Ariel; margin: 0em 0; color:#fff; overflow: hidden; float: left; background: url(images/buttons.gif) top left no-repeat; display: block; } .style24:hover{ background-position: bottom left; } or add that to the first 'style24' CSS. As to the page you did post initially those 'buttons' seem to be centered fine for me. Again tho, I see not "buttons" class or id in the original page. That help at all?
|
|
|
|