1
Peekay
CSS for Table CAPTION?
  • 2005/6/23 16:00

  • Peekay

  • XOOPS is my life!

  • Posts: 2335

  • Since: 2004/11/20


I've tried everything to set a CSS style for a table 'caption' but with no luck. I just can't seem to target it.

Anyone know a solution?
A thread is for life. Not just for Christmas.

2
Mithrandir
Re: CSS for Table CAPTION?

Which table? Some tables use a caption row with <th> tags, others use <tr class="head">
"When you can flatten entire cities at a whim, a tendency towards quiet reflection and seeing-things-from-the-other-fellow's-point-of-view is seldom necessary."

Cusix Software

3
Peekay
Re: CSS for Table CAPTION?
  • 2005/6/24 10:33

  • Peekay

  • XOOPS is my life!

  • Posts: 2335

  • Since: 2004/11/20


O.K. Sorry, solved it. My syntax error.

<caption>A Table of Contents</caption>


It's a requirement to make tables accessible to assisted technology browsers. Just add global 'caption' CSS to stylesheet, e.g.

caption {
font-size: 0.8em;
}
A thread is for life. Not just for Christmas.

Login

Who's Online

191 user(s) are online (105 user(s) are browsing Support Forums)


Members: 0


Guests: 191


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits