What i want to do is have a bold title on the left with a normal size and font text link on the right. The problem can never get only the link beside it. I always get other text or have the link below instead of beside.
test
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="my.css">
</head>
<body>
<div class="main">
<div class="swtitle">
<h1 class="swTitle">Title</h1> <a class="downloadXYZ" href="download.zip">Download</a>
text i dont want. I cant figure out what to write here.
</div>
</div>
</body>
</html>
You should be using the style=”display:inline” this will help you get your text you have to wrap around what you are doing, such as images.
You can also use the float if you like too, but inline is much better.