On Thu, Oct 18, 2012 at 8:30 PM, Brian M. Curran <br...@draftingservices.com
> wrote:

> Hi,
>
> Apparently if I style my H1 tag like so:
>
>
>
> h1        {
>
>             float: left;
>
>             margin: 20px 0 20px 20px;
>
>             font-size: 58px;
>
>             line-height: 60px;
>
>             text-align: left;
>
>             text-transform: uppercase;
>
>             font-weight: normal;
>
>             }
>
>
>
> And then put <p>lorem ipsum</p> tags below it, the p tags don't
> automatically align themselves underneath the H1 tag, eh? I thought I could
> use any margin size for the H1 tag, and not have a problem with putting a
> sentence below it. Apparently not, huh?
>

Brian, it's because your h1 tag is floated... You can either remove
float:left from h1 tag, or add clear left to you p tag.

Hope this helps,

Anna Vester
http://annavester.com
______________________________________________________________________
css-discuss [css-d@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to