Block bug

Permalink
I created a table encapsulated by divs with a CSS border attribute and put it in the content block, adding the CSS to the page's CSS; It all appears fine except for the very last line at the bottom, which is missing. I tried giving the div more height, but to no avail. I added more text beneath it; the text showed up but the div border was still missing.

rrosskopf
 
MrKDilkington replied on at Permalink Reply
MrKDilkington
Hi rrosskopf,

The rich text editor in concrete5 5.7 automatically strips div tags from content. In general, the rich text editor is not suited for adding free form HTML. For situations where you need specific HTML structure, I recommend using the HTML block.
rrosskopf replied on at Permalink Reply
rrosskopf
Thank you for responding. The HTML block doesn't delete the Div statements, but the bottom line is still missing.

The Rich Text editor was important because of the many links that have to be updated from time to time; updating them in HTML every time would be nightmare.
Gondwana replied on at Permalink Reply
Gondwana
I tried to reproduce this problem, but couldn't. I added "border-style: solid;" to a table and all borders showed.

There could be subtle differences between browsers. Firefox (which I use) causes some misalignments in c5, but seems fine in this case. Try a different browser, if only to verify that the borders are actually there.

You could also experiment with adding padding to your content block.

EDIT: I perhaps misread the question: I assumed it was about table borders.