Anonymous wrote:
I just started to learn a little html and I woud like to make a shop blog, I've been to lissaexplains and soupfairie.com to read about the basics, but now I'm stuck...
I took a look at a standard neopets shop blog to see if I understood it a little. I made the bits I don't understand bold and I hope someone can explains those parts to me.
<div align="center"><table border="0" cellpadding="0" cellspacing="0" width="300" height="425" background="http://images.neopets.com/shopblogs/zaffyhide.gif"><tr><td width="300" height="222" colspan="3"> </td></tr><tr><td width="4" height="199"></td><td width="292" height="199"><div style="width: 292; height: 199; overflow: auto; font-family: Verdana, Tahoma, Helvetica, sans-serif; font-size: 11px; color: #000000;scrollbar-arrow-color:#FFFFFF; scrollbar-track-color:#517CFD; scrollbar-face-color:#0033FF; scrollbar-highlight-color:#517CFD; scrollbar-3dlight-color:#0033FF; scrollbar-darkshadow-color:#1334BA; scrollbar-shadow-color:#0033FF;"><div style="padding: 5px;">
THIS IS WHERE ALL YOUR SPIFFY TEXT GOES.
<br></div></div></td><td width="4" height="99"></td></tr><tr><td width="300" height="4" colspan="3"></td></tr></table></div>
What do all those widths and heights do, what is "colspan" and why are there multiple fonts? I hope I do not sound to "New Member", but I hope you can help.
TR stands for table row. TD defines a data cell in a table. Width and Height define the dimensions of the cell. colspan defines the columns spanned by the cell.
There are many fonts, the browser will choose the first one(verdana). but if it is unavailable, it will choose the second, and so on. They belong to a family and cannot be changed, unless you change the whole family.
The DIV element defines a generic block-level container, allowing authors to provide style or language information to blocks of content.
The rest below the text are closing tags. <BR> is a line break.