View Full Version : h1 problem

07-26-2007, 06:56 PM
I we see its result we get so much top and bottom space just this code:


<table width="100%" border="0" cellspacing="0" cellpadding="0">
<td bgcolor="#00FFFF"><h1>Hello</h1></td>

I want to remove top and bottom space.

any help

07-26-2007, 06:58 PM
I recon you learn CSS. Makes design much easier.

all css would require is
h1 {

on top of making design much easier it will apply to every h1 tag in your page so u dont got to put in code every time. If u want space all u got to do is make it more specific ex:
table h1 {

now any h1 tag in a table would have a margin but other h1 tags wont... anyway many other reason why u should learn css.

07-26-2007, 07:01 PM
And while you’re at it please also learn how to write semantic (http://www.boagworld.com/archives/2005/11/semantic_code_what_why_how.html) code (http://brainstormsandraves.com/articles/semantics/structure/)! Especially if you’re seriously charging money for it! It hurts my eyes to see that…