div header

liunx

Guest
in the middle div the div header thats in teal is shifted too much to the right, how can i fix it?

thanks

<!-- m --><a class="postlink" href="http://marlinsclubhouse.net/index.htmlI'd">http://marlinsclubhouse.net/index.htmlI'd</a><!-- m --> start by making it an H2 instead of a DIV and styling from there.Hi -
I noticed that the links header is the only one that seems to fit the parent container well at all - in that it's centered and just as wide.

What have you done with the styles on those h2 tags? Think that might be the problem...

ElThe heading elements are block elements just like divs and can be styled the same way. The difference is they make semantic sense in the document whereas divs carry no meaning at all.
 
Back
Top