Strange display?
3 posts by 2 authors in: Forums > CMS Builder
Last Post: June 10, 2008 (RSS)
By Toledoh - June 10, 2008
Hi Guys,
Truly love CMS builder!
I have one things that has stumped me though... I have a listing of items, and they are displaying slightly differently down the page.
http://fabmosphere.com.tmp.anchor.net.au/productsList.php?category=seating
See how the "cool stools" are indented slightly from the image? The code looks the same to me, I've tried deleting them... and there are others like this throughout the "hire items" section.
Can you offer any pointers?
Cheers,
Tim
Truly love CMS builder!
I have one things that has stumped me though... I have a listing of items, and they are displaying slightly differently down the page.
http://fabmosphere.com.tmp.anchor.net.au/productsList.php?category=seating
See how the "cool stools" are indented slightly from the image? The code looks the same to me, I've tried deleting them... and there are others like this throughout the "hire items" section.
Can you offer any pointers?
Cheers,
Tim
Cheers,
Tim (toledoh.com.au)
Tim (toledoh.com.au)
Re: [Toledoh] Strange display?
By Dave - June 10, 2008
Hi Tim,
The way I usually figure these out is by saving the output as a html page and viewing and modifying that code directly. It takes the CMS out of the equation and often make tracking down the problem easier.
In this case when there is a lot of content in the 'bodytext' tablecell it's pushing that cell wider to the match width allowed by the table. But where there isn't that much content the 'bodytext' cell is more narrow and the image cell becomes wider.
Oh web browsers and their quirky behavior! One solution is to give the 'bodytext' cell a width of 464 (the table width less the image cell width) like this: <td ... width="464">
That will force it to be that width all the time.
Hope that helps!
The way I usually figure these out is by saving the output as a html page and viewing and modifying that code directly. It takes the CMS out of the equation and often make tracking down the problem easier.
In this case when there is a lot of content in the 'bodytext' tablecell it's pushing that cell wider to the match width allowed by the table. But where there isn't that much content the 'bodytext' cell is more narrow and the image cell becomes wider.
Oh web browsers and their quirky behavior! One solution is to give the 'bodytext' cell a width of 464 (the table width less the image cell width) like this: <td ... width="464">
That will force it to be that width all the time.
Hope that helps!
Dave Edis - Senior Developer
interactivetools.com
interactivetools.com
Re: [Dave] Strange display?
By Toledoh - June 10, 2008
Thanks Dave... I had the width as 413... and depending on the amount of content, the TD was aligning differently... easy fix Cheers!
Cheers,
Tim (toledoh.com.au)
Tim (toledoh.com.au)