|
|
 |
Re: FN-FORUM: Problem: css divs
date posted 20th January 2008 16:07
Hi
To add a little on the h1 element breaking out of the div .title problem ,
if you give the title div "display: block; float: left" this will lock all
child element back inside but the problem this then causes is you no longer
have center aligned content so you then have to add a wrapper/container div
(with margins set to auto etc etc) to your page for all the content.
I always add a container div to my pages regardless as to whether it will
center align or stay to left as it helps fix many problems that you
encounter with cross browser compatibility and the like.
HTH
Martin
----- Original Message -----
From: "John Deaville" [EMAIL REMOVED]
To: [EMAIL REMOVED]
Sent: Sunday, January 20, 2008 12:10 PM
Subject: Re: FN-FORUM: Problem: css divs
>
> Thanks for that
>
> I will obviously need to play around with all the various bits in the css
> and see what works
>
> john
>
>
> --
> 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
>
> |
 |
|