You are here: DEVPPL Forum Programming HTML Forum
NOTIFICATIONS
54.100
MEMBERS
15.693
TOPICS
62.271
POSTS
  562
FLASH GAMES
7.740
TUTORIALS
 

Login

E-mail:
Password:

Element Positioning

0

Loading

Element Positioning

Postby Caia » Wed May 25, 2005 11:35 pm

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!
Caia
 
Reputation: 0
Posts: 4
Joined: Mon Nov 29, 2004 9:47 pm
Highscores: 0
Arcade winning challenges: 0

Element Positioning - Sponsored results

Sponsored results

Login to get rid of ads

 

0

Loading

Postby Malcolm » Thu May 26, 2005 6:03 am

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>
Image
Malcolm
 
Reputation: 0
Posts: 198
Joined: Thu Oct 07, 2004 10:53 pm
Location: Ontario, Canada
Highscores: 0
Arcade winning challenges: 0
0

Loading

Thank you Malcom

Postby Caia » Fri May 27, 2005 7:36 am

It did and finally I get to view the page as it should be!
Thanks for your help
Caia
 
Reputation: 0
Posts: 4
Joined: Mon Nov 29, 2004 9:47 pm
Highscores: 0
Arcade winning challenges: 0
^ Back to Top