Jump to content

How do I find out the width of left/right columns (real time)


Recommended Posts

Hi,

 

I need to know the 'current width' of the left/right columns, to adjust a box so that it fits neatly. Is there any function or so that can give me these values somewhere? I believe the values are hard set in global.css, but need to compare 'real time' with this width.

 

(Why: in backoffice the user can change a box width, but it shouldn't be bigger than the column width)

 

Anyone?

 

Thanks.

 

Pascal

Share this post


Link to post
Share on other sites

Being hard coded in the css it will be difficult to get especially with other themes. Can you not just use 100% width?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More