PDA

View Full Version : Wanting to learn how to code in divs



Eccentric
08-09-2007, 08:13 PM
Can someone help me like show me a tutorial i vaegally no how (sorry my spelling is a bit poor) but i would be very greatfull

craigg.
08-09-2007, 08:22 PM
<div class="1"></div>
or
<div id="1"></div>

(if class)
.1 {
css here
}

(if id)
#1 {
css here
}

Eccentric
08-09-2007, 08:25 PM
hhow do i position it and stuff though :(
i normally code in tables but i want to advance (edit)

QuickScriptz
08-09-2007, 08:27 PM
You would use CSS positioning to put them where you want. Try this tutorial:

http://www.tizag.com/htmlT/htmldiv.php

Eccentric
08-09-2007, 08:29 PM
You would use CSS positioning to put them where you want. Try this tutorial:

http://www.tizag.com/htmlT/htmldiv.phpill +rep you tomoro ;) gave me a small insight :D

im still very stuck :(!

craigg.
08-09-2007, 08:46 PM
It's glad to see you moving on from tables. div's are easy as that, it's CSS that makes the div work, really.

If you're still stuck, read CSS tutorials. I highly recomend W3Schools.

Eccentric
08-09-2007, 08:47 PM
craigg if i struggle can i pm u for help or get your msn *im not asking silly mods*?

craigg.
08-09-2007, 08:57 PM
I'm a very busy guy, but sure, ill give you a hand from time to time.

Want to hide these adverts? Register an account for free!