|
Posted by Neredbojias on 03/23/06 23:12
With neither quill nor qualm, affiliateian@gmail.com quothed:
> I am using a table with 2 rows and 1 column. The top row is the heading
> for a short title (1 line of text) and the 2nd row is for paragraph
> text. When I add any heading tags, <h1>, <h2> etc... to row 1, the cell
> height of row 1 gets increased as if 1 or 2 <br> tags has been added.
>
> Started to notice this after I began using CSS to help streamline my
> website. My CSS settings for headings are simple like so:
>
> font-family : Verdana, Arial, Helvetica, sans-serif;
> font-size : 14pt;
> color : black;
>
> This happens with all different table types. Even tables which do not
> have a CSS id. What can be causing this?
The headings, of course. Headings have vertical whitespace. The can
usually be styled with the css "margin" and "padding" attributes.
eg:
<h1 style="margin:0">My Nose</h1>
> Is it normal? Any ideas?
>
>
--
Neredbojias
Contrary to popular belief, it is believable.
Navigation:
[Reply to this message]
|