HighDots Forums  

floating but in document flow

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss floating but in document flow in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Manno Bult
 
Posts: n/a

Default floating but in document flow - 07-10-2003 , 08:56 AM







Hi all,

I have a problem with absolute positioning a div in a div which is
positioned with the 'float' attribute.
Maybe a very trivial one, but I can't find the solution anymore.

The thing is:
* design 'required' a semi-opaque background for a div
* to not let the contents of the div go semi-opaque too, i added a
absolute positioned div in the container with position at 0,0 and
width,height at 100%

like:
<div id="floatedleft">
<div id="trans"></div>
... content ...
</div>

Some of the containing div's however are floated left to create columns.
This means that the div providing the alpha positions itself at 0, 0 of
the parent of the container instead of it's own parent.

In msie it does size to it's parent's size.
in netscape it sizes to it's parent's parent size.

Basically I need to create columns (the number of which is defined by
the width of a wrapper) of a generated amout of div's. but can't seem to
figure out how to get it done with the absolute-positioned child of the
column item.

Anyone any bright ideas?

-----------------
Quote:
--- --- --- |
| | | | | | |
--- --- --- |
--- --- --- |
| | | | | | |
--- --- --- |
|
-----------------



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.