PascalVG Posted January 16, 2013 Share Posted January 16, 2013 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 Link to comment Share on other sites More sharing options...
Dh42 Posted January 16, 2013 Share Posted January 16, 2013 Being hard coded in the css it will be difficult to get especially with other themes. Can you not just use 100% width? Link to comment Share on other sites More sharing options...
PascalVG Posted January 16, 2013 Author Share Posted January 16, 2013 Hi DH42, If indeed hard to find, maybe I should let the user add a % instead of a fixed width in pixels. I'll try that :-) Thanks! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now