Closed (fixed)
Project:
Four Seasons
Version:
6.x-1.20
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
13 Oct 2008 at 01:31 UTC
Updated:
4 Jun 2009 at 12:58 UTC
How can I create a table without border?
When I create in a node a table with no border, when I publish it the table appears with a gray thick border.
Comments
Comment #1
derjochenmeyer commentedHi ionuts71, its the themes style.css that sets the table border. Maybe i should have made the css more specific. What you can do is use Firebug (a Firefox Add-on). There you can rightclick and find which line in the css creates the border and change it. For example here you could just completely remove this from the style.css
Comment #2
sumitshekhawat7331 commentedjust go in to system module folder inside the module folder...
here you can find two css files named default.css and system.css in this you can find that div of that table...
and you can change easily..
Comment #3
ionuts71 commentedMany thanks.
Comment #4
MGParisi commentedI am having a problem with the default.css setting the table {border-collapse: collapse;}
I don't know why the default.css sets this as a value, it makes certain rows have no left or right borders. I fixed it by over-riding it with table {border: separate} however this bugs me because it could cause other problems.
This is a problem in D6, and It sounds like it continues to be a problem in d7... Maybe some tables should have a class with tcollapse?
I will continue to research this problem as much as I can.