Jump to content

Newbie question


dukxud

Recommended Posts

I've recently been trying to build a sit from scratch and to be honest noob is giving me way to much credit.But i have read threw the W3 files and tried using google but it seems to keep routing me back here aswell but my question is in refrence to the tag <div> i've seen it used in many diffrent ways and the w3 doesn't go to indepth with it but here's what i got so far and try not to laugh i just started learning this stuff the other day

<html><head><style type="text/css">body {background-color: grey}p,pre {font-family: times}p.leftlinks {align: right}div. container{width:100% margin:0px;border:0px solid sliver;line-height:100%;}div.header,div.footer{padding:0.5em;color:white;background-color:green;clear:left;}div.content{margin-left:190px; border-left:1px solid green;padding:1em;}</style></head><body><div class="container">` <div class="header"><p class="leftlinks"><b>|<a href="Webpage.html">Eco-Tips</a>|<a href="http://www.microsoft.com/">Buy</a>| <a Href="http://www.microsoft.com/">Catalog</a>|<a Href="http://www.microsoft.com/">Customer Service</a>|</p></b></div><p> he he he </p><div class="footer"> copyright bla bla </div></div></body></html>and what i'm wanting to figure out is how to resize the the top header i guess its called so it doesn't have a border..and also how do i get my links to stay at the far right do i need to make tables????
Link to comment
Share on other sites

You mean in CSS?

<div style="margin:0px autp; width:500px; ">	Blah</div>

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...