css and tables

mattiasb

New Member
Am trying yo learn CSS, but to my surprise it's suddenly a problem when it comes to tables! Anyone who knows something about this and can explain how to keep the text the way I want it inside a table?

Regards,
Mattias
 

adx

New Member
Just add a margin to the paragraph tag. I think a Google search for CSS margins should do the trick :)

Edit: I assumed that's what you were referring to when you said 'the way I want'
 

mattiasb

New Member
I had a text formatted with css that worked ok. then I put the text in a cell and it stopped working....! tried to put the css link inside the cell but dont seem to work either...
 

JayT

New Member
In CSS:

td {
font: 10pt arial, helvetica, sans-serif;
}

In a particular ID (can also be a class):

#main td {
font: 10pt arial, helvetica, sans-serif;
}
 
Top