1
diyerk
Theme Alignment: What Am I Missing?
  • 2005/4/5 15:54

  • diyerk

  • Just popping in

  • Posts: 8

  • Since: 2005/3/16


I am modifying a theme (penguin), I wanted to have a fixed, left-aligned table.

Right now, I only have the CSS file, style.css.

My site has the "correct" alignment in Firefox but it (table) is centered in IE. What am I missing here?

A portion of my css file is here:

body {colorblackmargin0padding0text-align:centerbackgroundurl(images/mainbak4.jpg);}
form {margin-bottom:0pxmargin-top:0px;}

table.main {width800pxbackground:#ffffff; align: left;}
table {width100%; margin0pxpadding0pxalignleft;}
table td {padding0vertical-aligntopborder-width0font-familyVerdanaArialHelveticasans-serif;}


Any help is very much appreciated.

2
tjnemez
Re: Theme Alignment: What Am I Missing?
  • 2005/4/5 16:31

  • tjnemez

  • Home away from home

  • Posts: 1594

  • Since: 2003/9/21


try this:
table.main {width: 800px; background:#ffffff; text-align: left;}

3
diyerk
Re: Theme Alignment: What Am I Missing?
  • 2005/4/5 16:42

  • diyerk

  • Just popping in

  • Posts: 8

  • Since: 2005/3/16


Quote:

try this:
table.main {width: 800px; background:#ffffff; text-align: left;}


Hi, it just changed the alignment of the text inside a row, not the alignment of the (entire) table...

Should I change some codes in theme.html?

4
tjnemez
Re: Theme Alignment: What Am I Missing?
  • 2005/4/5 16:51

  • tjnemez

  • Home away from home

  • Posts: 1594

  • Since: 2003/9/21


try this:
table.main {width: 800px; background:#ffffff; text-align: left; margin: 0 auto;}

not sure why it only affected a row

Login

Who's Online

140 user(s) are online (77 user(s) are browsing Support Forums)


Members: 0


Guests: 140


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits