If you view my website in Internet. (www.thatcake.net)
Its a complete mess.
But, if you view it in Firefox, it’s in pretty neat condition.
What do I need to do in order to make my website compatible with more or both of these browsers?
Share and Enjoy:
These icons link to social bookmarking sites where readers can share and discover new web pages.
Hi buddy,
well iv seen ur code and it’s because u haven’t mentioned any DTD or doctype declaration it should be the very first thing in an HTML document, before the tag.
The doctype declaration is not an HTML tag; it is an instruction to the web browser about what version of the markup language the page is written in.
The doctype declaration refers to a Document Type Definition (DTD). The DTD specifies the rules for the markup language, so that the browsers can render the content correctly.
for ur further references plz visit the following URL’s
to know about doctypes visite:
Recommended DTDs to use in your Web document as per W3C
Cheers !!!
Separate style sheets are always useful. Search on how to do it. Hacks are possible, I use them sometimes.
I assume you have problems with widths and things. Ie includes padding’s and margins into its width whereas firefox adds them on.
If you don’t want to use separate style sheets consider doing something like this:
#yourdiv {
width:480px;
*width:500px;
padding:10px;
}
As you can see we have placed a * in front of one the widths. Internet explorer reads past the star whereas firefox doesnt. Ensure that the starred one is after the one without otherwise it will just reset.
I cannot view the site because I am at school and it’s banned for some reason however, this is a common problem. Hope this helps!