Viewing: 1-4 of 4
livioz

livioz - Dec 31, 2006 1:45 pm - Voted 10/10

very useful...

..contribution for all SPers!
A question: which is the difference between the command "td" and the one that you use, "th" ?
With my best wishes!
livio

Michael Hoyt

Michael Hoyt - Jan 1, 2007 12:12 am - Hasn't voted

Re: very useful...

Although “th” and “td” do basically the same thing, that is define the contents of a single cell in a table, each gives a different result. Officially, each is defined as…

TH – defines a Table’s Header
TD – defines a Table’s Data

The reason I used “th” is that it centers a cell’s contents while “td” does not. Of course one can “force” centering by including additional HTML code for each cell, but I didn’t want to do that. Call it “being lazy” or “elegant coding”, it’s your choice.

Cedar

Cedar - Sep 16, 2007 5:15 pm - Hasn't voted

Re: very useful...

To put it simple, th makes the text inside the cell bold and also centers it as thephotohiker mentioned. You can make td centered as well by adding a code that says 'align="center"' to the td span.

JohnMcPike

JohnMcPike - May 17, 2008 9:52 pm - Hasn't voted

Your pics

are really awesome and couldn't help but vote on a few.

Viewing: 1-4 of 4
Return to 'Under Construction - Used for Editing' main page