Hi,
since all my divs are absolute I just declare this css:
div {
position:absolute;
}
But its not working. Seems as this does not do anything. All
of my divs behave as if no specific position behavior has been specified.
Why is that?
Best regards,
Axel Siebenwirth
Axel Siebenwirth wrote:
> since all my divs are absolute I just declare this css:
>
> div {
> position:absolute;
> }
Not generally a good idea.
> But its not working. Seems as this does not do anything.
Given that you haven't (at least as far as you have said) specified left,
right, top or bottom properties, then I wouldn't expect any visible result.
--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
Axel Siebenwirth wrote:
>
> since all my divs are absolute I just declare this css:
>
> div { position:absolute; }
>
> But its not working. Seems as this does not do anything. All
> of my divs behave as if no specific position behavior has been specified.
>
You must position the div using top, left, bottom, right. Otherwise it
is absolutely positioned wherever it occurs in the flow.
--
jmm dash list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)
Axel Siebenwirth a écrit :
> Hi,
>
> since all my divs are absolute I just declare this css:
>
> div {
> position:absolute;
> }
>
> But its not working. Seems as this does not do anything.
Well, in absence of any specified top, left, bottom, right values, the
default are applied. So, top is auto and left is auto
All
> of my divs behave as if no specific position behavior has been specified.
>
> Why is that?
The divs are absolutely positioned and they all behave according to the
specific position you've given these: auto.
Gérard
--
remove blah to email me