On 24/05/06, richard hall <[EMAIL PROTECTED]> wrote:
>
> I would like to create a division for content on a web page, where one
> side
> of the division box is always a fixed set of pixels from the left (so it
> won't cover the menu which is a set number of pixels), and I would like it
> to cover about 80% of the remainder of the page, so it would be fixed on
> one
> side and relative on the other, but I can't get this to work.
>
> I tried
>
> #content {
>     position:absolute;
>     left:213px;
>     width:80%;
>     top:7px;
>     height:272px;
>     }
>
> But it didn't seem to work in any browsers/OS I tested with
>
>
> .... Thanks ... Richard


An absolutely positioned element will be positioned relative to its nearest
positioned parent (ie I tend to use a wrapper div with position: relative if
I am going to use absolutely positioned elements, but as I learn more I am
beginning to understand that floated layouts are much more flexible and in
line with the fluid medium we call the web. Am I right guys?




-- 
http://www.web-buddha.co.uk

dynamic web programming from Reigate, Surrey UK (php, mysql, xhtml, css)

look out for project karma, our new venture, coming soon!
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to