Forum


HomeHomePremiumPremiumAdministrationAdministrationTrouble with centered table diplaying correctly in all browsersTrouble with centered table diplaying correctly in all browsers
Previous
 
Next
New Post
2/11/2013 7:59 AM
 
I have created a table in the content pane of my DNN site to enable better control of content placement.  I have centered the table and it displays just fine in IE but in all other browsers (Firefox, chrome, opera) it displays left justified.  Any ideas?
 
New Post
2/11/2013 8:38 AM
Accepted Answer 
Sometimes tables are hard to control. That is why I usaully try to stay away from them, unless I really need to show tabular information. I would try to style the TD from the table as style="text-align:center".

If the site is live, let me have a look at it.

Cheers,
Aderson
 
New Post
2/11/2013 9:16 AM
 

Hey Aderson,

I have always had trouble getting images and text to line up properly within an HTML module without using tables. 

You can see the site at ...

Hutch

1 Reports 
New Post
2/11/2013 9:37 AM
 

Hi Hutch,

On the table style just add margin: auto and that should centralize your table within the page, which  is what I think you want to do.

Cheers,

Aderson

 
New Post
2/11/2013 9:50 AM
 

Sorry Aderson, are you talking about in the actual code or somewhere in the DNN editor?

Hutch

 
Previous
 
Next
HomeHomePremiumPremiumAdministrationAdministrationTrouble with centered table diplaying correctly in all browsersTrouble with centered table diplaying correctly in all browsers



Try FREE
30 days money back guaranteed