i've the following prob.:
i have a #inhalt
In this content, i want to place a #news with relative positioning.
The problem is, that the text displayed in #inhalt is covered by the #news, but i want the text to flow the #news.
Can you help me ?
If you need the whole css, say and i'll post it.
thank ya very much,
You could try either typing the text in the #news section, or give the #news div a lower z-index, such as -4 or something. Play around with it.
The position relative tells the div #news to not look at other divs exept its parent and place itself at a certain position. Offcourse it will cover #Inhal's content (read: text) because it isn't the parent. The div is it's parent not the text.
To achieve the effect you want i presume you mean it will float left or right. Just try to just float the #news box left or right. With a margin the text will nicely float around the #news div.
I hope i made it clear for you...
thx for ya answers, i'll try that tomorrow.
Does someboy of you know a good resource where css positioning is explained well ?
I've read some chapters in some books about it, but they weren't really helpfull to me.
Thank ya again,
Good CSS positioning resource
this can help you finding out more abouot positioning in CSS:
thank ya very much, really a good site!