...

View Full Version : Image clipping problem



The_Return
02-14-2009, 03:08 AM
I have a problem I can't solve on my page the note is clipping under the bottom box of the page and I'm using z-index to make it so its on top but its not working heres the link. Thanks

It may not look likes it clipping but the shadow is actually being cut off

www.securewebdesigns.net

snowieken
02-14-2009, 03:17 AM
z-index only works on elements that are positioned. Try to add "position:relative;" to every element that you're giving a z-index.

The_Return
02-14-2009, 03:40 AM
Still nothing

snowieken
02-15-2009, 03:42 AM
Don't forget the ";" at the end of "position:relative;" !

The_Return
02-15-2009, 05:44 AM
Thank you works perfect now :) can't believe I forgot the ending

snowieken
02-15-2009, 01:31 PM
Browsers can be quite forgiving when it comes to that, but only if there isn't a line following the faulty one.


.blah {
background-color:red;
color:white
text-decoration:underline;
}

This results in black text without underline. However,


.blah {
background-color:red;
color:white
}

does result in white text. It's one of these strange perks for which I have no explanation for...

But anyway, glad to help!

jlhaslip
02-16-2009, 12:11 AM
You do not require the semi-colon on the last attribute value, but it is good coding practice to place one there.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum