[EMAIL PROTECTED] wrote:
hi,
is there a quick way to fix the positioning difference between ie and firefox/safari WITHOUT doing lots of
html>body browser hacks?
R.
Some suggestions:
-Start with a stable cross-browser reliable layout. This is a good one.
<http://www.alistapart.com/articles/negativemargins> Add a containing
wrapper if you want it fixed width.
-Zero out: html, body {margin: 0: padding: 0; }, and all id's.
-Use lists that meet your browser support requirements:
<http://css.maxdesign.com.au/listamatic/browser-support.htm>.
-Apply these avoiding hack principles:
<http://css-discuss.incutio.com/?page=AvoidingHacks>
-Feed any un-avoidable hacks for Win/IE via condition anal comments [1].:
1. |<link rel="stylesheet" href="allbrowsers.css" type="text/css" />|
2. 3. |<!--[if lte IE 6]>|
4. |<link rel="stylesheet" href="iefix.css" type="text/css" />|
5. |<![endif]-->|
[1]<http://www.satzansatz.de/cssd/onhavinglayout.html>
HTH.
~dL
--
David Laakso
http://www.dlaakso.com
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/