DIVs

Namecheap AuctionsNamecheap Auctions
SpaceshipSpaceship
SpaceshipSpaceship
Watch

PeTeRUK

New Member
Impact
0
Can anyone help me with this?

I'm a new web designer and I'm using photoshop.

I created a new design, sliced it up, and put in DIVs and backgrounds so the contents could be expanded limitlessly. However, I'm having a problem with one of the DIV setups. I'm using "position:relative" which makes the table cell bigger as the div gets bigger of course, keeping the design intact. At the bottom of the page I have 2 boxes next to eachother, but the DIV on the left is pushing the DIV on the right down. Here is the code I have :
Code:
<tr>
<td colspan="10" style="background:url('images/RepeaterSlice3.gif');background-repeat:repeat-y;" width="680" height="100%" valign="top" align="justify">

<!-- FORUM STATS BOX CONTENT -->
<div style="position:relative; left:37px; width:291;">test</div>
<!-- END -->
<!-- AFFILIATES BOX CONTENT -->
<div style="position:relative; left:359px; width:290;">test</div>
<!-- END -->
      
      </td>
   </tr>

And it displays as this :
site1.jpg
 
0
Close
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
DomainEasy: white label portfolios are live. Enable yours.

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com

NamePros updates

Switch between accounts
You can now stay logged in to more than one NamePros account in the same browser. Click your avatar, then "Accounts in this browser", to...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back