Trouble with table alignment
Posted: Wed Apr 07, 2010 7:08 am
Hi,
I face an alignment problem with tables. I looks like it is caused by my stylesheet css because when I disable css (using FF web developer - cssid=528) it behaves like expected.
So here's the problem description;
A table when aligned center while editing the page is not showed centered on the front end although the source code shows it should align center. The table remains persistant on the the left. Assigning right align to the same table it does show on the right hand side. My work around for the time being was to put a around {content} in the associated template. But of course everything is forced to center by doing so which is allright for this site anyway but in other cases it might be very inconvenient.
I have set up two test pages to illustrate this behaviour and would appreciate if anyone could explain what is causing this inconsistant behaviour.
first test page using the modified template (with forcing div's) forcing content to center:
http://83.98.128.43/~larosa/index.php?page=test
second test page using the original template (without forcing div's):
http://83.98.128.43/~larosa/index.php?page=test2
Appreciate any response
I face an alignment problem with tables. I looks like it is caused by my stylesheet css because when I disable css (using FF web developer - cssid=528) it behaves like expected.
So here's the problem description;
A table when aligned center while editing the page is not showed centered on the front end although the source code shows it should align center. The table remains persistant on the the left. Assigning right align to the same table it does show on the right hand side. My work around for the time being was to put a around {content} in the associated template. But of course everything is forced to center by doing so which is allright for this site anyway but in other cases it might be very inconvenient.
I have set up two test pages to illustrate this behaviour and would appreciate if anyone could explain what is causing this inconsistant behaviour.
first test page using the modified template (with forcing div's) forcing content to center:
http://83.98.128.43/~larosa/index.php?page=test
second test page using the original template (without forcing div's):
http://83.98.128.43/~larosa/index.php?page=test2
Appreciate any response