Click to See Complete Forum and Search --> : Not Strictly Java Script II


SuzanneB
08-09-2004, 04:14 AM
Ok!
I am attempting to re-vamp a Web page that currently uses tables to format everything. Experiments show that by using css I can do the same job and shrink the download size of each page by 50%!
But I am new to css, so a little unsure about certain things.
I would like to default the entire page to a particular font and size, but experiments so far suggest that the size returns to 12pt inside a table. Problem is with my re-vamp, it does not get rid of all the tables. Only most. Also, things like padding are reset inside the table. This is a pain, it means that I need a "div" in every table to set the text size and padding. It also means that it is almost a complete wast of time setting anything in the body, because whatever is set is reset once you get inside a table. Just about the only thing that carries on into a table is the font name.

Is what I am saying correct?

Pittimann
08-09-2004, 04:34 AM
Hi!Is what I am saying correct?Not really.

Apart from the fact, that you would better direct such posts to the css forum (a part of the css experts also show up here in the js forum, but why not increase your chances that your questions are answered by them there):

have you ever tried:

td{
color:green;
font-weight:bold;
font-size:10pt;
}

in a style tag?

Good luck - Pit

SuzanneB
08-09-2004, 05:23 AM
You know it's such a long time that I have been in the layers above JavaScript, I didn't know there was a css forum. Upps. I will continue there...