css navigation bar trouble

This is a discussion on "css navigation bar trouble" within the Web Page Design section. This forum, and the thread "css navigation bar trouble 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 Nov 28th, 2007, 08:27
Reputable Member
Join Date: Oct 2007
Location: UK
Posts: 266
Thanks: 0
Thanked 0 Times in 0 Posts
css navigation bar trouble

Hey.

Could someone have a look at my navigation bar....

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

It looks fine in ie but horrible in mozilla
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 Nov 28th, 2007, 08:43
welshstew's Avatar
Site Admin

SuperMember
Join Date: May 2007
Location: inside the outside
Posts: 1,691
Blog Entries: 14
Thanks: 3
Thanked 32 Times in 30 Posts
Re: css navigation bar trouble

ohhhh, personally I would design for FF and then take a look in IE.

Your button height is set at 23px, but the actual button seems to be 31px.

Try adding a min-height:31px; and min-width:110px; to ul#navigationbar li a and see if that helps
__________________
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
  #3  
Old Nov 28th, 2007, 09:57
Reputable Member
Join Date: Oct 2007
Location: UK
Posts: 266
Thanks: 0
Thanked 0 Times in 0 Posts
Re: css navigation bar trouble

Hi

Changed the height to 31px, didnt know y the hell it was 23px in the first place! Changing the width messed the menu up in IE unfortunately.

Karninne helped me with this menu last week and it was fine until i implemented it in the ecommerce program using vpasp and now its having issues in mozilla. Any other suggestions?

P.S Karinne if you can help that would be great because you always seem to get my stuff working 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
  #4  
Old Nov 28th, 2007, 22:51
Highly Reputable Member
Join Date: Sep 2007
Age: 15
Posts: 717
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Re: css navigation bar trouble

Well, I believe this is the css for your navigation bar:
Code: Select all
ul#navigationbar {
padding-top: 0px;
padding-left: 30px;
margin:0 auto;
list-style:none;
}
Add what I highlighted in red. Then, the div that the nav is in:
Code: Select all
#banner_middle{
height: 31px;
background-image: url(../images/sef/banner_middle.gif);
background-repeat: repeat-x;
margin:0 auto;
text-align:center;
}
Again, add what is in red. That might do it...

Cheers
Last Blog Entry: Windows Vista vs. Mac Leopard (Nov 4th, 2007)
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 Dec 3rd, 2007, 13:59
Reputable Member
Join Date: Oct 2007
Location: UK
Posts: 266
Thanks: 0
Thanked 0 Times in 0 Posts
Re: css navigation bar trouble

hmm, thanks for having a go swagner, but it only moved the actual text and not the images
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 Dec 4th, 2007, 11:51
Highly Reputable Member
Join Date: Sep 2007
Age: 15
Posts: 717
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Re: css navigation bar trouble

OK. Try adding the following to your nav bar css:
Code: Select all
background-position: center;
That could do it. You have a lot of weird css, and there might be some little thing that's screwing the rest up...
Last Blog Entry: Windows Vista vs. Mac Leopard (Nov 4th, 2007)
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 Dec 17th, 2007, 10:51
Reputable Member
Join Date: Oct 2007
Location: UK
Posts: 266
Thanks: 0
Thanked 0 Times in 0 Posts
Re: css navigation bar trouble

eugh im still having problems in firefox im really puzzled now lol. Any other suggestions anyone?

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
  #8  
Old Dec 17th, 2007, 14:47
Most Reputable Member
Join Date: May 2007
Location: UK
Age: 27
Posts: 1,111
Thanks: 0
Thanked 0 Times in 0 Posts
Re: css navigation bar trouble

Time for my "stuck record" impression again...

You have invalid HTML and invalid CSS. Fix them both before you go any deeper into bug-hunting.

Always do this; it's an important discipline for fixing problems efficiently. You'd be amazed how many problems simply disappear once you validated your code.
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
[SOLVED] navigation bar trouble danny322 Web Page Design 5 Nov 13th, 2007 02:25
Having trouble with PHP voodoo465 PHP Forum 5 Feb 20th, 2007 21:47
CGI Trouble Maverick25r Other Programming Languages 0 Jul 31st, 2006 18:24
Trouble Downloading PHP Coty Skaj PHP Forum 3 May 18th, 2006 01:35
trouble with positioning wood1e Web Page Design 7 Jul 21st, 2005 13:31


All times are GMT. The time now is 11:02.


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