View Full Version : adding a row on top of $spacer_open
sabret00the
Sat 3rd Jan '04, 4:55pm
basically i want to attach something to the spacer_open and i'm wondering how to do it, as my skill with div's isn't so good, how would i go about doing it?
the table equivalent would be
<table cellpadding="0" cellspacing="1" border="0" width="$stylevar[outertablewidth]" align="center" bgcolor="#000066">
<!-- start of row i want to add -->
<tr>
<td height="2" bgcolor="#4F6BA0">
</td>
</tr>
<!-- end of row i want to add -->
<tr>
<td class="page" style="padding:0px $stylevar[spacersize]px 0px $stylevar[spacersize]px">
i've tried to show the row i want to add.
below is an image of what i'm trying to acheive
sabret00the
Mon 5th Jan '04, 7:13am
updated the code a little
<div align="center">
<div style="background: #4F6BAO; color: #CAD7EE; width:$stylevar[outerdivwidth]; text-align:$stylevar[left]; border: #000000 solid 1px; height: 2px; margin: 0px;"></div>
<div class="page" style="width:$stylevar[outerdivwidth]; text-align:$stylevar[left]">
<div style="padding:0px $stylevar[spacersize]px 0px $stylevar[spacersize]px"> but it still don't acheive what i want, for some reason it won't fill the div with the specified colour and it also won't sit seemlessly on the other div, i want them to overlap onto eachother by 1 pixel
Chris Gwynne
Mon 5th Jan '04, 8:20am
It won't let me click the attachment :confused:
Try adding a to your first div tag. It won't fill the div with the specified color because the div is empty.
sabret00the
Mon 5th Jan '04, 10:06am
lol, it won't let you click because that's the attachment size, i'm just trying to get that dark blue/green line ontop of the existing table.
nope don't work, it renders in FB but not via vBulletin.
Chris Gwynne
Mon 5th Jan '04, 11:07am
Well if I can get an actuall size of what your're doing :p I'll fix it for you.
sabret00the
Mon 5th Jan '04, 6:29pm
fixed it
<div align="center">
<div style="background: #4F6BA0; width: $stylevar[outerdivwidth]; border: 1px solid #000000; height: 2px" height="2"></div>
<div class="page" style="width:$stylevar[outerdivwidth]; text-align:$stylevar[left]">
<div style="padding:0px $stylevar[spacersize]px 0px $stylevar[spacersize]px">
the problem was that i had a O where i should've had a 0
Powered by vBulletin™ Version 4.0.0 Beta 4 Copyright © 2009 vBulletin Solutions, Inc. All rights