browser issues with my menu

This is a discussion on "browser issues with my menu" within the Web Page Design section. This forum, and the thread "browser issues with my menu 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 5th, 2007, 11:18
Reputable Member
Join Date: Oct 2007
Location: UK
Posts: 266
Thanks: 0
Thanked 0 Times in 0 Posts
browser issues with my menu

Hi everyone, could someone have a look at my site......

http://www.design365.co.uk/sef/homepage.htm

its fine in ie but if you have a look in mozilla its totally different. Heres my code

HTML
Quote:
<div id="top_menu">
<div class="buttonscontainer">
<div class="buttons">
<a href="#">Home</a>
<a href="#">News</a>
<a href="#">Members</a>
<a href="#">Contact</a>
<a href="#">Forum</a>
<a href="#">About</a>
</div>
</div>
</div>
CSS
Quote:
#top_menu{
position: absolute;
top: 60px;
left: 119px;
width: 768px;
height: 24px;
z-index: 1;
visibility: visible;
background-repeat: no-repeat;
}
.buttonscontainer {
width: 700px;
}
.buttons a {
color: #FFFFFF;
background: url(images/btn.gif) 0 0 no-repeat;
padding: 8px;
padding-left: 27px;
display: inline;
font: x-small Arial, sans-serif;
font-weight: bold;
text-decoration: none;
text-align: left;
width: 105px;
height: 31px;
}
.buttons a:hover {
color: #FFFFFF;
text-decoration: none;
background: url(images/over_btn.gif) 0 0 no-repeat;
}
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 5th, 2007, 11:29
Elite Veteran
Join Date: Sep 2006
Location: Pink House
Posts: 3,946
Thanks: 0
Thanked 0 Times in 0 Posts
Re: browser issues with my menu

First of all it is appreciated if you do not double post.
Did you read the answer I gave you to your last question about using ul's and li's.

You should always design for Firefox first and then fix it if necessary for IE.

You are using x-small font in Arial so it's actually rendering perfectly in Firefox.
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 5th, 2007, 11:40
Reputable Member
Join Date: Oct 2007
Location: UK
Posts: 266
Thanks: 0
Thanked 0 Times in 0 Posts
Re: browser issues with my menu

Lchad, if you noticed its a different problem im having to my previous thread, if u notice that in firefox the buttons are higher up the page which looks awful i need them to rest on the orange line like in IE. <ul> wont solve this im very sure
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 5th, 2007, 11:58
Highly Reputable Member
Join Date: Jul 2006
Location: Devon, England
Posts: 565
Thanks: 0
Thanked 0 Times in 0 Posts
Re: browser issues with my menu

Like Linda said if you put them in a list and you float left the </li> they will all align like you want

HTML: Select all
 			 				<div id="top_menu"> 
<div class="buttonscontainer">
<ul>
<li><a href="#">Home</a></li>
<li><a href="#">News</a></li>
<li><a href="#">Members</a></li>
<li><a href="#">Contact</a></li>
<li><a href="#">Forum</a></li>
<li><a href="#">About</a></li>
</ul>
</div>
</div>
and in the css use something like

Code: Select all
ul li {
    float:left;
    /* and any other properties such as margins */
}
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 Nov 5th, 2007, 12:39
Elite Veteran
Join Date: Jan 2007
Location: You know where
Age: 31
Posts: 4,617
Thanks: 0
Thanked 0 Times in 0 Posts
Re: browser issues with my menu

What's with the z-index: 1, visibility: visible; and position: absolute; in your #top_menu?!?!

In all my years of doing web, I have never needed to use any of those for a menu.

Go to the link Lchad gave you in the other thread and have a look at how menus should be done. AdRock gave you a great example above.
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 Nov 5th, 2007, 14:52
Reputable Member
Join Date: Oct 2007
Location: UK
Posts: 266
Thanks: 0
Thanked 0 Times in 0 Posts
Re: browser issues with my menu

AdRock what other properties do i need to include apart from float: left; because ive tried a few margin adjustments etc and no improvement
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 Nov 5th, 2007, 15:06
Marc's Avatar
Staff Manager

SuperMember
Join Date: Apr 2007
Location: Scotland, UK
Posts: 1,780
Thanks: 0
Thanked 16 Times in 16 Posts
Re: browser issues with my menu

I don't see any difference between IE 6 and FF 2 - except the font is bigger in IE. Have you fixed this issue?
__________________
Marc
Staff Manager - Webforumz.com


Want to be a moderator? PM me.
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 Nov 6th, 2007, 09:12
Reputable Member
Join Date: Oct 2007
Location: UK
Posts: 266
Thanks: 0
Thanked 0 Times in 0 Posts
Re: browser issues with my menu

Still havnt fixed the issue the menu is still not resting on the orange line, i even have the orange line in a seperate div etc. I dont really understand the 'float' attribute.

Does anybody have any advice or good css menu code which uses to seperate images and no java?
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 Nov 6th, 2007, 10:49
Highly Reputable Member
Join Date: Jul 2006
Location: Devon, England
Posts: 565
Thanks: 0
Thanked 0 Times in 0 Posts
Re: browser issues with my menu

Have you looked at cssplay?

There are loads of menus which you can use for free and they are all css based
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 Nov 6th, 2007, 17:46
Aso's Avatar
Aso Aso is offline
Moderator

SuperMember
Join Date: Oct 2007
Location: UK
Posts: 1,341
Blog Entries: 2
Thanks: 11
Thanked 49 Times in 46 Posts
Re: browser issues with my menu

Danny, try replacing your .rollover a styles with this:

Code: Select all
.rollover a {
float: left;
width: 105px;
height: 31px;
text-align: center;
padding: 8px 0 12px 5px;
font: bold 13px sans-serif;;
color: #FFFFFF;
margin-right: 15px;
background: url("images/btn.gif") 0 0 no-repeat;
text-decoration: none;
}
I should also mention that IE6 requires a content download before you can fully view your page - try placing your flash using swfobject (documentation and script at deconcept)

HTH

Alex
Last Blog Entry: The Google Misconception (Feb 3rd, 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
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
Browser compatibility issues Craigj1303 Web Page Design 3 Feb 4th, 2008 09:28
height: 100% Browser issues - okay in IE not in FF or Opera mmgrad Web Page Design 3 Oct 27th, 2007 11:24
cross browser issues planescape Web Page Design 4 Aug 29th, 2007 21:16
Browser issues with css tobymather Web Page Design 9 Apr 18th, 2007 17:19
Cross Browser issues. Destx Web Page Design 5 Mar 26th, 2007 18:56


All times are GMT. The time now is 00:22.


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