[EMAIL PROTECTED] wrote: > Is it possible to control the text in a td field with css?
Surely, with the usual CSS Caveats. However, as usual you need some "handle" to the element, i.e. a selector that refers to the element(s) that should be styled in a particular way and not to any other element. It depends on the structure how easy this is. If you cannot change the markup, then it might a fairly tough issue (grin). > I would > like to make some entries bold and centered and control this thru > css. I do not want to control the whole table row, just some of the > td entries. It really depends on the markup. > This is what I'm currently using: > > <tr> > <td><div align="center"><strong>9-25-08</strong></div></td> > <td><div align="center"><a > href="xxx.pdf"><strong>Name</strong></a></div></td> > <td>This is where some information would go that I do not > want centered or bold.</td> > </tr> A URL would paint a better picture, but if you wish to bold and center them for emphasis, then <strong> is really adequate markup and there is little reason to get rid of it. But if you wish to center such cells as well, then you could dispense with the presentational align attribute as well as the somewhat artificial markup and use just <td><strong>...</strong></td> for the cells to be emphasized, together with td strong { display: block; text-align: center; } in CSS > I thought I could make a class for td and apply that to the > appropriate areas That's possible too, and usually the best approach if there is no natural semantic markup you could use. > but can not seem to get it to work. I suppose then that there is some mistake in your HTML, CSS, HTTP, or somewhere else. :-) -- Yucca, http://www.cs.tut.fi/~jkorpela/ ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/