Ok I've got a div (add) which I want to sit top right of the page. Underneath this, I want another div (enhance), and it should sit so it can't be seen by the user.
The problem i'm having is aligning them...do I use float, left, top? aah!!
Here is what I have so far:
The problem i'm having is aligning them...do I use float, left, top? aah!!
Here is what I have so far:
Code:
<div id="add" style="width:252px; height:88px; z-index:2; top:1px; left:0px; float:left; background-color:#dedede; position:relative" onclick="window.open('newdata.php')" target="_SELF">
<div><a href="newdata.php" title="test"><img src="images/add.gif" style="width:86px; height:86px; border:none; float:left" alt="" /></a>
<span style="color:#40539B; font-family: Tahoma,Arial,Helvetica,sans-serif; font-size:15px; font-weight:bold; padding-left:5px;">Add Hike :: </span><br /><p style="padding:5px; padding-left:90px; font-size: 12px;">bla bla bla bla bla</p></div>
</div>
<div id="enhance" class="S:slide:20:B:300:0" style="position:relative; float:right; top:1px; left:0px; width:252px; height:88px; border:none; background-color:#dedede; z-index:1"><p>bla bla bla</p></div>
Last edited: