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
S-Majere
post Feb 28 2008, 09:33 AM
Post #2


Addict
*******

Group: Staff Alumni
Posts: 3,918
Joined: Jun 2007
Member No: 538,522



Synoptic-Rewind is correct; you can use the left and margin-left properties together to create either a container for your DIVs, or a separate positioning for each.

Using an absolute position with the main banner image and a relative position for any further DIVs also helps make alignment static in all browsers, in all resolutions.
 

Posts in this topic


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