On 3 Jan, 22:49, Gus Richter <gusrich...@netscape.net> wrote:
> On 1/3/2010 3:21 PM, dorayme wrote:
[...]
> Here's my text from the other article which you may not see properly
> after your sig and which responded to the OP rather than to you. Please
> run the example as I provided.
> ~~~~~~~~~~
>
> Sorry about the "Edit Message as New", but I wanted your markup
> unaltered but with his original, plus my addition - all included. I hope
> it works in your (broken?) news reader.
>
> You correctly pointed out that the floats were superfluous in his
> example, however, note that with my addition I demonstrate its usage if
> the float were to be repositioned anywhere from its only two normal
> float states (left and right).
>
> This also gives the answer/corrects another thread in CIWAS (My VALID
> page:....) wherein GTalbot states "Float and position should never go
> together" and Ben C responds with "Why not?" - GTalbot has not answered
> so far.
If the answer is that an float is superfluous with e.g. position:
relative, then the answer/correction is wrong. If you want an element
to act like a floated element, but need to change the position up,
down, left or right; then you need both eg. 'float: left' and
'position: relative' .
"It [the float property] may be set for any element, but only applies
to elements that generate boxes that are not absolutely positioned."
http://www.w3.org/TR/CSS2/visuren.html#propdef-float