Previous Message
Next Message

Making hacks work

Sent by Gunlaug_Sørtun on 7 September 2008 02:02


Jody Levinson wrote:
>>> Is there a beginner's guide that tells you step by step what to 
>>> put where?

Generally: especially beginners should avoid hacking browsers whenever
possible.
In most cases hacking is a completely unnecessary exercise,
and one should at least not attempt to hack any browser until all
regular styling-attempts have failed.

In your case it's a case of differences in browser defaults, which will
be remedied as soon as they get a complete set of style-rules so they
all know where to put things.

>>> <http://www.atlas-inspection.com/newsite/template3.html>

Add the following _positions_ to complete the styles...

..nav ul{
top: 100%;
left: 0;
}

....and Firefox and IE7 will agree on where to place those dropdowns -
100% down from the top (equals the bottom of each nav-link), and left.
That'll give a nice line-up that won't be affected by font-resizing or
other stress-factors applied at the user-end.


IE6 will need hacks and workarounds for that horizontal nav, but you
should get the more capable browser-versions in line first.

regards
	Georg
-- 
http://www.gunlaug.no
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread: