|
Thanks for that tip!
I use Transitional because Strict wont allow me to even add my own HTML code to fix something. Ie. say I have some text, and its not worth putting in CSS... So I have:
<p align="center">
That is an error in Strict...
Can I use Style="" In strict?
I cant even set the language of a "Script" Eg: <script language="_javascript_">
its very confusing... transitional requires those things... but strict doesn’t... and it also wants some other weird things!
Back to my website though… I worked out that the buttons are not the problem! Their widths are exactly the same! In mozilla and Internet explorer… It’s the DIV frame behind it that’s not the same… It must be the PADDING and MARGIN difference!!! I just realized… I didn’t use them both when I made the DIV boxes… J
thanks everyone for the help!
www.neester.com/index2.php <-- my CSS masterpiece in progress :D Hehehe
------------------------ • Chris Stratford • [EMAIL PROTECTED] • http://www.neester.com ------------------------
-----Original
Message-----
Hey Chris,
It seems to me that there aren't that many differences in the two sites (Mozilla Firebird and IE 6). However there is one key issue here:
The DOCTYPE. You've currently specified HTML 4.01 Transitional (and it's technically invalid, since you didn't specify a DTD address). The doctype forces IE and Mozilla into "quirks" mode (which means they emulate "old-school" browser behaviour.. ala IE 5.0, Netscape 4.7 etc., which is, of course, a BAD thing). I think you'll find you'll get better results from both browsers if you specify 4.01 strict.
http://www.w3.org/TR/html401/struct/global.html#h-7.2
That's a good place to start.
Another (perhaps better) place to look is at A List Apart, specifically the following URL:
http://www.alistapart.com/articles/doctype/
The article is entitled: "Fixing Your Site With The Right Doctype".
This should solve some of your issues, because it'll (likely) ensure that IE 6.0 and Mozilla are doing the same thing with your code (there'll be some issues, but far, FAR less).
On a side note, I suggest you build and test your work in Mozilla first, as it's a FAR more compliant browser, and in my opinion it's generally better to aim high and then pare your work back as needed. With a correct Doctype Mozilla is also far less forgiving, so you'll learn faster, too. :)
Good Luck!
Bradley Wright
Chris Stratford wrote:
> Hey People, > > I have had some issues with my website > > Ok, I thought that if I used CSS then it would be more compatible in > other browsers > > Check this out: > > www.neester.com/index2.php <http://www.neester.com/index2.php> > > it looks terrible in Mozilla perfect in IE, I havent tested any > others, and I cant use BrowserCam anymore because I have used all my > email addresses already. > > Can someone please tell me why this isnt working the way I hoped > > I thought CSS was meant to help cross browser display by making CSS a > standard thing > > But it seems that either IE or Mozilla are not following standards > probably IE it took me about 4 hours of reading up on CSS and I > finally got that website working fine > > I love the look (I know its bland at the moment, but the contents will > brighten it up a little I like the steel look) > > If anyone has any tips, please shoot me with them, I need some right now. > > Thanks! > > Cheers! > > ------------------------ > > *Chris Stratford* > [EMAIL PROTECTED] > www.neester.com <http://www.neester.com> > > ------------------------ >
***************************************************** The discussion list for http://webstandardsgroup.org/ *****************************************************
|
- [WSG] Browser Test Chris Stratford
- Re: [WSG] Browser Test Bradley Wright
- RE: [WSG] Browser Test Chris Stratford
- RE: [WSG] Browser Test Veine K Vikberg
- RE: [WSG] Browser Test Mark Stanton
