PDA

View Full Version : Sidebar width based on users screen resolution


Tahooma
12-14-2010, 12:21 AM
Hi
I am trying to define the sidebar width dynamically based on the screen resolution of the users but didnt find any solution yet.
Another thing i am searching for is to show the sidebar based on screen resolution (e.g. show sidebar with resolutions higher than 1024)

Can someone give me a hint if this is possible and where to start ?

Thanks in advance
Tahooma

Lynne
12-14-2010, 03:45 AM
Example that may work:
#sidebar_container {width: 40%}
#content_container { margin-right: -42%}
#content_container #content {margin-right: 42%;}