Jump to content

Newbie question

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 post
Share on other sites

You mean in CSS?

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

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...