Jump to content

Border wont show up in IE


cloevvold

Recommended Posts

seems to display fine for me, but you need to reformat you css a little bit. your border style isn't exactly w3c css compliant, the way you have it wrote; might be the reason why that was happening.

 

try this and see if it makes a difference:

 

#top_menu {
width: 100%; 
float: left; 
height: 0px; 
line-height: 10px; 
padding: 0; 
margin: 0; 
border-top: solid 2px #950000;
} 

seems to display fine for me, but you need to reformat you css a little bit. your border style isn't exactly w3c css compliant, the way you have it wrote; might be the reason why that was happening.

 

try this and see if it makes a difference:

 

#top_menu {
width: 100%; 
float: left; 
height: 0px; 
line-height: 10px; 
padding: 0; 
margin: 0; 
border-top: solid 2px #950000;
} 

 

 

No im sorry... It dosent work... :(

you might want to check the rest of your CSS and your layout design; because I have tested the code in: IE7, IE6, and FFv2.0.0.4 and it displays perfectly in each browser.

 

try this for me and tell me what you get

 

<style type="text/css">
#top_menu {
width: 100%; 
float: left; 
height: 0px; 
line-height: 10px; 
padding: 0; 
margin: 0; 
border-top: solid 2px #950000;
} 
</style>


<div id="top_menu"></div>

you might want to check the rest of your CSS and your layout design; because I have tested the code in: IE7, IE6, and FFv2.0.0.4 and it displays perfectly in each browser.

 

try this for me and tell me what you get

 

<style type="text/css">
#top_menu {
width: 100%; 
float: left; 
height: 0px; 
line-height: 10px; 
padding: 0; 
margin: 0; 
border-top: solid 2px #950000;
} 
</style>


<div id="top_menu"></div>

 

Nope... I am sorry... No change in IE... I use this with Joomla.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.