English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

i made a blogskin for myself and it worked fine in IE. but when i checked it in Firefox the whole layout screwed up.
- the tables aren't aligned to the header image unlike IE's view
- there are white borders around the table in FF even after applying cellspacing, cellpadding and border to 0 in IE
- the padding i applied to the tables doesn't show in FF due to the white spaces.

please help! :(

2007-12-03 16:47:13 · 2 answers · asked by Anonymous in Computers & Internet Programming & Design

2 answers

IE has screwed up the table alignment (especially IE7), together with font sizes (that also interferes with table autosize).
One way is to set the table sizes (

...)
The other is to use
, ie:
"";
(just an example).
THEN, check it with the four major browsers:
IE (6&7), Firefox, Opera, and Netscape.
Beware: if the contents does not fit in the
, some browsers will extend it to other divisions... Bit of a mess, but as long as ALL browsers DO NOT comply with the same W3C standard, there is nothing you can do, unless you are prepared to write a different code for each browser, ie:
detect browser,
if (IE) do this else if (Netscape) do that else if (....
Great fun!
Most of my codes have grown double in size, but I refuse to try to cope with more than these 4.
As to october 2007:
IE7: 21.0% users
IE6: 34.5% users
IE5: 1.5% users
Firefox: 36.0% users
Mozzilla:1.3% users
Safari:1.7% users
Opera:1.6% users
(source: w3 Consortium)
So, if your site works with IE and FF and not with the others, you only loose 4% of users... Who cares?
If my sites are being visited with a browser that is not compliant to these four, I show a message: "Your browser is NOT compliant to W3C standards and this site may not work properly. Upgrade or change for IE, FF, Opera or Netscape."

2007-12-03 19:20:09 · answer #1 · answered by just "JR" 7 · 0 0

The best thing to do is to design the site in firefox. It should then work right in IE aswell. If not, anyone who uses ie should be made to see a link that says: Get firefox to use this website!

2007-12-04 00:51:40 · answer #2 · answered by advrts_4_3 2 · 0 0

fedest.com, questions and answers