Hello,
CSS21 Spec points the following out (9.4.1):
<citation>
In a block formatting context, each box's left outer edge touches the left
edge of the containing block (for right-to-left formatting, right edges
touch).
</citation>
I understand that if there are nested div-elements they will have the same
left edge.
But what, if I want the inner div to be right shifted 10 px?
- padding (outer div)
- margin-left (inner div)
- position:relati v in combination with left (innder div)
all that does not work.
Any ideas?
Best regards,
Oliver
CSS21 Spec points the following out (9.4.1):
<citation>
In a block formatting context, each box's left outer edge touches the left
edge of the containing block (for right-to-left formatting, right edges
touch).
</citation>
I understand that if there are nested div-elements they will have the same
left edge.
But what, if I want the inner div to be right shifted 10 px?
- padding (outer div)
- margin-left (inner div)
- position:relati v in combination with left (innder div)
all that does not work.
Any ideas?
Best regards,
Oliver
Comment