CSS to table editor style?

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
rj
Regular
Posts: 477
Joined: Sun Sep 10, 2006 2:53 pm

CSS to table editor style?

Post by rj »

I there something I can do in CSS to create a standardized table within the editor? You know, like if you make a table have it a certain BG color and border color? And have it always be the same? Not enough depth in the FKC editor to do it there. I only recently noticed most blogs use a standardized bordered table to put quotes and copyright stuff in.


RJ
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: CSS to table editor style?

Post by garvinhicking »

Hi!

Sure, you can use CSS like:

Code: Select all

.serendipity_entry table td {
background-color: red;
}
in your style.css file.

However CSS does only allow to to use "Content:" with CSS2, and I think IE does not support this yet. But bordres, colors etc. can all be done.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
rj
Regular
Posts: 477
Joined: Sun Sep 10, 2006 2:53 pm

Post by rj »

Ah... I understand all that!
I am progressing! :)

RJ
Post Reply