I have the font set for my main table, but I have a table within that table and the font inside it wont recognize it. How can I set the font of my new table?
Hope you do post the code, but if you used a class to set font parameters for the main table, then call that class out for the inner table too. Hope you are using table tags for tabular data and not layout of page content.
To change the font for a table inside another table:
Code:
table table {font-family : arial;}
just substitute the font you want instead of arial and put the code anywhere in your stylesheet.
Of course 999,999 times out of 1,000,000 nesting one table inside another means that you are using the wrong HTML to identify the content of your web page.
If you have a font tag ANYWHERE in your code it's in the wrong place.
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." Brian W. Kernighan
Bookmarks