Jump to content

Help Removing Table Borders In CMS Using HTML


Recommended Posts

Hi All,

This is possibly an easy one to solve, but Im stumped so could really use some guidance.

How do you remove the Borders around a table in CMS?

Im simply creating a page in Dreamweaver where the borders are all set to '0', and then pasting it into the HTML area on CMS. Instantly the Borders appear in the CMS editor and I cannot remove them.

I have tried fiddling with pretty much everything there is and STILL cannot shift what appears to be a faint grey border around my code imported from Dreamweaver.

Any help would be really appreciated.

Link to comment
Share on other sites

  • 4 weeks later...

This comes from the "global.css" file. You need to override this in your stylesheet.

Search for the folowing section in your "global.css" file:

div.rte caption, div.rte th, div.rte td, div.rte table,
.mceContentBody caption, .mceContentBody th, .mceContentBody td, .mceContentBody table {
text-align: left;
font-weight: normal;
background:none;
height:inherit;
border:1px #e5e6e7 solid;
text-align:center;

Change border:1px into border:0px and your tables will have no border.

  • Like 1
Link to comment
Share on other sites

  • 1 year later...
This comes from the "global.css" file. You need to override this in your stylesheet.

Search for the folowing section in your "global.css" file:

div.rte caption, div.rte th, div.rte td, div.rte table,
.mceContentBody caption, .mceContentBody th, .mceContentBody td, .mceContentBody table {
text-align: left;
font-weight: normal;
background:none;
height:inherit;
border:1px #e5e6e7 solid;
text-align:center;

Change border:1px into border:0px and your tables will have no border.



This fix should be default but it is not, even in 1.4 -- Now that I changed to the above, All edits work for tables now. I couldn't get any of the table edits to work until this change was made. I am working with Safari Browser. That may have something to do with it. Thanks for the fix.
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...