Ischa Gast wrote:
> Styleing the <p> element is not an option because there is not always
>  a <p> element in de HTML.

Well, any element will do, and styling can be applied by using the
universal selector to target any element(s) inside the container.
The offset float only need a higher-specificity selector-chain to
prevent it being caught by the universal-selector styling, which it will
get automatically in nearly all cases since the universal selector has
the lowest specificity.

> Strange that no one ever mentioned this bug and that it can't be 
> fixed on a normal way.

Probably because we who deal with these things quite often, tend to
avoid such problems by utilizing both markup and CSS from the start.
That is: we design using the combination of elements and styles that we
know works, without thinking twice about it...

<http://www.gunlaug.no/contents/wd_example_01_01.html>
<http://www.gunlaug.no/contents/wd_example_01_02.html>

One can always create layouts that make browser-bugs and/or weaknesses
surface, but if we should document every instance and every possible
solution, then there probably wouldn't be much time left to create
working designs and do other meaningful work.
Consequently, it often makes most sense to wait until someone run into
specific problems and ask for help - like you now.

regards
        Georg
-- 
http://www.gunlaug.no
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
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/

Reply via email to