Click to See Complete Forum and Search --> : General questions about CSS


MarkE
03-24-2003, 06:09 PM
1. Can you specify a background sound, or any sound, by using CSS?

2. Let's say I have this DIV, and I want the text to be centered vertically. What CSS code can do that? :rolleyes:

nkaisare
03-24-2003, 08:52 PM
1. Can you specify a background sound, or any sound, by using CSS?
No, not using CSS.

2. Let's say I have this DIV, and I want the text to be centered vertically. What CSS code can do that?
<div style="vertical-align: middle;">

Robert Wellock
03-26-2003, 06:10 AM
You cannot specify a background sound using CSS however you can trigger a background sound using ACSS for example: h1 {cue-before: url("ping.au");} however, you'll have a hard time finding a browser that will support ACSS.

MarkE
03-28-2003, 10:05 PM
What in the heck is ACSS? :confused:

P.S. No, that vertical-align code didn't center the div. :o Sorry!

If the code for aligning text is text-align:center; then probably the code for vertical alignment (which I don't know) might fix the problem.

Robert Wellock
04-01-2003, 08:52 AM
ACSS (Aural Cascading Style Sheets) http://www.xhtmlcoder.com/worthvalley/wvyfc13.php