Donate SIGN UP

CSS - Setting table cell widths

Avatar Image
ignorantgenius | 18:29 Mon 04th Jul 2011 | Technology
4 Answers
I'm learning CSS at the mo and was wondering if it was possible to edit the css file so that everytime I create a new table (with 3 columns) in a new .php file, the cell column widths are automatically set to 20%, 50% and 30%?
Gravatar

Answers

1 to 4 of 4rss feed

Best Answer

No best answer has yet been selected by ignorantgenius. Once a best answer has been selected, it will be shown here.

For more on marking an answer as the "Best Answer", please visit our FAQ.
Why not just create a blank table and save it as 'master table' then use this to do 'save as' copies?
Question Author
Because if I decide that I want the widths to be, say, 25%, 50% and 25% at a later date, I would have to edit every single page. If there was a way of changing the widths using CSS, then I would only have to edit one page to change the widths of every table.
Maybe you should just drop the 'genius'
-- answer removed --

1 to 4 of 4rss feed

Do you know the answer?

CSS - Setting table cell widths

Answer Question >>

Related Questions

Sorry, we can't find any related questions. Try using the search bar at the top of the page to search for some keywords, or choose a topic and submit your own question.