This was posted in the old I&M forum before, and it may have moved, but if it did, it died.
well, I'm working on coding a web site right now.
here's my code.
<html>
<head>
<title>Home Page Test</title>
<style type=text/css>
body
{
background-color:#dfd5d5;
}
/*Header Code*/
p.header
{
background-color:#ffffff;
float:left;
hight:autopx;
width:autopx;
}
/*Navbar Code*/
ul
{
list-style-type:none;
padding:0;overfloow:hidden;
}
li
{
float:left;
}
a:link,a:visited
{
display:block;
width:120px;
font-weight:bold;
color:#ffffff;
background-color:#02a3e3
text-align:center;
padding:4px;
text-decoration:none;
text-transform:uppercase
}
a:hover,a:active
{
background-color:#167aa1
}
/*Sidebar Code*/
p.sidebar
{
float:left;
background-color:#ffffff;
height:auto;
width:150px;
}
</style>
</head>
<body>
<p class="header"> <img src=https://lh5.googleusercontent.com/r0vg04p2nfQ6y0GL0IZEbMB1nzwaqLXV4d5rq0X_IdrSzu9X9LRHuEdoKUGcgnrZAGk4UIJZa7TCKFHsxDkiAaExOg=s512></p>
<ul>
<li><a href="#home">Home</li>
<li><a href="#news">news</li>
</ul>
<br>
<br>
<br>
<br>
<br>
<p class="sidebar">The height and width of this paragraph is 100px.</p>
</body>
</html>but the sidebar seems to think it's part of the news button and won't float left.
Anyone know why? Anyone else can post things about their web coding here too. Giving advice, asking for advice, etc.
Offline
MY advice: Use Webs.

Offline
shamrocker wrote:
MY advice: Use Webs.
It makes me happier to see what I've made myself. like why I didn't use JSO's blog engine.
Offline
16Skittles wrote:
This was posted in the old I&M forum before, and it may have moved, but if it did, it died.
well, I'm working on coding a web site right now.
here's my code.
[codewashere]
but the sidebar seems to think it's part of the news button and won't float left.
Anyone know why? Anyone else can post things about their web coding here too. Giving advice, asking for advice, etc.
I don't use CSS... just plain HTML.
Sorry, cant help you.
Offline