Log In · Register

 
Alignment help with DIV Overlays, How do you align DIVs to fit every screen resolution?
imalytss
post Feb 27 2008, 08:48 PM
Post #1


Newbie
*

Group: Validating
Posts: 5
Joined: Feb 2008
Member No: 622,132



I submitted a layout, and it got rejected because the alignment on the Reviewer's computer was misaligned. On my screen it looks just fine. How do you align the DIVs to fit every screen resolution? My screen resolution is 1280x1024. Thanks...
 
 
Start new topic
Replies
Synoptic-Rewind
post Feb 27 2008, 09:44 PM
Post #2


Future Photographer
**

Group: Member
Posts: 17
Joined: Feb 2008
Member No: 623,713



in the past I've used something like this:

CODE
div.content
{position:absolute;
top:90px; left:50%;
margin-left:-320px;}


just adjust the 'margin-left' to adjust the positioning,
lesser numbers would go to the right, higher numbers would go to the left.
 

Posts in this topic


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