CSS Navigation bar problem IN IE6

This is a discussion on "CSS Navigation bar problem IN IE6" within the Web Page Design section. This forum, and the thread "CSS Navigation bar problem IN IE6 are both part of the Design Your Website category.


 Subscribe in a reader

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

Notices




Reply
 
LinkBack Thread Tools
  #1  
Old Jan 7th, 2008, 14:14
Reputable Member
Join Date: Oct 2007
Location: UK
Posts: 266
Thanks: 0
Thanked 0 Times in 0 Posts
CSS Navigation bar problem IN IE6

Hey Everyone

Im having trouble with my navigation bar again. Could somebody please have a look at this site in mozilla and IE6........

http://www.design365.co.uk/sef/ybfuk/default.asp

As you'll see its fine in mozilla but i have big problems in ie6 such as the buttons starting to repeat and a gap between the long orange line and my flash movie.

Any help would be appreciated.

Danny

EDIT: The menu does not centralise in IE either, ive had to make do with padding-left: 30px; but i thought i could use div align center or margin: 0 auto but they didnt work

Last edited by danny322; Jan 7th, 2008 at 15:20.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

  #2  
Old Jan 7th, 2008, 16:10
Jack Franklin's Avatar
Moderator

SuperMember
Join Date: May 2007
Location: Cornwall, England
Posts: 1,405
Blog Entries: 8
Thanks: 18
Thanked 14 Times in 14 Posts
Re: CSS Navigation bar problem IN IE6

It does not align in IE7 either. Works fine, but does not align. Can I see the CSS please?
__________________
Jack Franklin - Webforumz Moderator
(x)HTML | CSS | PHP | MySQL | JQuery (Javascript)
Contact: My Blog | Twitter | Delicious
Want Lessons? PM me.
If you think I've helped, please press the 'Thanks' Button.
Last Blog Entry: A Week with VBulletin (Aug 28th, 2008)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old Jan 8th, 2008, 08:06
Reputable Member
Join Date: Oct 2007
Location: UK
Posts: 266
Thanks: 0
Thanked 0 Times in 0 Posts
Re: CSS Navigation bar problem IN IE6

have u got the web developer toolbar in mozilla? Theres an option to view the css on that
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old Jan 8th, 2008, 08:17
welshstew's Avatar
Site Admin

SuperMember
Join Date: May 2007
Location: inside the outside
Posts: 1,713
Blog Entries: 14
Thanks: 4
Thanked 33 Times in 31 Posts
Re: CSS Navigation bar problem IN IE6

Is the navigation meant to be to the left? It looks a bit weird, and I think it should line up in the center?

There are two ways you can fix this.

First is to use conditional style sheets for IE6
Code: Select all
<!--[if IE 6]>
Special instructions for IE 6 here
<![endif]-->
Then you would set the IE 6 specific attributes to make it look pretty within here.

The other way is to use CSS only recognised by mozilla et al to get around this.

i.e for your button heights you can use the following:
Code: Select all
ul#navigationbar li a {
height: 25px /* height for ie6*/
min-height:31px /*adjustment for mozilla & ie7 - not recognised by ie6*/
max-height:31px /*adjustment for mozilla & ie7 - not recognised by ie6*/
}
The first method is the cleaner, and what most people use.
__________________
WelshStew Site Admin
If you think I've helped, click the "Thanks"
tierney rides tboard - uk site | xtreme wales - extreme clothing
WebForumz - facebook | LinkedIn
Last Blog Entry: Phorm approved for UK rollout (Sep 17th, 2008)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5  
Old Jan 8th, 2008, 08:20
welshstew's Avatar
Site Admin

SuperMember
Join Date: May 2007
Location: inside the outside
Posts: 1,713
Blog Entries: 14
Thanks: 4
Thanked 33 Times in 31 Posts
Re: CSS Navigation bar problem IN IE6

check here for more on conditional style sheets
__________________
WelshStew Site Admin
If you think I've helped, click the "Thanks"
tierney rides tboard - uk site | xtreme wales - extreme clothing
WebForumz - facebook | LinkedIn
Last Blog Entry: Phorm approved for UK rollout (Sep 17th, 2008)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6  
Old Jan 8th, 2008, 09:58
Reputable Member
Join Date: Oct 2007
Location: UK
Posts: 266
Thanks: 0
Thanked 0 Times in 0 Posts
Re: CSS Navigation bar problem IN IE6

hey welshstew, ive now used a different method for my navigation bar if you could take a look. The problem im having now is i cannot put in any padding left, padding top etc to position the text because what happens is any padding affects the position of the image when i roll over it.

Any help would be appreciated, thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #7  
Old Jan 8th, 2008, 10:13
welshstew's Avatar
Site Admin

SuperMember
Join Date: May 2007
Location: inside the outside
Posts: 1,713
Blog Entries: 14
Thanks: 4
Thanked 33 Times in 31 Posts
Re: CSS Navigation bar problem IN IE6

on #main-nav ul li a change the padding from 0px to 5px and see what that does (works in FF)
__________________
WelshStew Site Admin
If you think I've helped, click the "Thanks"
tierney rides tboard - uk site | xtreme wales - extreme clothing
WebForumz - facebook | LinkedIn
Last Blog Entry: Phorm approved for UK rollout (Sep 17th, 2008)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #8  
Old Jan 8th, 2008, 10:18
Reputable Member
Join Date: Oct 2007
Location: UK
Posts: 266
Thanks: 0
Thanked 0 Times in 0 Posts
Re: CSS Navigation bar problem IN IE6

hey again welshstew, i changed that, it looked terrible in IE6 though :-( im not sure about ie7 because i dont have it on this comp. Any other suggestions? Thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #9  
Old Jan 8th, 2008, 10:26
welshstew's Avatar
Site Admin

SuperMember
Join Date: May 2007
Location: inside the outside
Posts: 1,713
Blog Entries: 14
Thanks: 4
Thanked 33 Times in 31 Posts
Re: CSS Navigation bar problem IN IE6

ok, change the padding back and try changing margin in #main-nav ul li a to 5px 0px 0px 0px

p.s. you are going to have fun with the 'hardwear loan' link...
__________________
WelshStew Site Admin
If you think I've helped, click the "Thanks"
tierney rides tboard - uk site | xtreme wales - extreme clothing
WebForumz - facebook | LinkedIn
Last Blog Entry: Phorm approved for UK rollout (Sep 17th, 2008)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #10  
Old Jan 8th, 2008, 10:29
welshstew's Avatar
Site Admin

SuperMember
Join Date: May 2007
Location: inside the outside
Posts: 1,713
Blog Entries: 14
Thanks: 4
Thanked 33 Times in 31 Posts
Re: CSS Navigation bar problem IN IE6

no wait, that seems to muck up your roll over. give me a sec
__________________
WelshStew Site Admin
If you think I've helped, click the "Thanks"
tierney rides tboard - uk site | xtreme wales - extreme clothing
WebForumz - facebook | LinkedIn
Last Blog Entry: Phorm approved for UK rollout (Sep 17th, 2008)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #11  
Old Jan 8th, 2008, 10:33
Reputable Member
Join Date: Oct 2007
Location: UK
Posts: 266
Thanks: 0
Thanked 0 Times in 0 Posts
Re: CSS Navigation bar problem IN IE6

yea thats my problem, ic an get the text positioning ok but its a problem when i rollover. And yea, i duno how im gonna get past the hardware loan problem lol
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

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
navigation menu problem bonnit Web Page Design 5 Apr 19th, 2008 09:51
Navigation problem with Safari cpando1974 Web Page Design 4 Oct 8th, 2007 15:45
Another IE Problem - Navigation Pádraig Web Page Design 8 Jun 23rd, 2007 22:43
navigation menu problem...? JETshipJUMBO JavaScript Forum 2 Jul 29th, 2006 19:18
(hopefully) simple navigation problem edd_jedi Web Page Design 3 Jul 26th, 2006 15:06


All times are GMT. The time now is 15:16.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization 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