Log In · Register

 
Is my DIV code right
bigtrey90
post Dec 1 2006, 04:28 PM
Post #1


talent on another level
*****

Group: Member
Posts: 746
Joined: Oct 2006
Member No: 475,735



I made it with the tutorials on here, but i have a feeling im missing something, even though everything is showing up. I have looked at other layouts & they had like "table" codes & "link" codes, is that supposed to be in there?

CODE
<style>Body{background-image:

url("");}</style>

<div class="bg" style="position: absolute; left:22%; top:50%;

width:580px; height:730px; overflow: hidden;">
<img

src="">
</div>

<div class="content" style="position: absolute; left:%;  top:%;

width:000px; height:000px; overflow: auto;"><center>
CONTENT FOR DIV.
</div>

<div class="content" style="position: absolute; left:%;  top:%;

width:000px; height:000px; overflow: auto;"><center>
CONTENT FOR DIV.
</div>

<div class="content" style="position: absolute; left:%;  top:%;

width:000px; height:000px; overflow: auto;"><center>
CONTENT FOR DIV.
</div>

<div class="content" style="position: absolute; left:%;  top:%;

width:000px; height:000px; overflow: auto;"><center>
CONTENT FOR DIV.
</div></style>
 
 
Start new topic
Replies
freeflow
post Dec 1 2006, 06:47 PM
Post #2


t-t-t-toyaaa
********

Group: Official Member
Posts: 19,821
Joined: Apr 2004
Member No: 11,270



Tables are the divs. You don't add table codes. When you read other peoples codes you have to know what your reading. The only times people really use tables is when they use image slicing or just use tables. You can make divs look like tables. You add however many tables you want. Its your layout.

You can easily customize the div to make it look like a table by doing so in your css.
 

Posts in this topic


Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: