I was wondering if there is a way to implement a javascript variable into the width attribute of an image tag & a <td> tag. If anybody knows a way, It would be greatly appreciated.
I apologize for the broadness of my request. Here is what I am looking to do in detail. I have a table & the cell at the top right contains an image the fits great regardless of length. There is another cell to left of it that has a set width of 100. I want to subtract that 100 from the windows width & make that the width of the top right cell. I just can't figure out how to implement a variable into the width attribute.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.