Log In · Register

 
DIV Layout, No NOT how to make one...
TAiNTEDxMEMORiES
post Jun 17 2006, 11:45 PM
Post #1


Senior Member
***

Group: Member
Posts: 72
Joined: Mar 2006
Member No: 386,570



How do I get the content to show, because some of my DIVs will show up but not the others. My comment box [[if I even have the right code]] aren't showing up. pinch.gif
 
 
Start new topic
Replies
freeflow
post Jun 18 2006, 12:36 AM
Post #2


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

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



You know how to position divs right?
This is from a post I wrote earlier today should help/teach you too..

QUOTE
(goes in I'd Like to meet)
Now to add content
CODE
.divnamehere{
position: absolute;
top: ###px;
left: ###px;
width: ###px;
height: ###px;
}

and
CODE
<div class="divnamehere">
content content
</div>


FIRST CODE: Put the first code between style tags. Put in I'd like to meet. Now everywhere I put ### you have to add that with a random number. Most likely a random numebr in the hundreds. I would start off with 200 and work your way up or down. So if you want it to go more left the number will be smaller if you want it more right the number will be higher. Same for going up and down. The higher the number for top the lower it is and vise versa. Where I put divnamehere Edit that to whatever you want it to be, but you have to be consistant w/ the first and second code.

Second Code: Put in I'd like to meet. Edit where it says content for what you want to it to say. The div name has to be corresponding to the one in the first code.

Thats how you get content in teh box. You have to do that same set of codes for each of your divs. One between style tags and one just the div. Make one of those for each content box.
 

Posts in this topic


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