I created a web page that print some text using JSF
I’ve added spaces using tag
<tr:spacer width="24px" />
between each word
I want to decrease the width value to 12 when browser window size getting smaller
I know it’s possible to do this using Jquery.
Can someone please guide me?
You can use
and use jquery to change the width using
To detect the browser resize you can use
But wondering, why don’t you just use a percentage for the width? then it will scale automatically