Page 1 of 1

center all of trends images???

Posted: Wed 06 Aug 2014 6:53 am
by ace2
I'm scratching my head with this one..

I'm attempting to center all the thumbnails and main graph in the trendsT instead of having them to the left of page...

links to trendsT and style sheet below :

http://www.users.on.net/~ace2/templates/

Re: center all of trends images???

Posted: Wed 06 Aug 2014 7:12 am
by steve
Try this:

Change the <p> containing the image to <p style="text-align:center">

Change the <table...> containing the thumbnails to <table cellpadding="0" cellspacing="0" id="Graph_menu" style="margin:0 auto">

Re: center all of trends images???

Posted: Wed 06 Aug 2014 7:32 am
by ace2
steve wrote:Try this:

Change the <p> containing the image to <p style="text-align:center">

Change the <table...> containing the thumbnails to <table cellpadding="0" cellspacing="0" id="Graph_menu" style="margin:0 auto">
Thanks Steve, i knew it was something simple!!!

Re: center all of trends images???

Posted: Tue 19 Aug 2014 1:22 am
by ace2
Steve with html5 with TrendsT, what needs to be changed to make it align center as the template has changed a bit??

template file http://www.users.on.net/~ace2/trendsT.htm

I'm slowly converting everything and this template is giving me grief again...

Re: center all of trends images???

Posted: Tue 19 Aug 2014 4:38 am
by ace2
Think i got it.

Changed the table line to

Code: Select all

<table style="margin: auto; border-collapse: collapse; border-spacing: 0; "> 
Seems to be working now....