display in IE vs. Firefox - files attached

Thread Solved

Join Date: Jul 2005
Posts: 41
Reputation: jasondrey13 is an unknown quantity at this point 
Solved Threads: 0
jasondrey13's Avatar
jasondrey13 jasondrey13 is offline Offline
Light Poster

display in IE vs. Firefox - files attached

 
0
  #1
Mar 29th, 2009
Hey,

Can someone help me figure out why this is displaying differently in IE vs. Firefox? I am trying to make it look the same on both browsers. I would like the "mainlevel-nav" to display in the middle of the red bar on top, but nothing I try works.


The files are attached.

Thank you,
Jason
Attached Files
File Type: zip mecca_template css.zip (465.6 KB, 1 views)
Reply With Quote Quick reply to this message  
Join Date: Mar 2009
Posts: 10
Reputation: peter_nichol is an unknown quantity at this point 
Solved Threads: 3
peter_nichol's Avatar
peter_nichol peter_nichol is offline Offline
Newbie Poster

Re: display in IE vs. Firefox - files attached

 
1
  #2
Mar 29th, 2009
There's 2 things I'd try here - firstly check that there's no margin above the navigation links.

p { margin:0px; }

or if you're using lists then

ul, li { margin:0px; }

If this still doesn't work then you can use the "position:relative" and then do "top:-10px;" - now this will move the IE as well, you will need 2 style sheets, one with just fixes for the other web browser and so when defining your style sheets you will need to do a web browser check to see what the user agent is and then pick the correct style sheet.
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the HTML and CSS Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC