just wondering if there are any ways of taking away the padding that is built in to the <h1> tags. trying to keep my code clean but if i cant remove the padding a little then the design looks a bit empty. just too much space..
thanks for any input
Robin_reala
9:21 am on Sep 26, 2004 (gmt 0)
h1{ padding: 0px; margin: 0px; }
kumarsena
10:28 am on Sep 26, 2004 (gmt 0)
hey
thanks
didnt know it was that simple...
cheers again.. kumar
kumarsena
10:44 am on Sep 26, 2004 (gmt 0)
i tried ur suggestion but it dint work
Larryhat
10:58 am on Sep 26, 2004 (gmt 0)
hello:
I have the same problem, but I'm in straight HTML, no CSS etc. Is there some way to do the same thing (0 px) within the HTML <h1> #*$!x </h1> statement itself?
Krapulator
11:41 am on Sep 26, 2004 (gmt 0)
You could use inline css:
<h1 style="padding:0;margin:0;">Heading</h1>
Larryhat
11:50 am on Sep 26, 2004 (gmt 0)
Thanks Krapulator!
That works perfectly. Nice clean and simple for once. -Larry
kumarsena
6:03 pm on Sep 26, 2004 (gmt 0)
my question is: if inline styling of <h1> works, then why not external styling?
does anyone have an explanation?
kumarsena
6:07 pm on Sep 26, 2004 (gmt 0)
ok guys,
im sorry, it was all my fault (although im not sure what i did wrong....)