Cross Browser/Platform Issues with drop downs

This is a discussion on "Cross Browser/Platform Issues with drop downs" within the Web Page Design section. This forum, and the thread "Cross Browser/Platform Issues with drop downs are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Oct 3rd, 2006, 19:34
Junior Member
Join Date: Jul 2006
Location: Maine
Posts: 49
Thanks: 0
Thanked 0 Times in 0 Posts
Cross Browser/Platform Issues with drop downs

Let my start out by saying that I hate how every browser has to be effin different, even on different platforms. My dropdowns are just fine and dandy on OSX with safari and firefox. But when I look at them on IE the drop downs are shifted way too far to the right. Firefox for windows has the drop downs about a pixel too low. What a headache.

Here is my html
Code: Select all
<div id="nav2">
<ul id="nav">
  <li><a href="aboutus.html">ABOUT US</a>
	<div id="navmargin">
	<ul>
	  <li><a href="">Our History</a></li>
      <li><a href="">Leadership</a></li>
      <li><a href="">Contact Us</a></li>
		</ul>
		</div>
	</li>

  <li><a href="ourapproach.html">OUR APPROACH</a>
	<div id="navmargin">
	<ul>
      <li><a href="">Safety
        </a></li>
      <li><a href="">Project Controls</a></li>
      <li><a href="">Industry Affilations</a></li>
    </ul>
	</div>
  </li>

  <li><a href="services.html">SERVICES</a>
    <div id="navmargin">
	<ul>
      <li><a href="">Fabrication - High Purity/Plastics</a></li>
      <li><a href="">Fabrication - High Purity/Micro Welding</a></li>
      <li><a href="">Fabrication - Industrial <br />Pipe</a></li>
      <li><a href="">Fabrication - Skid and Modular</a></li>
      <li><a href="">Field Install - <br />Process Piping</a></li>
	  <li><a href="">CAD</a></li>
    </ul>
	</div>
  </li>
  
        <li><a href="projects.html">FACILITIES</a>
   <div id="navmargin">
    <ul>
      <li><a href="">Clean Room</a></li>
      <li><a href="">Traditional Fabrication Area</a></li>
    </ul>
	</div>
  </li>
   
   <li><a href="industriesserved.html">INDUSTRIES</a>
    <div id="navmargin">
	<ul>
      <li><a href="">Food and Beverage</a></li>
      <li><a href="">Semiconductor</a></li>
      <li><a href="">Water and Waste Water</a></li>
      <li><a href="">Biotech and <br />Pharmeceutical</a></li>
      <li><a href="">Chemical</a></li>
	  <li><a href="">Ethanol</a></li>
	  <li><a href="">Power</a></li>
	  <li><a href="">Pulp and Paper</a></li>
	  <li><a href="">Nuclear</a></li>
    </ul>
	</div>
  </li>
  
   <li><a href="projects.html">PROJECTS</a>
   <div id="navmargin">
    <ul>
      <li><a href=""></a></li>
      <li><a href=""></a></li>
      <li><a href=""></a></li>
      <li><a href=""></a></li>
      <li><a href=""></a></li>
    </ul>
	</div>
  </li>
  
</ul>

</div>

Here is my CSS
Code: Select all
#nav2 {
	min-height:23px;
	height:23px;
	width:652px;
	float:left;
	background-image:url(images/navbg.jpg);
	background-repeat:repeat-x;
	text-align:center;
	font-family:arial;
	font-size:10px;
	color:#FFFFFF;
	border-bottom:solid;
	border-bottom-color:#FFFFFF;
	border-bottom-width:1px;
	}
	

	
#nav, #nav ul {
padding: 0;
margin: 0;
list-style: none;
}

#nav li li a {
font-family:arial;
font-size:10px;
color:#FFFFFF;
text-decoration:none;
padding: 0;
margin: 0;

}


#nav li li a:hover {
font-family:arial;
font-size:10px;
color:#7AFD60;
text-decoration:none;
padding: 0;
margin: 0;
}

#nav a {
display: block;
width: 10.84em;
padding: 0;
margin: 0;
}

#nav li {float: left;width: 10.84em;
padding:6px 0px 0px 0px;
margin: 0px;
}

#nav li a {
font-family:arial;
font-size:10px;
color:#FFFFFF;
text-decoration:none;
padding: 0;
margin: 0;
}

#nav li ul {
	position: absolute;
	width: 10.84em;
	left: -999em;
	background-color:#999999;
	padding: 0px 0px 5px 0px;
	margin: 0px;
	border-bottom-color:#FFFFFF;
	border-bottom-width:1px;
	border-left-color:#FFFFFF;
	border-left-width:1px;
	border-right-color:#FFFFFF;
	border-right-width:1px;
	border-right-style: solid;
	border-bottom-style: solid;
	border-left-style: solid;
}

#nav li:hover ul {
left: auto;
}

#nav li:hover ul, #nav li.sfhover ul {left: auto;}

#navmargin {
	margin-top:6px;
}
Sorry if I am getting annoying on this forum.
Reply With Quote

  #2 (permalink)  
Old Oct 3rd, 2006, 21:24
Most Reputable Member
Join Date: Apr 2006
Location: Cornwall, UK
Posts: 1,310
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Skype™ to ukgeoff
Re: Cross Browser/Platform Issues with drop downs

We are here to help you learn.

I'm getting so I can type this in my sleep - go to the sticky at the top of the css forum, download and work through the tutorial on creating css driven menus.

All will be come clear, I promise. And if things are still a bit grey, you can always come back and ask.
Reply With Quote
  #3 (permalink)  
Old Oct 4th, 2006, 13:27
Junior Member
Join Date: Jul 2006
Location: Maine
Posts: 49
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Cross Browser/Platform Issues with drop downs

I've tried that tutorial and it only makes me more confused. I even found stuff wrong with it. It says to put the text decoration for the links under div#naviation li a but it only works if you put the text decoration under div#navigation ul a. I am so sick of these stupid menus. All I need to know is why my submenus are 1 pixel lower on FF on windows than FF on OSX.
Reply With Quote
Reply

Tags
menus

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems with my CSS Drop Downs In IE yinyang042 Web Page Design 5 Jan 10th, 2008 17:30
cross browser issues planescape Web Page Design 4 Aug 29th, 2007 21:16
Cross Browser issues. Destx Web Page Design 5 Mar 26th, 2007 18:56
Cross Browser/Platform testing mrblack Web Page Design 38 Dec 13th, 2006 23:47
date string-drop downs fluff Classic ASP 3 Aug 13th, 2004 14:33


All times are GMT. The time now is 03:10.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43