Reply to Re: CSS Padding(Margin?) Issues in Firefox

Your name:

Reply:


Posted by Andy Dingley on 10/24/06 16:14

J.O. Aho wrote:
> Why not make two CSS files, one for Gecko based browsers and one for MSIE,

1. because it's a bad idea.

2. because it's pointless. IE isn't _that_ bad. If you can hit the
standard then not only is FF happy, but even IE will get nearly
everything right, so long as you use a suitable doctype to get it into
standards-based rendering mode. One stylesheet will fit all.

The only issues I know of where you can't do this are for the default
treatment of lists (just set everything (margin & padding) explicitly
for both). Also IE still have some font-sizing issues.

> a little bit of javascript that selects the right CSS based on the user-agent
> string.

That's _MUCH_ worse.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация