|
CodeAve.com - CSS - Miscellaneous | |||
|
|
|||
| Absolute & Relative Positioning | ||||
|
|
||||
<html> <title>CodeAve.com/CSS - Absolute + Relative Position</title> <body bgcolor="#FFFFFF"> <!-- Image placed 100 pixels from the top and left of the browser window --> <img style="position: absolute; top: 100px; left: 100px;" src="images/codeave-logo.gif"> <!-- Image placed 200 pixels from the top and left of the previous element --> <img style="position: relative; top: 200px; left: 200px;" src="images/codeave-logo.gif"> </body> </html>
|
||||
|
|
||||