div floating down

HTML, CSS and anything else that deals with client side capabilities.

Moderator: General Moderators

Post Reply
bogha
Forum Newbie
Posts: 8
Joined: Tue Aug 05, 2008 2:06 am

div floating down

Post by bogha »

hi

i have a problem which is that i have a wrapper div which contain two divs in side one is floated to the right and the other to the left
the problem is that when the user screen resolution is low say 800x600 the left div falls down
i'm using pixels in my margins

are there any solution to this

thank you.
User avatar
kaszu
Forum Regular
Posts: 749
Joined: Wed Jul 19, 2006 7:29 am

Re: div floating down

Post by kaszu »

Please provide basic css and html of your layout or link to that page.
User avatar
pickle
Briney Mod
Posts: 6445
Joined: Mon Jan 19, 2004 6:11 pm
Location: 53.01N x 112.48W
Contact:

Re: div floating down

Post by pickle »

Set the two divs to be a percentage width rather than a static pixel width.
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.
Post Reply