Working with DIV, i need help.. badly. |
Working with DIV, i need help.. badly. |
Aug 27 2005, 06:12 PM
Post
#1
|
|
|
Newbie ![]() Group: Member Posts: 6 Joined: Aug 2005 Member No: 216,565 |
ook. so i'm trying to make my page using div.. but i can't seem to figure it out. this is my page so far
myspace. i don't know what to do next.. this is the coding i also have so far in the about me section <style type="text/css"> .Main { position:absolute; left:50%; top:125px; width:800px; z-index:1; margin-left:-400px; padding:0px; border:0px; background-color:transparent;} /*make tables transparent*/ table, tr, td {background:transparent;} /*remove left column (picture, details, etc)*/ table table table table, table table table table td.text, table.contactTable {display:none;} /*hide blogs & about me*/ td.text table, .orangetext15 {visibility:hidden;} /*unhide about me (so the divs will show up)*/ td.text table table {display:inline; visibility:visible;} /*remove friend space, comments, and calendar*/ td.text td.text table {display:none;} /*remove bottom links*/ <div id=layer1 style="position:absolute; top:20; left:20; width:300; height:300; z-index:1; padding:5px; border:000000 2px solid; background-color: 000000; background-image:url(yourfilename.gif); layer-background-image:url(http://img.photobucket.com/albums/v637/xoashleyxo/ac11fcdb.jpg);"> Content goes here (images, text) </div> div b font font, div font font u {display:none;} <div class="bg" style="position: absolute; left:0px; top:0px; width:000px; height:000px; overflow: hidden;"> <img src="http://img.photobucket.com/albums/v637/xoashleyxo/ac11fcdb.jpg"> </div> <div class="content" style="position: absolute; left:000px; top:000px; width:000px; height:000px; overflow: auto;"><center> lalalalala this is your content! </div> </style> and in the who i'd like to meet <DIV class="Main"> <table style="width:800px; height:600px; cellpadding:0px; cellspacing:0px; border:2px solid silver; background-color:ffffff;}"> <tr> <td valign="top"> YOUR PAGE CONTENT (HTML/FLASH) HERE </td> </tr> </table> </DIV> if you could hep it would be greatly appriciated |
|
|
|
ashleymichelle66 Working with DIV Aug 27 2005, 06:12 PM
electric shock okay, where it says
QUOTE<div class="bg... Aug 27 2005, 06:26 PM
ashleymichelle66 ok wait so how do you know what to change the heig... Aug 27 2005, 06:33 PM
electric shock see what's the width and height of your image.... Aug 27 2005, 06:34 PM
ashleymichelle66 ok, so how do i add new divs and also how do i pos... Aug 27 2005, 06:39 PM
electric shock if you leave it at 000px it'll stay under the ... Aug 27 2005, 06:42 PM
ashleymichelle66 ok thanks for your help.. i'm going to try and... Aug 27 2005, 06:45 PM
ashleymichelle66 how do you move the image to the center of the pag... Aug 27 2005, 07:06 PM
electric shock well, first the image has to be big. and to move i... Aug 27 2005, 07:13 PM![]() ![]() |