View Full Version : CSS + IE7 + FF = Confused
feenix
June 22nd, 2006, 09:35 AM
I've been working on a css website. This is the first one i have ever done using solid css and it hasnt turned out too bad to be honest. My only concern is the fact that it displays perfectly in IE7 but poorly in Firefox. In FF the right menu is right at the bottom of the page, the menu buttons arnt in the right place and the list items in the right menu are off as well. can any shed some light into this for me.
http://www.jackboxwebdesign.co.uk/stu/rhwd/
many thanks in advance
simplistik
June 22nd, 2006, 11:23 AM
Well... you should just be able to enlarge the size of your content box or reduce the width of your nav and things will work fine. Because of things like padding and what not it gets all cooky.
But also... you might want to look at "clearfix" which clears floating "properly" do a google search on it and then right after your nav put
<div class="clearfix"></div>
LJK
June 22nd, 2006, 12:08 PM
Hi -
No, it's so much simpler then that!
You've forgotton to enclose your lists with
<ul> & </ul> tags...
Remember the rule of thumb:
Code for Firefox; Tweak for IE
;-)
Good luck,
El
simplistik
June 22nd, 2006, 01:19 PM
Hi -
No, it's so much simpler then that!
You've forgotton to enclose your lists with
<ul> & </ul> tags...
Remember the rule of thumb:
Code for Firefox; Tweak for IE
;-)
Good luck,
El
Hahaha... good point, didn't bother to look at the code.
But now that I did... you have your "archives" list just as <li></li> over and over... you need to enclose thouse in a <ul></ul> as well
feenix
June 22nd, 2006, 01:31 PM
thanks for your replies. i downloaded a program called css vista and that let me view the css code, the page in ie and also in firefox all at the same time. after running through the code i removed some un-needed things. one of the boxes was set to clear all which when i removed made the right menu box move where it should. i also removed a margin of 15 pixles which made no difference ie but made the top menu out of place in ff. now ill get to sorting the list items in the right hand pane.
thanks for your help.
what do you think of it by the way. i wouldnt mind some critasism good or bad on the way it looks/colour schemes improvements etc..
feenix
June 22nd, 2006, 01:50 PM
just done it and its perfect now!!! thx
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.