Is my DIV code right |
Is my DIV code right |
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> |
|
|
|
![]() |
| *Infinite.* |
Dec 1 2006, 04:41 PM
Post
#2
|
|
Guest |
Uhm yea, your probably going to need the codes to show the links and the table colors...
and therse nothing wrong with the code you posted except everything isn't positioned to anywhere. |
|
|
|
Dec 1 2006, 04:49 PM
Post
#3
|
|
![]() talent on another level ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 746 Joined: Oct 2006 Member No: 475,735 |
o i know nothing is positioned to anywhere, ima play around with those. but how many tables do i need cause i have like 5 content boxes? the tables are the only part i don't get. wat is the code for tables
|
|
|
|
Dec 1 2006, 06:47 PM
Post
#4
|
|
|
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. |
|
|
|
Dec 1 2006, 06:49 PM
Post
#5
|
|
![]() talent on another level ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 746 Joined: Oct 2006 Member No: 475,735 |
i have 5 areas of text? so what would i put for those tables
|
|
|
|
Dec 1 2006, 06:50 PM
Post
#6
|
|
|
t-t-t-toyaaa ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 19,821 Joined: Apr 2004 Member No: 11,270 |
Whatever you want. Look at the divs layouts here to get ideas. Most people put links, about them, comments, friends, etc, music, slideshows. I suggest you don't position with percents either. Just because lots of people have bad experiences with it.
|
|
|
|
Dec 1 2006, 06:53 PM
Post
#7
|
|
![]() talent on another level ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 746 Joined: Oct 2006 Member No: 475,735 |
o so i dont need that table code , jus link color & effects, cursors, and text stuff codes?
|
|
|
|
Dec 1 2006, 06:59 PM
Post
#8
|
|
|
t-t-t-toyaaa ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 19,821 Joined: Apr 2004 Member No: 11,270 |
Yup. The div tutorial here by Holly explains everything you need. Anything more is just for your own prefrence.
|
|
|
|
![]() ![]() |