|
|
 |
Re: FN-FORUM: CSS Help
date posted 29th January 2006 15:35
Try this:
In your CSS file set up this class
.pin{
float: none;
clear: both;
font-size: 0.02em;
height: 2px;
}
Then add this to your HTML, after the content div, but before the end
of the container div.
Rich Quick
http://www.richardquickdesign.com
On 29 Jan 2006, at 13:55, Lee Fogarty wrote:
>
> I've got two div tags. The first one is position relative and is
> called
> 'container'.
> The second one sits inside this container and is position
> absolute. This
> one is called 'content'.
>
> I don't need to set the height of the content box as it re-sizes to
> fit the
> content. My problem is that I have to set a height for the container
> otherwise it won't display. I can't set it to auto or a percentage
> as it
> won't display.
>
> I have set container to relative as I have two includes - one for
> the header
> & one for the footer. This was the only way I could get a header,
> container
> & footer to display properly.
>
> How the hell do I set the container to automatically re-size to fit
> the
> content? The only other option is to set it manually for each
> page, but I
> am using a language pack so I can't guarantee the text size.
>
> Lee.
>
>
> --
> Freelancers, contractors earn more with Prosperity4
> Call 0870 870 4414 or visit www.prosperity4.com
> and benefit from Inland Revenue approved expenses today.
>
> To advertise here: http://www.freelancers.net/advertising.html
>
> |
 |
|