Table to Div, HTML attributes to CSS styles

by zapseo
4 replies
  • WEB DESIGN
  • |
This has been the one thing that has been bugging me for a while.

If I try to create a css style rule that is the equivalent of this:

<border="0" cellpadding="0"
cellspacing="0" width="411" align="center">

What would it be?

Especially, what would I use for: align="center" ?
I'm trying to find the equivalent while using KompoZer.
The best I can seem to find is "text-align: center", but that only affects the enclosed text, not the box containing the text. And that's what I want to do, I want to center the "box" containing the text.

Thanks!

Judy
#css #div #html #styles #table

Trending Topics