Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

 

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
New Webmasters ask "How-To" questions here. This is where other fucking Webmasters help.

 
Thread Tools
Old 06-28-2007, 03:44 AM   #1
Goodings Media
Confirmed User
 
Goodings Media's Avatar
 
Join Date: Apr 2007
Location: UK
Posts: 1,987
IE fix for tabbed nav menu?

Hiya, sorry to ask this here but I've done a bit of searching and can't figure out why Windows IE is screwing up my top nav menu.

The relevant CSS
Code:
ul.topnav {
    height:30px;
	list-style:none;
	margin:0px;
	padding:0px;
	display:block;
	width:600px;
	margin:0 auto;
}

ul.topnav li {
	float:left;
	margin:0 1px 0 0;
	background: #EEEEEE url(images/tab.png);
}

ul.topnav a {
	background-image: url(images/tab.png);
    color:#FFFFFF;
    display: block;
    float: left;
    height: 30px;
    padding-left: 20px;
    text-decoration: none;
}

ul.topnav a:hover {
	background-position: 0 -30px;
	color:#222222;
}

ul.topnav a:hover span {
	background-position:100% -30px;
}

ul.topnav span {
	background-image: url(images/tab.png);
	background-position:100% 0;
    display: block;
    height: 20px;
    padding-right: 20px;
	padding-top:10px;
}
the HTML

Code:
<div>
<ul class="topnav">
	<li><a href="index.php" title="Home"><span>Home</span></a></li>
	<li><a href="index.php?cmd=2" title="Submit Your Pictures And Get Rated!"><span>Submit Pictures</span></a></li>
	<li><a href="index.php?cmd=10&amp;ty=1" title="Latest Nude Pictures For You To Rate!"><span>Latest Pics</span></a></li>
	<li><a href="index.php?cmd=10&amp;ty=2" title="Top 10 Pictures As Voted By You Guys!"><span>Top 10</span></a></li>
	<li><a href="index.php?cmd=10&amp;ty=3" title="Top Rated Guys"><span>Top Guys</span></a></li>
	<li><a href="index.php?cmd=10&amp;ty=4" title="Top Rated Girls"><span>Top Girls</span></a></li>
</ul>
</div>
I think it's got something to do with the fact Im using

display: block;
float:left;

instead of

display:inline;

But I don't know any other way to do it? Anyone got a hack for IE? works in FF and safari OSX, and FF Windows.

Thanks
__________________
ICQ: 446-568-913 Email: liam||goodingsmedia.com msn: [email protected]
Goodings Media is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 06-28-2007, 03:46 AM   #2
Goodings Media
Confirmed User
 
Goodings Media's Avatar
 
Join Date: Apr 2007
Location: UK
Posts: 1,987
oh yeah oops, the URL = http://www.ratemenude.info
__________________
ICQ: 446-568-913 Email: liam||goodingsmedia.com msn: [email protected]
Goodings Media is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 06-28-2007, 04:13 AM   #3
Goodings Media
Confirmed User
 
Goodings Media's Avatar
 
Join Date: Apr 2007
Location: UK
Posts: 1,987
thinks I sorted it, managed to find a work around to use "display:inline;" along with padding top and bottom instead of "display:block;" with a fixed height

IE seems to like that better
__________________
ICQ: 446-568-913 Email: liam||goodingsmedia.com msn: [email protected]
Goodings Media is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 06-28-2007, 06:09 AM   #4
PinPine
Confirmed User
 
Join Date: Mar 2007
Posts: 385
Btw, your rating box on the right is in IE fucked up, think a margin problem.

Maybe a usefull tip: some times it shows right in explorer but not in firefox. You than can solve problems with a _ in front of the css line, which will be read by explorer but not by firefox

e.g.

margin-left: 10px;
_margin-left: 15px;

This will result in 15px for explorer and 10 px for firefox
__________________
ICQ: 490974172
Looking for hardlink trades: www.solidteens.com/linkex/
PinPine is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 06-28-2007, 11:14 AM   #5
Subtle
Confirmed User
 
Join Date: Jun 2007
Posts: 2,005
Great!! Solved on your own!!
__________________

----- Blog Themes for $49 -----
------ INSTANT DELIVERY ------
Subtle is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 07-27-2007, 10:40 PM   #6
omega5081
Registered User
 
Join Date: Jul 2007
Posts: 15
ie still isnt cool
omega5081 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
 
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.