For some reason I’m having cell spacing issues with this carousel page. I realize that I need to remove the empty cells I’m using for decoration, but why are the Buried and Estates carousel panels spaced properly, but the rest are not?
Okay, I removed all of the decorative spacing and have used a class style to add the rules, so the page is now XHTML 1.0 Strict compliant, but I’m still having cell height problems.
Carousel elements have to be a fixed dimension, that’s how the effect calculates the height or width of the internal “filmstrip” element and makes the animation move from one “frame” to the next. If you draw your tables as a nested child of a fixed-dimension HTML box (which will act as the base for each pane) you can then remove the height attribute from the table, which will cause the borders to snug up against the padding and content of the cells. What you’re seeing now is the fixed height of the table being evenly divided between the number of cells.
Walter
On Oct 2, 2012, at 9:44 AM, RavenManiac wrote:
Okay, I removed all of the decorative spacing and have used a class style to add the rules, so the page is now XHTML 1.0 Strict compliant, but I’m still having cell height problems.
The non-breaking space is there to fix a browser rendering foible – empty cells are (sometimes) not rendered at all, and their borders aren’t either. Note the f-sp class on that space, though – that renders the text as 1px tall, so I doubt it’s your problem. The table cells without any content do not have a height set, but those that do have content are set with a defined height (43px in the top row).
If you can’t get rid of the height by clicking on the up/down arrow icon left of the height field while the table is selected (handles showing at the corners), then try applying my RemoveDimensions Action to the table, and see if that fixes it.
Walter
On Oct 2, 2012, at 10:11 AM, RavenManiac wrote:
I thought that’s what I did.
Walter, I think I’ve located the problem. Check out this code:
The problem is definitely related to empty fields. I added text to the empty fields and the spacing problem went away. That’s why the Buried and Estate carousels look fine—all four columns are populated with data.
This will override the margin and line-height inherited from the base P tag. You could also put a shift-space (non-breaking space) in the offending cells, and apply your tableBody style to those – they are also set to have zero bottom margin.
Walter
On Oct 2, 2012, at 10:37 AM, RavenManiac wrote:
Unfortunately, neither option worked.
The problem is definitely related to empty fields. I added text to the empty fields and the spacing problem went away. That’s why the Buried and Estate carousels look fine—all four columns are populated with data.