| View previous topic :: View next topic |
| Author |
Message |
caia
Joined: 29 Nov 2004 Posts: 4
|
Posted: Wed May 25, 2005 11:35 pm Post subject: Element Positioning |
|
|
Ok have to design a site using absolute and relative element positioning for images. Question is it possible to have multiple images on same page with different postioning, and how do I do it?
the first image I tried all it did was overlap my text and I couldn't get it to the proper placement, this $ucks as I have 3 more images on the same page supposed to be in a off-center staggaring down the page with appropriate text.
HELP! |
|
| Back to top |
|
 |
|
|
Malcolm 100+ Club

Joined: 07 Oct 2004 Posts: 199 Location: Ontario, Canada
|
Posted: Thu May 26, 2005 6:03 am Post subject: Re: Element Positioning |
|
|
This help?
| Code: |
<style>
div { border:1px solid #000; }
</style>
<div style="position:absolute;top:10px;left:300px;">
blah
</div>
<div style="position:absolute;top:300px;left:10px;">
<div style="position:relative;top:-100px;left:-10px;background:#f00;">
Blah
</div>
Blah 2
</div>
|
|
|
| Back to top |
|
 |
caia
Joined: 29 Nov 2004 Posts: 4
|
Posted: Fri May 27, 2005 7:36 am Post subject: Thank you Malcom |
|
|
It did and finally I get to view the page as it should be!
Thanks for your help |
|
| Back to top |
|
 |
|