table border?

HTML, CSS and anything else that deals with client side capabilities.

Moderator: General Moderators

Post Reply
User avatar
jayson.ph
Forum Contributor
Posts: 165
Joined: Mon Jan 02, 2012 9:20 am
Location: MP
Contact:

table border?

Post by jayson.ph »

Hi all,

There is any possible to disable the border line from the table even if you declare it as border="0" but still there the line remain? please any suggestion. thank.
User avatar
Celauran
Moderator
Posts: 6427
Joined: Tue Nov 09, 2010 2:39 pm
Location: Montreal, Canada

Re: table border?

Post by Celauran »

Code: Select all

table { border: none; }
User avatar
jayson.ph
Forum Contributor
Posts: 165
Joined: Mon Jan 02, 2012 9:20 am
Location: MP
Contact:

Re: table border?

Post by jayson.ph »

Thanks
User avatar
jayson.ph
Forum Contributor
Posts: 165
Joined: Mon Jan 02, 2012 9:20 am
Location: MP
Contact:

Re: table border?

Post by jayson.ph »

Hi all.

i wondering this, why it still the line border is there. is their any code for it to disable the line. i use the code who suggest by "celauran".
here are the code i use for the border and the site is here.

http://www.octagon.com.ph/cms.php?id_cms=14

Code: Select all

border: none;
font-family:Verdana,Arial,Helvetica,Sans-Serif;
font-size:14px;
color:#000000;
User avatar
Celauran
Moderator
Posts: 6427
Joined: Tue Nov 09, 2010 2:39 pm
Location: Montreal, Canada

Re: table border?

Post by Celauran »

I don't see a border on the table, but on the individual cells here.

Code: Select all

td { border: none; }
User avatar
jayson.ph
Forum Contributor
Posts: 165
Joined: Mon Jan 02, 2012 9:20 am
Location: MP
Contact:

Re: table border?

Post by jayson.ph »

i try, this

Code: Select all

td { border: none; }
but as-usual. the border is there.
User avatar
Celauran
Moderator
Posts: 6427
Joined: Tue Nov 09, 2010 2:39 pm
Location: Montreal, Canada

Re: table border?

Post by Celauran »

You have to look at the rules you've already got applied. .rte td and .mceContentBody td both apply borders to table cells.

Code: Select all

table.jph_tbl_brotherpromo1 td { border: none; }
User avatar
jayson.ph
Forum Contributor
Posts: 165
Joined: Mon Jan 02, 2012 9:20 am
Location: MP
Contact:

Re: table border?

Post by jayson.ph »

Wow.. it really Work.. Thank you Celauran.
Post Reply