How to set fancybox height and width identical?

I would like my button that is under my table to have the same width as my table?

  • Basically i am doing a website with info in a table but i want a button under the table to be the same size as the overall tables width but my problem is i dont know how to get the width of the table for placing into the input variable for the button i am doing i could do a table width and assign the button the same width but i would like a solution that can be set up to take the tables over all width and give me a variable that can be applied to the input buttons style width size area so whatever changes in a column or the table the button under the table will change size as well a java script answer would be nice. but anything that can identify a table and its specific width on a auto based width table so i can apply to a <input style="height:20px width:auto(or same as tables width)"> tag would be nice Thanks.

  • Answer:

    make a <div> tag with the width you want and inside of it put your items they will all relate as child elements of the div Is this what you want? I'm having trouble understanding the questions.

davidbea... at Yahoo! Answers Visit the source

Was this solution helpful to you?

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.