Forum Moderators: not2easy
CSS-
.nav { background-color: #CCFFFF; float: right; position: fixed; width: 250px;
top-margin: 120px; right-margin: 5px; height: 500px; display: inline;
}
.top { background-color: #CCFFFF; position: fixed; width: 900px; text-align: right;
margin-top: 0px; color: black; left-margin: 200px; border-top-style: groove;
}
HTML-
<html 4.0>
<head>
<title>title</title>
<link rel="stylesheet" type="text/css href="style.css">
</head>
<body bgcolor="#CCCC99">
<p><img src="new_efi_logo.gif" align="left"></p>
<p> </p>
<p> </p>
<p><br>
</p>
<div class="top"><font align="right">Home¦Who we Are¦How to get here</div><br>
<table background="bulbback.jpg" width="800px" height="500" align="left">
<!--DWLayoutTable-->
<tr>
<td width="750px" height="500" valign="top">Energy Federation, Your home
for all energy efficient Products.</td>
</table>
<div class="nav"><h4>Products:</h4><br><br>
Lighting<br>
Water<br>
Ventalation<br>
Solar<br></div>
Can someone help me out with this?
First you need to pick a valid doctype [w3.org].
Second you should ask yourself why you are using each css property. There is no such property as right-margin, top-margin etc. Its margin-right, margin-left etc. Also you are using position:fixed; and display:inline; for no reason.
Third, if you are using css there is no reason to use a font tag, <font align=right> can be replaced with text-align:right; in your div.
Anyway hope that helps a bit.