Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 07-10-2012, 12:39 PM   PM User | #1
jarv
Banned

 
Join Date: Mar 2007
Posts: 1,523
Thanks: 116
Thanked 0 Times in 0 Posts
jarv can only hope to improve
Internet Explorer IE7 issues with menu navigation tabs

Hi,

On my website, I have recently added 2 new tabs which has forced the menu navigation to break down onto 2 lines in IE7 and 8,





website here

Please help?

Last edited by jarv; 07-10-2012 at 01:47 PM..
jarv is offline   Reply With Quote
Old 07-10-2012, 02:58 PM   PM User | #2
sunfighter
Senior Coder

 
Join Date: Jan 2011
Location: Missouri
Posts: 2,498
Thanks: 18
Thanked 361 Times in 360 Posts
sunfighter is on a distinguished road
wrong link
sunfighter is offline   Reply With Quote
Old 07-10-2012, 05:36 PM   PM User | #3
jarv
Banned

 
Join Date: Mar 2007
Posts: 1,523
Thanks: 116
Thanked 0 Times in 0 Posts
jarv can only hope to improve
http://www.marco.co.uk
jarv is offline   Reply With Quote
Old 07-10-2012, 07:01 PM   PM User | #4
sunfighter
Senior Coder

 
Join Date: Jan 2011
Location: Missouri
Posts: 2,498
Thanks: 18
Thanked 361 Times in 360 Posts
sunfighter is on a distinguished road
In css file http://www.marco.co.uk/css/global.css You have
Code:
#main nav ul {
	width: 74em;
}
which sets the width of the ul that contains all of your nav links. Under that you set the width of each link:
Code:
#main nav li {
	width: 10.2em;
}
To add two links you have to change the #main nav li width to 7.9ems;
sunfighter is offline   Reply With Quote
Old 07-11-2012, 02:18 PM   PM User | #5
jarv
Banned

 
Join Date: Mar 2007
Posts: 1,523
Thanks: 116
Thanked 0 Times in 0 Posts
jarv can only hope to improve
thanks, that worked although I'm a pixel out in IE7 and a pixel over in IE8

there is no way to determine the li:last-child in IE7?

thanks
jarv is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

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

Forum Jump


All times are GMT +1. The time now is 03:34 AM.


Advertisement
Log in to turn off these ads.