Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Helpwith menu problem; IE7
Old 01-31-2007, 12:57 PM Helpwith menu problem; IE7
Junior Talker

Posts: 4
Trades: 0
Hi I was wondering if you could help me. A friend of mine has this website and it works fine in Firefox etc but not in IE7. In IE7 the menu bar at the top goes vertical instead of horizontal, therefore it covers half the text. I'm stumped at what to do, so if any of you wizards out here could give us a hand it would be appreciated. The site is: www.purelymancity.com
manc_lad is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 01-31-2007, 01:44 PM Re: Helpwith menu problem; IE7
Tom_M's Avatar
Ultra Talker

Posts: 250
Name: Tom Maurer
Location: Pennslvania, USA
Trades: 0
Looks fine on IE 6, so I can't help you. I would do a google search for IE 7 css bugs.
Tom_M is offline
Reply With Quote
View Public Profile
 
Old 01-31-2007, 01:57 PM Re: Helpwith menu problem; IE7
Junior Talker

Posts: 4
Trades: 0
Yeah its fine with everything other than IE7...annoying. Any replies much appreciated.
manc_lad is offline
Reply With Quote
View Public Profile
 
Old 01-31-2007, 02:57 PM Re: Helpwith menu problem; IE7
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
The problem is you're using display:table !
Structuring your menu as a UL is correct. To get the LIST to be horizontal instead of vertical, put display:inline on your <LI>. Then dump the display:table and display:table-cell and control spacing with padding and margins on the <LI> items.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 01-31-2007, 03:24 PM Re: Helpwith menu problem; IE7
Junior Talker

Posts: 4
Trades: 0
My apologies but I'm totally lost at what you mean LadynRed, could you put that into more lamens terms, sorry to sound stupid! hehe
manc_lad is offline
Reply With Quote
View Public Profile
 
Old 01-31-2007, 03:28 PM Re: Helpwith menu problem; IE7
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
LAYman's terms ??
Here, try this List tutorial instead:
http://css.maxdesign.com.au/listutorial/index.htm
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 02-01-2007, 03:52 PM Re: Helpwith menu problem; IE7
Junior Talker

Posts: 4
Trades: 0
Thanks for the link LadynRed, still no joy though. Seriously confused over here.

This is part of the CSS code that I think is where the problem lies:

Code:
/* navigation
--------------------------------------------------*/
#navigation {
height:2.7em;
line-height:2.7em;
position: relative;
margin:0em auto;
z-index:20;
}
#navwrap {
display:table; /* ignored by IE */
padding:0;
list-style-type:none;
white-space:nowrap; /* keep text on one line */ }

* html #navwrap {
display:inline-block; /* for IE only */
width:1px; /* IE will expand to fit navigation width */ padding:0 2px; /* fix bug in IE for border spacing */ } #navwrap li { display:table-cell; /* ignored by IE */ }
* html #navwrap li {
display:inline; /* for IE only */
}
#navwrap a, #navwrap a:visited {
display:block; /* for all browsers except IE */ padding:0 .7em; font-size:0.8em; text-transform:uppercase; border-right:1px solid #ffffff; /* add a 1px white border to the right of items */ text-decoration:none;
margin-bottom: -1px;
}
* html #navwrap a, * html #navwrap a:visited { display:inline-block; /* for IE only */ margin:0 -2px; /* to correct an IE border width bug */ }

.lefted {margin:0 auto 0 0;}
.centered {margin:0 auto;}
.righted {margin:0 0 0 auto;}

}

* html #navigation a {width:1%;} /* see http://www.positioniseverything.net/explorer/escape-floats.html */

#navwrap {
text-align: center;
margin: 0em auto;
/*width:800px;
border-left: 1px solid #ffffff;
padding-left:20px;

the above pseudo centers the nav. not really cause the width is inaccurate*/
Tried changing that 'Display:table' to 'display:inline' but no joy. If you'd like LadynRed (and of course if you have the time) I could send you the whole CSS file and maybe you could have a look at it? Anyway, thanks for the help up to this point.
manc_lad is offline
Reply With Quote
View Public Profile
 
Old 02-01-2007, 07:51 PM Re: Helpwith menu problem; IE7
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
The *html hack WILL NOT work in IE 7, it's a plain as that. Most hacks used to put IE 6 and below in line will not work in IE 7. You are going to have to use conditional comments to target the lower versions and use a separate CSS file that contains ONLY those 'hacks' needed.

Except for some new bugs, IE 7 doesn't need those old hacks anyway. It appears to me that your list and your layout isn't structured correctly yet.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 02-02-2007, 12:32 PM Re: Helpwith menu problem; IE7
aldor's Avatar
Ultra Talker

Posts: 479
Name: Alan
Location: Lincoln(UK)
Trades: 0
For a comprehensive collection of menus together with tutorials have a look at http://www.cssplay.co.uk/menus/tutorial.html . You will also find lots of useful CSS related items here.
aldor is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Helpwith menu problem; IE7
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.32342 seconds with 12 queries