CSS Commands

  • Thread starter frontpagecustoms.com
  • Start date
F

frontpagecustoms.com

I'm looking for a good resource on CSS Commands and what they translate
to:

Currently I'm trying to have all text in my table cells align at the
top, and create new tables with 0 cell spacing, 0 border, collapse
border.

What I have isn't working properly.

td { text-align: top; margin-top: 0; margin-bottom: 0 }
table { cellpadding: 0; cell-valign: top; border-collapse: collapse;
border-width: 0; width: 100% }
 
M

Murray

<table cellspacing="0" cellpadding="0"...

is still perfectly valid. In fact, there is no CSS equivalent for
cellspacing that is reliable, at least.
 
F

frontpagecustoms.com

Is that command good for the linked style sheet?

<table cellspacing="0" cellpadding="0"...

is still perfectly valid. In fact, there is no CSS equivalent for
cellspacing that is reliable, at least.
 
K

Kevin Spencer

Actually, these are not "Commands," but "styles," or "markup." A "command"
is an instruction to perform some action, while "markup" is attributes that
are used by the browser to render (paint) HTML with a certain appearance.
The browser always renders the HTML; the CSS is simply used by the browser
to modify the rendering.

Here are some excellent resources for learning CSS:

http://www.blooberry.com/indexdot/css/index.html
http://www.htmlhelp.com/reference/css/
http://cssvault.com/
http://www.quackit.com/css/properties/
http://www.w3.org/TR/REC-CSS2/

--
HTH,

Kevin Spencer
Microsoft MVP
Bit Player
http://unclechutney.blogspot.com

A pea rants as candy be sieving.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top