I’d like to use jquery to manually write the css width of a series of element with a certain div class.
I’m trying to ask for the document width, record it as a variable, and then pass that variable to a new css ‘width’ rule…but my jquery skills are a little too meager
Any ideas?
Try this:
This would give all elemets with class “.block” the desired width. Maybe you should considder this: