Working with a Div Overlay, Positioning (w. picture&codes) |
Working with a Div Overlay, Positioning (w. picture&codes) |
Mar 23 2006, 10:20 PM
Post
#1
|
|
![]() meow ![]() ![]() ![]() ![]() Group: Member Posts: 208 Joined: May 2005 Member No: 137,036 |
I just started making a new Div Overlay.. And I'm trying to re-position this table so it's in the dead center of the page. Here's what it looks like NOW:
![]() And here are my codes so far... ABOUT ME: CODE <hide comments/friends> <style type="text/css">.comments {visibility:hidden;display:none;}</style> <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;} </style> <style> .content{ width:300px; float:left; padding:5px 5px 5px 7px; margin:5px 0 0 5px; border:3px solid; } </style> I'D LIKE TO MEET: CODE <DIV class="Main"> <table style="width:800px; height:800px; cellpadding:0px; cellspacing:0px; border:2px solid silver; background-color:ffffff;}"> <tr> <td valign="top"><table style="width:300px; height:300px; cellpadding:0px; cellspacing:0px; border:2px solid black; background-color:cccccc;}"> <tr> <td valign="middle">UNDER CONSTRUCTION.</td> </tr> </table> </DIV>
|
|
|
|
crazedchick Working with a Div Overlay Mar 23 2006, 10:20 PM
toyo loco Make a new div for it and you have to position it ... Mar 23 2006, 10:26 PM
crazedchick Okay, but where do I put ..
<div class="di... Mar 23 2006, 10:35 PM
toyo loco you put the <div class="namehere"... Mar 23 2006, 10:42 PM
crazedchick Okay I think I've almost got it. But which ... Mar 23 2006, 10:53 PM
toyo loco <DIV class="Main"> <table style... Mar 23 2006, 10:58 PM
crazedchick ehh, okay this is what my code looks like..
CODE... Mar 23 2006, 11:21 PM
toyo loco take out
.firstcolumn{
position: absolute;
width: ... Mar 23 2006, 11:33 PM![]() ![]() |