|
Posted by dorayme on 12/28/07 23:59
In article <slrnfnavhr.366.spamspam@bowser.marioworld>,
Ben C <spamspam@spam.eggs> wrote:
> On 2007-12-28, dorayme <doraymeRidThis@optusnet.com.au> wrote:
> [...]
> > I looked into these remarks of yours yesterday in another
> > connection and I think I learnt something. I was tinkering with
> > and advancing my little story telling project at
> > http://netweaver.com.au/floatHouse/
>
> One small inaccuracy or ambiguity there: you say 'there is a way to
> force inline (and other) materials to clear the bottom of floats: via
> the css instruction called "clear"'.
>
> Since CSS 2.1, you can only actually set clear on block-level things
> (although I think in CSS 2 you could set it on inlines). Maybe by "via"
> you meant the inlines go in another block-level element on which you've
> set clear, which is what the examples show, but perhaps it's not, er,
> clear.
>
> An exception is made for <br> which is display: inline and on which the
> clear property does work in browsers. Although technically a violation
> of CSS 2.1, it would be a bit strange to allow the HTML clear attribute
> but not the CSS clear property so I think that's why they do it.
Thanks. I was meaning the css clear on other block level
elements. But perhaps I better make this clearer when I next take
a look.
(Till not that long ago I was consulting my offline CSS 2 for
info till you pointed out in some thread that it is better to be
consulting the CSS 2.1. I have now forgotten all about 2!)
--
dorayme
Navigation:
[Reply to this message]
|