Alignment help with DIV Overlays, How do you align DIVs to fit every screen resolution? |
Alignment help with DIV Overlays, How do you align DIVs to fit every screen resolution? |
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...
|
|
|
|
![]() |
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. |
|
|
|
imalytss Alignment help with DIV Overlays Feb 27 2008, 08:48 PM
S-Majere Synoptic-Rewind is correct; you can use the left a... Feb 28 2008, 09:33 AM
imalytss It didn't work. I'm working on another lay... Mar 1 2008, 01:28 AM
MissHygienic You have way too many fluffy excessive coding in y... Mar 1 2008, 05:21 AM
twodreamlovers i actually tried this and it works fine on normal ... Mar 1 2008, 07:21 PM
imalytss It worked for me!
Thanks so much ^_^ Mar 1 2008, 10:52 PM
Relentless Glad you were helped.
Topic Closed. Mar 2 2008, 12:55 AM![]() ![]() |