English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

CAPTION {display:block; font-family:Verdana, Arial, Helvetica, sans-serif; text-align:left; color: #FFFFFF;}
CAPTION:after {content: "THE END"; display:inline;}

This is some code im working on, it displayes capton but doesnt add THE END to the end of it.

Any ideas would be greatly apprciated

James

2006-12-03 16:03:08 · 3 answers · asked by Anonymous in Computers & Internet Programming & Design

3 answers

you can't rely on after. at least not in all browsers (read that as Microsoft stuff)

more browsers support content: for re-writing the html (usually with an image).

for full control... there is another stylin' language xslt! it does it all and more! but requires a bit more learning! And it is THE language for styling XML!

2006-12-03 18:30:46 · answer #1 · answered by jake cigar™ is retired 7 · 0 0

Check to see if your browser supports generated content. It's not supported in many browsers.

2006-12-04 00:13:08 · answer #2 · answered by bicyclesforeveryone 1 · 0 0

What browser are you using? IE doesn't support the :after pseudo-element, even IE7 (I just tried it, it works in Firefox).

2006-12-04 00:10:52 · answer #3 · answered by Bryan A 5 · 0 0

fedest.com, questions and answers