very confused on divs |
![]() ![]() |
very confused on divs |
Jul 7 2006, 11:49 PM
Post
#1
|
|
![]() hollyann marie ![]() ![]() ![]() ![]() Group: Member Posts: 268 Joined: Aug 2005 Member No: 199,364 |
ok. well im new with divs. im trying to follow the little simple div overlay thing. now i started with doing the CSS thing and thats all set. soo now do i need to use a code to hide my whole profile er something like...
CODE <style type="text/css"> table, tr, td {background:transparent;} table table table table, table table table table td.text, table.contactTable {display:none;} td.text table, .orangetext15 {visibility:hidden;} td.text table table {display:inline; visibility:visible;} td.text td.text table {display:none;} div b font font, div font font u {display:none;} .whitetext12 { display: none; } .nametext { display:none;} </style> ok now where it says QUOTE For the image, you only need to change the width and the height to fit your image. for what image? is that suppose to be the bacground of ur whole page or just that div and when it says :: QUOTE For the content, you can change the class of the div, the left alignment, top alignment, width, height, and overflow. If you want the div to have a scrollbar, use this div code. Open the image in Microsoft Paint to get the alignments. can someone explain the whole class of div. and how u kno about making it left alignment top and width and height and overflow? sry this is going to take alot of explaining but if someone wants to help id much appriciate!! thank guysss... |
|
|
|
Jul 8 2006, 12:26 AM
Post
#2
|
|
|
t-t-t-toyaaa ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 19,821 Joined: Apr 2004 Member No: 11,270 |
Hide your profile with the code up there.
The image thing is only if you made an image and your aligning your div stuff. If you don't have an image don't follow that step. A div looks like this: (this goes in style tags) CODE .divnamehere{ position: absolute; left: #px; top: #px; width: #px; height: #px; } and (this does not go in style tags) CODE <div class="divnamhere"> content goes here </div> Tahts a div you put random numbers in top & left until your content box is aligned where you want it. Height & Width are the width and height of the div box. If you want you can add other properties such as background-color, etc in the style code. For div name you make one up. But you have to be consistent. Like the second code div has to match its corresponding style tag div name. Get it? I'll explain more if you don't get it, but don't make it too complicated. Its an easy concept. |
|
|
|
Jul 8 2006, 12:31 AM
Post
#3
|
|
![]() hollyann marie ![]() ![]() ![]() ![]() Group: Member Posts: 268 Joined: Aug 2005 Member No: 199,364 |
ok now just one quick question if i wanna make a div for my like comments and my main picture how do i set it up so u can clikc on it and all the links work? and same for like top eight how do i make divs for all those. ur such a big help thanks so much!
|
|
|
|
Jul 8 2006, 12:45 AM
Post
#4
|
|
![]() ekhast ![]() ![]() ![]() ![]() Group: Member Posts: 144 Joined: Sep 2005 Member No: 229,317 |
For links:
CODE <a href=http://URL>LINK</a> and for your friends or a pic:CODE <a href="http://URL to PAGE">NAME<span><img src="http://PIC URL" border="0"width="00px"height="00px"></span></a> you can change w&h of the pic.
|
|
|
|
Jul 8 2006, 12:48 AM
Post
#5
|
|
![]() hollyann marie ![]() ![]() ![]() ![]() Group: Member Posts: 268 Joined: Aug 2005 Member No: 199,364 |
alright im gonna try and figure this out thanks guys i think i might be getting it a little bit moreee..
|
|
|
|
Jul 8 2006, 02:09 AM
Post
#6
|
|
|
t-t-t-toyaaa ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 19,821 Joined: Apr 2004 Member No: 11,270 |
For your main picure you have to do it manually you can't add the table in a div. Just use the div code I gave you above.
For comments + friends: http://forum.myspace.com/index.cfm?fuseact...oupID=100636674 http://www.createblog.com/scripts/download.php?id=74 |
|
|
|
![]() ![]() |