This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2010-05-21 18:58:39

16Skittles
Scratcher
Registered: 2009-08-26
Posts: 1000+

The HTML help topic

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.

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.


http://16skittles.tk/sig.png
Are you a student? Check out OnSchedule!

Offline

 

#2 2010-05-21 18:59:45

shamrocker
Scratcher
Registered: 2009-03-19
Posts: 1000+

Re: The HTML help topic

MY advice: Use Webs.


http://i46.tinypic.com/2s1b32e.png
respect the oxford comma

Offline

 

#3 2010-05-21 19:01:06

16Skittles
Scratcher
Registered: 2009-08-26
Posts: 1000+

Re: The HTML help topic

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.


http://16skittles.tk/sig.png
Are you a student? Check out OnSchedule!

Offline

 

#4 2010-05-21 20:49:57

Vista4563
Scratcher
Registered: 2009-07-20
Posts: 500+

Re: The HTML help topic

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.  sad


Team Vista | TBG Moderator | #stopKony #Kony2012 | http://ls.gd/icgrin http://is.gd/78GWUZ
http://is.gd/jEY5Ihttp://is.gd/Vl19zR http://i.imgur.com/L4HIs.png

Offline

 

#5 2010-05-22 12:24:15

16Skittles
Scratcher
Registered: 2009-08-26
Posts: 1000+

Re: The HTML help topic

bump.


http://16skittles.tk/sig.png
Are you a student? Check out OnSchedule!

Offline

 

#6 2010-05-23 12:30:38

16Skittles
Scratcher
Registered: 2009-08-26
Posts: 1000+

Re: The HTML help topic

nobody likes css?  sad


http://16skittles.tk/sig.png
Are you a student? Check out OnSchedule!

Offline

 

#7 2010-05-23 12:46:45

adriangl
Scratcher
Registered: 2007-07-02
Posts: 1000+

Re: The HTML help topic

16Skittles wrote:

nobody likes css?  sad

I do  smile  I recommend that you fully learn CSS, and review the <div> and <body> tags to make sure that your layouts are cool and clean  smile


Scratchin' since 2007

Offline

 

Board footer