CSS in FireFox
- Started
- Last post
- 10 Responses
- Trousermouse
Hello you CSS masters... I'm building a wee site, trying to use purely CSS. It's a tad tricky. Can anyone tell me how to fix these wonky bits so they display ok in Firefox?
http://www.rustybadge.com/DES_SI…
Check it in IE - that's how it SHOULD look.
Any help from you chaps is much appreciated...
- TheTick0
Well first off, if you're building a "wee" site, you'll have to use the Wee CSS Markup Language, but not the Wonky version, because that won't display right in certain browsers.
snark
- van_rijn0
program it in firefox instead of IE. then it should work in most browsers/platforms
- Clear0
your margins or padding are wrong..
I had a similar problem the other day.
Do you have the Web Developer's Toolkit for Firefox? it's rather helpful for this stuff.
- stewart0
it's totally wee in Firefox, Safari and IE.
- TheTick0
I agree. Total Wee.
- instantok0
ok...your markup has all sorts of problems...the biggest of which is UNCLOSED TAGS!:
every li element needs to be closed with /li
all anchors need to be closed with /a
--
you also are mixing up your methods of coding:
html should be either in all caps or all lowercase...right now it's inconsistent...
attributes should ALL have quotation marks around them as well
--
your css file has some inconsistencies as well:
all margin and padding setting set to 0 should have px after them
margin / padding should be set in the following order Top Right Bottom Left (think "trouble" to remember that)
----
start with fixing that stuff and then you can start worrying about making it cross browser/platform consistent
hope that helps
- Trousermouse0
Thanks for that! Loads of top tips all round...
- fusionpixel0
tips? its in the manual :-P
- Trousermouse0
Maybe you should re-read the manual then fusionpixel? Your website looks like that dog of yours built it.