This is a discussion on "help with css for a newbie" within the Web Page Design section. This forum, and the thread "help with css for a newbie are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
help with css for a newbie
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
Hi,
I have only just started learning css, having solely used html previously. I have created an external css sheet with the following: h1 {color: white; text-align: left; font-size: 12pt; background-color: #666666; font-family: Verdana} h2 {color: white; text-align: left; font-size: 10pt; background-color: #999999; font-family: Verdana; font-weight: bold} Only really basic! And then on my web page, I want two seperate rows within a table: <tr> <td height="0"> <h1>Line1</h1></td> </tr> <tr> <td height="0"> <h2>Line2</h2></td> </tr> </table> The only thing is when it displays the page - there is a large gap between line1 and line2 which I can't get rid of!! Any ideas? (sorry for the long post!) |
|
|
|
|||
|
Re: help with css for a newbie
Add
You can change the margins as needed, but the H1 tags were made to have extra margins / padding in HTML to break up the web page. |
![]() |
| Tags |
| help, css, newbie |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Hello everyone! Another newbie here. | Joker | Introduce Yourself | 6 | Aug 19th, 2007 20:52 |
| Newbie | VasanthMuthu | Introduce Yourself | 2 | Feb 6th, 2007 17:25 |
| newbie | Janna122003 | Introduce Yourself | 7 | Feb 6th, 2007 17:21 |
| Hi newbie to all! | Brooksy | Introduce Yourself | 3 | Dec 7th, 2006 22:24 |
| Newbie | toefunky | Introduce Yourself | 6 | Nov 19th, 2006 05:54 |