Log In · Register

 
Div Overlay? Blog is out of it's box.
StaticPulse
post Jul 1 2008, 10:26 PM
Post #1


Newbie
*

Group: Member
Posts: 8
Joined: Jul 2008
Member No: 663,562



I was wondering if anyone knew how to code div overlays so their positioning was compatible with any screen resolution?

I made a layout, but the blog moves out of it's box in different resolutions, and I wasn't sure how to code it so it didn't?
 
 
Start new topic
Replies
fixtatik
post Jul 2 2008, 12:32 AM
Post #2


Senior Member
******

Group: Member
Posts: 1,237
Joined: May 2008
Member No: 648,123



i'd say the problem you're having is because you're positioning the "x" div left:40%; and the "xx" div left:46%;

when you're talking about percentages, it's a percentage browser width / height. if you change either "x" to left:46%; or "xx" to left:40%; and adjust the "margin-left:" accordingly, it'll look fine 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: