473,569 Members | 2,729 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Nav bar problems in IE7

1 New Member
I'm having problems with the spacing of my navigation bar for IE7. It works in other browsers but drops down to a second line in IE7. Here is the page:
http://www.honeymoonersreviewguide.com/index2.php

Thanks so much,
Michelle

Expand|Select|Wrap|Line Numbers
  1.  
  2. #nav-container {
  3.     height: 28px; 
  4.     width: 100%;
  5.     top: 1em;
  6.     left: 1em;
  7.     background: #3068B1 url('../interior/bkg_header.png') 0 0 repeat-x; 
  8.     border-top: 1px solid #23518E;
  9.     border-bottom: 1px solid #23518E; }
  10.  
  11. #nav {
  12.     font-size: 10px;
  13.     float: left;
  14.     margin: 0; 
  15.     padding: 0; }
  16.  
  17. #nav a     {
  18.     text-align: left;
  19.     display: block;
  20.     border: 1px solid #23518E;
  21.     border-top: none;
  22.     white-space: nowrap;
  23.     margin: 0;
  24.     padding: 4px; }
  25.  
  26. #nav a:link, #nav a:visited, #nav a:active {
  27.     color: #FFFFFF;
  28.     background-color: #3068B1;
  29.     text-decoration: none; }
  30.  
  31. #nav a:hover {
  32.     color: #23518E;
  33.     background-color: #CCCCCC;
  34.     text-decoration: none; }    
  35.  
  36. #nav a.top_parent {     
  37.         margin: 0;
  38.         padding: 7px 18px;
  39.         background: #3068B1 url('../interior/bkg_header.png') 0 0 repeat-x; 
  40.         text-align: center;
  41.         font-weight: bold; 
  42.         border-right: none; }
  43.  
  44. #nav a.top_parent:hover {
  45.     color: #FFFFFF;
  46.     background: none;
  47.     background-color: #3068B1; }    
  48.  
  49. #nav a.align { 
  50.     margin: 0; 
  51.     padding: 7px 18px;
  52.     background: #3068B1 url('../interior/bkg_header.png') 0 0 repeat-x; 
  53.     text-align: center;
  54.     font-weight: bold; 
  55.     border: none; 
  56.     border-bottom: 1px solid #23518E; }
  57.  
  58. #nav a.align:hover {
  59.     color: #FFFFFF;
  60.     background: none;
  61.     background-color: #3068B1;}
  62.  
  63. #nav ul {
  64.     list-style: none;
  65.     margin: 0;
  66.     padding: 0;
  67.     float: left;
  68.        width: auto; }
  69.  
  70. #nav li {
  71.     position: relative;
  72.     min-height: 1px; 
  73.     vertical-align: bottom; }
  74.  
  75. #nav ul ul {
  76.     position: absolute;
  77.     z-index: 500;
  78.     top: auto;
  79.     display: none;
  80.     padding: 1em;
  81.     margin: -1em 0 0 -1em; 
  82.     width: auto; }
  83.  
  84. div#nav li:hover {
  85.     cursor: pointer;
  86.     z-index: 100; }
  87.  
  88. div#nav li:hover ul ul,
  89. div#nav li li:hover ul ul,
  90. div#nav li li li:hover ul ul,
  91. div#nav li li li li:hover ul ul
  92. {display:none;}
  93.  
  94. div#nav li:hover ul,
  95. div#nav li li:hover ul,
  96. div#nav li li li:hover ul,
  97. div#nav li li li li:hover ul
  98. {display:block;}
  99.  
  100. <!--[if lt IE 7]>
  101. <style type="text/css" media="screen">
  102. #nav{float:none;}
  103. body{behavior:url(csshover.htc); font-size:100%;}
  104. #nav ul li{float:left; width: 100%;}
  105. #nav a{height:1%;font:normal 0.7em/1.4em arial, sans-serif;}
  106. </style>
  107. <![endif]-->
  108.  
  109.  
  110. <div id="nav-container" >
  111.  
  112. <div id="nav">
  113.  
  114. <ul><li><a href="http://www.honeymoonersreviewguide.com/index.php" class="align">Home</a></li></ul>
  115.  
  116. <ul><li><a href="http://www.honeymoonersreviewguide.com/planning/index.html" class="top_parent">Planning Tools</a>
    <ul><li><a href="http://www.honeymoonersreviewguide.com/planning/your-perfect-honeymoon.html">Your Perfect Honeymoon QUIZ</a></li><li><a href="http://www.honeymoonersreviewguide.com/planning/timeline.html">Planning Timeline</a></li><li><a href="http://www.honeymoonersreviewguide.com/planning/budget-ideas.html">Budget Ideas &amp; Worksheet</a></li><li><a href="http://www.honeymoonersreviewguide.com/contests/free-honeymoon.html">WIN a Free Honeymoon</a></li><li><a href="http://www.honeymoonersreviewguide.com/planning/honeymoon-registry-tips.html">Registry Tips</a></li></ul></li></ul>
    <ul><li><a href="http://www.honeymoonersreviewguide.com/destinations/index.html" class="top_parent">Destinations</a>
    <ul><li><a href="http://www.honeymoonersreviewguide.com/destinations/top-10-honeymoon-hotspots.html">Top Honeymoon Destinations</a></li><li><a href="http://www.honeymoonersreviewguide.com/africa/index.html">Africa</a></li><li><a href="http://www.honeymoonersreviewguide.com/asia/index.html">Asia</a></li><li><a href="http://www.honeymoonersreviewguide.com/canada/index.html">Canada</a></li><li><a href="http://www.honeymoonersreviewguide.com/destinations/adventure.html">Adventure Locations</a></li></ul></li></ul>
    <ul><li><a href="http://www.honeymoonersreviewguide.com/resorts/index.html" class="top_parent">Hotels</a>
    <ul><li><a href="http://www.honeymoonersreviewguide.com/search.php">Hotel Finder - SEARCH!</a></li><li><a href="http://www.honeymoonersreviewguide.com/resorts/all-inclusive-honeymoons.html">All-inclusive Honeymoon Resorts</a></li><li><a href="http://www.honeymoonersreviewguide.com/resorts/private-islands.html">Private Island Resorts</a></li><li><a href="http://www.honeymoonersreviewguide.com/resorts/vacation-rentals.html">Vacation Rentals</a></li><li><a href="http://www.honeymoonersreviewguide.com/resorts/romantic-room.html">Booking the Perfect Room</a></li></ul></li></ul>
    <ul><li><a href="http://www.honeymoonersreviewguide.com/resorts/packages.html" class="top_parent">Hot Packages</a></li></ul>
  117.  
  118. <ul><li><a href="http://www.honeymoonersreviewguide.com/travel-agents/index.html" class="top_parent">Book a Honeymoon</a></li></ul>
  119.  
  120. <ul><li><a href="http://www.honeymoonersreviewguide.com/cruises/index.html" class="top_parent">Cruises</a>
    <ul><li><a href="cruises/luxury-cruises.html">Luxury Cruise Honeymoons</a></li><li><a href="cruises/destination-weddings.html">Cruise Destination Weddings</a></li></ul></li></ul>
    <ul><li><a href="http://www.honeymoonersreviewguide.com/destination-weddings/index.html" class="top_parent">Destination Weddings</a>
    <ul><li><a href="destination-weddings/wedding-locations.html">Destination Wedding Locations </a></li><li><a href="destination-weddings/styles-ideas.html">Wedding Styles and Ideas</a></li><li><a href="destination-weddings/top-locations.html">Best Wedding Destinations</a></li><li><a href="destination-weddings/celebrity.html">Celebrity Destination Weddings</a></li></ul></li></ul>
    <ul><li><a href="http://www.honeymoonersreviewguide.com/search/search.php" class="top_parent">Search</a></li></ul>
  121.  
  122. </div>
  123. </div>
Oct 7 '08 #1
0 1257

Sign in to post your reply or Sign up for a free account.

Similar topics

0
2082
by: Jerome Lefebvre | last post by:
Hello, Hope this will interest a few. I been working with a friend on the problems given out during the "International Collegiate Programming Contest" (ICPC) http://icpc.baylor.edu/icpc/ . Started out just trying to find the solutions and then moving on, to "aggressively" trying to find the best solution for each problems. First started to...
14
2302
by: Jim Hubbard | last post by:
Are you up to speed on the difficulties in using the 1.1 .Net framework? Not if you are unaware of the 1,596 issues listed at KBAlertz (http://www.kbalertz.com/technology_3.aspx). If you are going to use .Net......I highly recommend signing up for the free KBAlertz newsletter at http://www.kbalertz.com/default.aspx. Looking at all of the...
1
3030
by: 3f | last post by:
Hello; We have made a web application that people can download from our web site and installed on: Windows XP Windows 2000 Professional Windows 2003 Server Windows 2000 Server
5
8784
by: Corky | last post by:
This works: db2 SELECT DISTINCT PROBLEM_OBJECTS.PROBLEM_ID FROM PROBLEM_OBJECTS INNER JOIN PROBLEMS ON PROBLEM_OBJECTS.PROBLEM_ID = PROBLEMS.PROBLEM_ID WHERE INTEGER(DAYS(CURRENT DATE) - DAYS(PROBLEMS.CLOSE_DATE)) = 365 AND PROBLEMS.CLOSE_DATE IS NOT NULL But this doesn't: db2 SELECT DISTINCT PROBLEM_OBJECTS.PROBLEM_ID FROM...
2
2313
by: Ellen Graves | last post by:
I am having a lot of problems with DB2 8.3.1 on RH Linux AS2.1. Installing and running stored procedures is problematic. Stored procedures I have used for years on V7 on WinNT are now failing multiple times/day. Data that exists in the db is not returned with a select *, but is returned when a where clause with a primary key value is...
19
3119
by: Jim | last post by:
I have spent the past few weeks designing a database for my company. The problem is I have started running into what I believe are stack overflow problems. There are two tab controls on the form (nested), three list views, one tree control with up to 30,000 nodes, maybe 15 comboboxes (half of which have a large recordset as rowsource), 20 or...
10
2389
by: BBFrost | last post by:
We just recently moved one of our major c# apps from VS Net 2002 to VS Net 2003. At first things were looking ok, now problems are starting to appear. So far ... (1) ComboBox.SelectedValue = db_value; If the db_value was not included in the ComboBox value list the ComboBox.SelectedIndex used to return -1, Now the very same code is
19
2961
by: Dales | last post by:
I have a custom control that builds what we refer to as "Formlets" around some content in a page. These are basically content "wrapper" sections that are tables that have a colored header and provide an open TD with a DIV in it for the content of this formlet. (The DIV is for DHTML to hide and show the content) I've created a web page...
2
3163
by: Brian | last post by:
NOTE ALSO POSTED IN microsoft.public.dotnet.framework.aspnet.buildingcontrols I have solved most of my Server Control Collection property issues. I wrote an HTML page that describes all of the problems that I have encountered to date and the solutions (if any) that I found....
0
2227
by: Sergistm | last post by:
Hello World, :D I have a problem that it is making me crazy, I hope you can help me. I'm trying to execute a .exe file with the Procces.Start, and there is no problem when the file is on my computer, the problem comes when the file is in a network drive. The most amazing thing is that in one computer I can execute my .Net program...
0
7612
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7922
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8119
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7668
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
6281
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5509
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3637
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2111
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1209
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.