Well, Hx tags are meant to be HEADINGS, they are BLOCK LEVEL elements, so they extend across the entire width of the container and have default spacing above and below.
In your CSS, you can zero out the default margin and padding for everything, including HX tags:
h1, h2, h3, h4{
margin: 0;
padding: 0;
}
You should also always zero out the margin and padding on the body too.
Then when you use an H1 tag, you add back margin and padding as needed, as well as changing color, font size, etc.
As long as you are using tables for structure, you are not properly using divs and CSS.
Quote:
|
but what is that point for a silly homesite.
|
Would you deliberately build yourself a shack to live in if you were building a HOME ? No, so your own personal site should be built to be the best you can make it. Why settle for a hovel when you can build a mansion ??? You have to start learning somewhere.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!
Please login or register to view this content. Registration is FREE
Please login or register to view this content. Registration is FREE
|