Log In · Register

 
Problems..
Lotion
post Oct 2 2008, 10:40 AM
Post #1


Newbie
*

Group: Member
Posts: 1
Joined: Oct 2008
Member No: 688,710



Hey there, I'm working on creating my first DIV layout but im having problems. Whenever I use "position:absolute;" in a div, window resizing and also screen resolution will stuff up the layout.

So I decidid to try "position:relative;" and this seemed to do the trick BUT when making the aboutme div for content etc. it would cause the page to stretch if the height was too large, evn though it was only about 300px and was nowhere near the bottom of the page.

Anyone able to help? thanks biggrin.gif
 
 
Start new topic
Replies
Mickey
post Oct 2 2008, 12:31 PM
Post #2


Treasure Pleasure
********

Group: Head Staff
Posts: 11,193
Joined: Oct 2005
Member No: 281,127



Absolute positioning should work. Try positioning it this way:

CODE
<div style="position:absolute; left:50%; margin-left:#px; top:#px;">

Replace the number signs according to where you want your DIV to be. If that doesn't work, please post a link to your page along with the codes that you're using.
 

Posts in this topic


Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: