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;
} 

Link to comment
Share on other sites

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... :(

Link to comment
Share on other sites

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>

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.