|
|
 |
RE: FN-FORUM CSS/XSLT problem
date posted 16th January 2003 15:08
Ta. Having played around with stuff I've got the relative and absolute
positioning stuff sorted out (I think!)
-----Original Message-----
From: Darran Shepherd [EMAIL REMOVED]
Sent: 16 January 2003 14:40
To: [EMAIL REMOVED]
Subject: RE: FN-FORUM CSS/XSLT problem
> Hi,
> I've got the following XSLT;
> What I want is for the outer DIV (id="question") to expand so
> that the contents of it are wholy contained within it.
> However, it just displays a block of colour 600x20 pixels. I
> thought that the overflow:visible attribute in the style
> would expand the size of it to fit the contents but it
> doesn't. Any suggestions gratefully received !
The reason is because of your use of position:absolute; for the elements
within your #question div.
Position absolute has two effects. One is that it puts the item to the
absolute position specified within it's parent container element.
Secondly, it removes the element from the flow of the document. So
space is no longer created for these position:absolute elements, there's
nothing for the #question div to expand around.
Darran.
========
Advertise with Freelancers.net +Additions+
http://www.freelancers.net/advert.php
Freelancers and Freelance Jobs:
http://www.freelancers.net
Forum FAQs:
http://freelancers.netrickery.com
To unsubscribe please email:
[EMAIL REMOVED]
If you have difficulties unsubscribing please email:
[EMAIL REMOVED]
---
[This E-mail scanned for viruses by Declude Virus]
|
 |
|