| You are here: DEVPPL ‹ Forum ‹ Programming ‹ HTML Forum |
NOTIFICATIONS
|
|
|||||||||||||||
Login |
Element Positioning
3 posts
• Page 1 of 1
0
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!
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!
- Caia
- Reputation: 0
- Posts: 4
- Joined: Mon Nov 29, 2004 9:47 pm
- Highscores: 0
- Arcade winning challenges: 0
0
This help?
- Code: Select all
<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>

- Malcolm
- Reputation: 0
- Posts: 198
- Joined: Thu Oct 07, 2004 10:53 pm
- Location: Ontario, Canada
- Highscores: 0
- Arcade winning challenges: 0
- Caia
- Reputation: 0
- Posts: 4
- Joined: Mon Nov 29, 2004 9:47 pm
- Highscores: 0
- Arcade winning challenges: 0
|
|