Jump to content
Killersites Forums

CSS IE AND FIREFOX PROBLEMS PLEASE HELP!


Recommended Posts

I am having a problem with my css code. The navigation won't display properly in IE but it's fine in firefox. i'm not sure what the problem is....can someone help me out with this? The site can be viewed here: http://betterorganicchoice.com/home.php

 

I tried to use the following code but it doesn't seem to work.

 

ul#navmenu li.activehome{
background-repeat:no-repeat;
background-position:22em 8px;
background-image:url(images/homeon.gif);
}
html>body ul#navmenu li.activehome{
background-position:22px 8px;
}

Link to post
Share on other sites

I have to second Eric's comments... I think you'll have to figure out a better way to do this. What if the user doesn't have Impact installed on their computer? You'll notice that the navigation shifts significantly if you change the font declared in the CSS, since different fonts had different widths.

Link to post
Share on other sites
I am having a problem with my css code. The navigation won't display properly in IE but it's fine in firefox. i'm not sure what the problem is....can someone help me out with this? The site can be viewed here: http://betterorganicchoice.com/home.php

 

I tried to use the following code but it doesn't seem to work.

 

ul#navmenu li.activehome{
background-repeat:no-repeat;
background-position:22em 8px;
background-image:url(images/homeon.gif);
}
html>body ul#navmenu li.activehome{
background-position:22px 8px;
}

 

mixing em's and px's ...

background-position:22em 8px;

 

?? wis that the problem?

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  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.

Loading...
×
×
  • Create New...