/    Sign up×
Community /Pin to ProfileBookmark

firefox woes..no float and anchors not responding

hi everyone, got some css and its having firefox problems, I’ve set it up in ie6 and thought I’d try and fix it in other browsers when I’ve done it and the float:left isn’t working on the menu div-the main div is overlaying the menu div and also, in a bit of a shocker, the anchor tags are being ignored by the cursor!?!?
Is there anything jumping out at anyone??
styling and body to follow:

<style>
body, table, tr {font-family:arial ; font-size:8pt ;color:white}
#container {position:absolute ; left:15% ; width:700px ; border:#EC6099 solid 2px }
#header {position:relative ; width:680 ; height:120px ; }
#menu {position:relative ; float:left ; width:200px ;}
#main {position:relative ; padding:25px ;width:480px ;border:#EC6099 solid 1px ; margin:0px 10px 10px 10px}
#menu ul {text-decoration:none ; margin:0px ; padding:0px}
a {text-decoration:none ; color:#ECA4C2 ; }
a:hover {color:#EC6099}
#menu a { width:100% ; text-align:center}
#menu a:hover {color:white ;}
#menu li {width:180px ; border:#EC6099 solid 1px ; margin:0px 10px 5px 10px}
#title {position:relative ; left:190px ; top:30px}
</style>

<body background=http://www.sitewiz.co.uk/v2/sites/tan/template/backg.jpg>
<div id=container>
<div id=”header”><span id=title><img src=http://www.sitewiz.co.uk/v2/sites/tan/template/title.gif></span></div>
<div id=”menu”><ul><li id=page1.htm><a onmouseover=”document.getElementById(‘page1.htm’).style.borderColor=’white'” onmouseout=”document.getElementById(‘page1.htm’).style.borderColor=’#EC6099′” href=”page1.htm”>Home</a></li>
<li id=page2.htm><a onmouseover=”document.getElementById(‘page2.htm’).style.borderColor=’white'” onmouseout=”document.getElementById(‘page2.htm’).style.borderColor=’#EC6099′” href=”page2.htm”>Spray Booth</a></li>
<li id=page3.htm><a onmouseover=”document.getElementById(‘page3.htm’).style.borderColor=’white'” onmouseout=”document.getElementById(‘page3.htm’).style.borderColor=’#EC6099′” href=”page3.htm”>How It Works</a></li>
<li id=page5.htm><a onmouseover=”document.getElementById(‘page5.htm’).style.borderColor=’white'” onmouseout=”document.getElementById(‘page5.htm’).style.borderColor=’#EC6099′” href=”page5.htm”>Contact Page</a></li>
</ul></div>
<div id=main><!#SiteWiz#><P align=center><FONT color=#ec6099 size=5>The tanbox Spray Booth</FONT></P>
<P align=center>
<TABLE id=p cellSpacing=0 cellPadding=0 width=”100%” border=0>
<TBODY>
<TR>
<TD></TD>
<TD>
<P align=justify>The tanbox spray booth provides a beautiful golden tan without the harmful UV rays. The tanbox is one of the unique spray booths in that it offers customers with a clear solution. <BR><BR>Our test results found that using a bronzer effects the results of the tan and customers don’t like to see the majority of their tan washed down the drain along with their money.<BR><BR>The tan lasts up to seven days and is applied in seconds, and is available to purchase</P>
<P align=center><NULL><STRONG><FONT color=#ec6099 size=4>@ ONLY£4995 +VAT</FONT></STRONG></P></TD>
<TD>&nbsp;&nbsp;&nbsp; </TD>
<TD><IMG src=”http://www.sitewiz.co.uk/v2/sites/tan/images/thebox.gif”></TD>
<TD></TD></TR></TBODY></TABLE></P></div>
</div>
</body>

to post a comment
CSS

3 Comments(s)

Copy linkTweet thisAlerts:
@Ben_RogersOct 08.2004 — I don't have time to sift through that right now, but you should know that IE displays things wrong most of the time. You should build using a decent browser, such as Firefox, Mozilla, or Netscape. Then you can fix it for IE, since it will be working in most other browsers. Also, why are you using tables, with JavaScript, while using CSS?!? You could weed out most of those tables and JS in favor of CSS, you know.
Copy linkTweet thisAlerts:
@FangOct 08.2004 — In #main remove float:left;

In #menu ul remove text-decoration:none; and add list-style-type:none;
Copy linkTweet thisAlerts:
@stunewsauthorOct 11.2004 — yeah, I know IE's a problem child but its the people I work for, I'm trying to drag them kicking and screaming into the 21st century..its using perl scripts to dynamically load the menus and content you see..

So its applying float:left to the main div?? I'll have a look at this in the morning-cheers fellas
×

Success!

Help @stunews spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.21,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...