Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've read some post for adding extra divs to the both sides of the main content and act like a sidebars. But I want to add 2 extra div for adding some graphics and the right will be to the right of the actual sidebar. I took a screenshot for explain my self better. I've added to extra div before the pagewrap and working with css I locate the divs to left and to the right but there is a problem, if some has a resolution smaller then me the divs start moving messing up the loyout. I want that they stay near the content and the sidebar for all the resolution. I've tryed working with css with position and % but with no results.

Ok so, the cyan rectangle would be the extra divs, and the gray graphics the contents of these. I don't care if the users has smaller resolutions, the graphics can go out the screen, but the "roots" must be fixed to the side of the main content ;) Hope I explained well.

This is the screenshot http://cl.ly/0D2H1s0t3Y0p2A412L35/Schermata-2011-01-11-a-22.22.17.png Thanks for help

share|improve this question

migrated from wordpress.stackexchange.com Jan 12 '11 at 18:47

This question came from our site for WordPress developers and administrators.

closed as off topic by John Conde Jan 12 '11 at 19:02

Questions on Webmasters Stack Exchange are expected to relate to webmastering within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

HTML/CSS questions really belong on Doctype – John Conde Jan 12 '11 at 19:03

Why not just place your graphics as background image and center so it aligns with your content?

share|improve this answer
'cause I will have the same problem for other graphics resolution, isn't it? – Kreker Jan 12 '11 at 16:28
@Kreker if you center background properly it won't move around because of resolution. This is very common practice. – Rarst Jan 12 '11 at 16:34
you would have problems with resolution if you would use divs for this – Ambitious Amoeba Jan 12 '11 at 17:11