What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » CSS web design

CSS web design
Author: Message:
hmaster
Senior Member
****

Avatar

Posts: 716
Reputation: 24
33 / Male / Flag
Joined: Nov 2004
RE: CSS web design
div is just the word to declare a div
there are two types id and class
id is meant to be used for only one object on the page while classes are for multiple.

so if you wanted to have a div, it would be

div#mydiv or more commonly (and easier) used #mydiv
notes: use #divIDname for ID's and
.divCLASSname for CLASSes
you can use width and height tags in css too!

---- example
code:
#mydiv {background:url(images/base/base.jpg); border:5px dotted white; width:400px; height:400px;}
</style>
</head>

<body>
  <br><br><p class="header">MEthos2 Home::
  <br>MEthos has awoken<br></p>

  <div id="mydiv">
   <p>Hi guys, this is my new design for the site.</p>
  </div>
</body>
</html>

This post was edited on 09-10-2005 at 11:03 AM by hmaster.
[Image: sig.png]
09-10-2005 10:59 AM
Profile PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
CSS web design - by stoshrocket on 09-09-2005 at 08:19 PM
RE: CSS web design - by RaceProUK on 09-09-2005 at 09:16 PM
RE: CSS web design - by brian on 09-09-2005 at 09:19 PM
RE: CSS web design - by hmaster on 09-09-2005 at 09:35 PM
RE: CSS web design - by stoshrocket on 09-10-2005 at 10:20 AM
RE: CSS web design - by hmaster on 09-10-2005 at 10:59 AM
RE: CSS web design - by RaceProUK on 09-10-2005 at 09:12 PM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On