|
|
 |
Re: FN-FORUM CSS/XSLT problem
date posted 16th January 2003 14:25
As far as I understand it, if you've set a height to the div (as you have)
then that's the height you get. If you don't set a height then the div will
resize around the smallest content it contains - which may end up being less
than 20px.
How overflow works exactly has confused me for years, but I'm sure someone
else here can explain it.
Karl
----- Original Message -----
From: "Andy Macnaughton-Jones" [EMAIL REMOVED]
To: [EMAIL REMOVED]
Sent: Thursday, January 16, 2003 12:25 PM
Subject: FN-FORUM CSS/XSLT problem
> Hi,
> I've got the following XSLT;
>
> style="POSITION:relative;LEFT:20px;TOP:20px;WIDTH:600px;height:20px;over
> flow:visible;" class="questionblock" >
>
> name="questionid"> />
> style="POSITION:absolute;LEFT:0px;WIDTH:250px;HEIGHT:0px;TOP:5px;">
> />
>
>
> style="POSITION:absolute;LEFT:300px;HEIGHT:0px;TOP:5px;WIDTH:250px;">
>
> class="textbox" name="response" />
>
>
>
> class="radio" type="radio" name="response">
> name="value"> class="normal">
>
>
>
> not yet implemented
>
>
>
>
>
> 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 !
>
> cheers
> Andy
>
> P.S. The classes link to a CSS file and they're just for setting fonts
> etc.
>
|
 |
|