Problem With Spacing

liunx

Guest
<font size="6"><br />
<br />
<b>MY WEBSITE</b><br />
</font><br />
<br />
<hr style="color: darkred; width: 100%; height: 3px;" > <br />
<br />
<br />
This is the code I am using. Can someone please tell me how to narrow the space between my darkred line and the words MY WEBSITE? Thank you for anyone's help.<!--content--><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"<br />
"http://www.w3.org/TR/html4/strict.dtd"><br />
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><br />
<title>Example</title><br />
<br />
<style type="text/css"><br />
<!-- <br />
h1 {<br />
border-bottom:solid #f00 3px;<br />
font-size:95%;<br />
padding-bottom:5px;<br />
text-transform:uppercase;<br />
}<br />
--><br />
</style><br />
<br />
<h1>My Website</h1><!--content-->Dear Charles,<br />
<br />
Thank you very much for your reply to my thread. I am a beginner of html so I am a little confused about the the reply you gave me. Is there a simpler way or some kind of tag I could put to narrow the space? Thanks again for your help.<!--content-->Charles has given you the modern way of doing it.<br />
All the tags you have used are considered outdated, unless you are specifically targeting very old browsers.<br />
Go through these tutorials (<!-- m --><a class="postlink" href="http://www.w3schools.com/default.asp">http://www.w3schools.com/default.asp</a><!-- m -->) on HTML, XHTML and CSS. It will take you an hour or two, but you will reap the rewards later.<!--content-->
 
Back
Top