Topic: Simple tag infromation help (<h1> tag) Pages that link to <a href="https://ozoneasylum.com/backlink?for=28898" title="Pages that link to Topic: Simple tag infromation help (&amp;lt;h1&amp;gt; tag)" rel="nofollow" >Topic: Simple tag infromation help (&lt;h1&gt; tag)\

 
Author Thread
Hustluz
Nervous Wreck (II) Inmate

From:
Insane since: Jun 2003

IP logged posted posted 02-08-2007 22:28 Edit Quote

im almost sorry to ask such a simple questions but here it goes. i am building my website and i ran into an issue. i have a two lines of text which i want formated as one like righ tof the other like so:

The first line of text
The second line of text right after.

the only problem is the first line of text i want to be an <h1></h1> raped around it so i can control the look and feel all through css. now the problem comes with the <h1> tag which is like the <p> tag which automatically puts a blank line in between the two lines of text like so:

The first line of text

The second line of text. (notice the space inbetween)

my question is, is there a way to change the <h1> tage so that its stops putting that space in. im am trying to avoid using a styles tag because it would work out much easier with changing the layout in the futher if i could just control it with css.

WarMage
Maniac (V) Mad Scientist

From: Rochester, New York, USA
Insane since: May 2000

IP logged posted posted 02-08-2007 22:49 Edit Quote

h1 {
margin: 0;
padding: 0;
line-height: 100%;
}

p {
margin: 0;
padding: 0;
}

Dan @ Code Town

Hustluz
Nervous Wreck (II) Inmate

From:
Insane since: Jun 2003

IP logged posted posted 02-09-2007 00:39 Edit Quote

thanx for the help WarMage



Post Reply
 
Your User Name:
Your Password:
Login Options:
 
Your Text:
Loading...
Options:


« BackwardsOnwards »

Show Forum Drop Down Menu