Ischa Gast wrote:
>> It's the 3px jog alright, and here's an alternative fix for it:
>> div.sidebar {margin-right: -200px;} ... this *too large negative
>> backside margin on floats* will 'remove' the entire sidebar, so
>> IE/win can't 'see it' anymore. Thus the 3px jog is fixed.
> WoW that's a great trick! It really works, I don't know how other
> browsers react but I think I looks great everywhere.
Opera, Moz/FF and Safari will do just fine.
There are cases where this method doesn't work - alone, since 'removed
floats' acts a bit like absolute positioned elements, but there
shouldn't be a problem with it in your page-layout.
> Where did you find this tric?
Not sure, but I think this 'IE-jog trick' is mine. ;-)
I've used it since late 2003.
> Maybe there are some more interesting tricks over there I could use?
Maybe... :-)
Some float-demos with description:
http://www.gunlaug.no/contents/wd_1_02_02.html
http://www.gunlaug.no/contents/wd_1_02_03.html
http://www.gunlaug.no/contents/wd_1_02_04.html
.... and the right-side nav leads to more stuff for 'web-carpenters'.
Removed floats in action:
http://www.gunlaug.no/contents/molly_1_06.html
.... never mind the subject. ;-)
BTW: all pages in that section are based on the same bunch of
float-tricks. I haven't written much about it there yet though.
The basics for negative margins on floats can be found here:
http://www.alistapart.com/articles/negativemargins/
.... which all web-designers should know 'inside/out'.
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/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/