Quote:
|
Originally Posted by Adam Y.
I was handcoding it.  But goosh darn it there is something wrong with my school's computers. It simply does not display the fact that there is any css. The only program that actually displayed my css was Frontpage?? There is no errors as I checked on a validator because I couldn't figure out what was happening. It works on my computer now. Could it be the fact that I was using Microsoft Word to type it and not notepad?? Sorry I did not post this sooner I feel asleep.
PHP Code:
<html>
<head>
<style type="text/css">
body {background-color:black; width:800px; height:600px;}
.rightnavbar {width:150px; height:200px; border-style:ridge; position:absolute; left:0px; top:70px}
.topnavbar {width:800px; height:68px; position:absolute; left:0px; top:0px; border-style:ridge}
</style>
</head>
<body>
<table class="topnavbar">
hello
</table>
<table class="rightnavbar"
work dam u work
</table>
</body>
</html>
|
This works for me:
PHP Code:
<html>
<head>
<style type="text/css">
body {background-color:yellow; width:800px; height:600px;}
.topnavbar {background-color:red; width:800px; height:68px; position:absolute; left:0px; top:0px; border-style:ridge; border-width:10}
.rightnavbar {background-color:blue; width:150px; height:200px; border-style:ridge; position:absolute; left:0px; top:70px}
</style>
</head>
<body>
<table class="topnavbar">
<tr>
<td>
hello
</td>
</tr>
</table>
<table class="rightnavbar"
<tr>
<td>
work dam u work
</td>
</tr>
</table>
</body>
</html>