PDA

View Full Version : IE Dashed border problem...works elsewhere on page...


jussa
10-13-2006, 10:14 AM
ok, i have the following style...

#divCommentsContainer
{
margin:15px 15px 10px 15px;
padding-bottom:10px;
position:relative;
border-top:1px dashed #09568E;
}

in IE it wont display the border...in firefox it will...

i have another element (span)...that displays the same border...but border-top...in both IE and firefox...

also...border-bottom for the #divCommentsContainer wont display in either browser...

WTF!!!

lol...sorry no live site avaliable...

jussa
10-14-2006, 10:57 PM
anyone??

mark87
10-14-2006, 11:05 PM
Have you tried playing around with the padding? Do you have a link to the page?

jussa
10-15-2006, 12:02 AM
Have you tried playing around with the padding? Do you have a link to the page?

sorry, no site is avaliable...yeah i have tried playing with padding...but to no avail...

Kravvitz
10-15-2006, 12:14 AM
What happens if you trigger hasLayout?

http://www.satzansatz.de/cssd/onhavinglayout.html
http://dean.edwards.name/weblog/2005/06/layout/
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/IETechCol/cols/dnexpie/expie20050831.asp
A TripSwitch? - set hasLayout to true without a dimension (http://www.tanfa.co.uk/css/examples/haslayout/tripswitch-demo.asp)

(I discourage the use of the underscore hack, which the first one recommends though.)