General questions about CSS

liunx

Guest
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: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;">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.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.ACSS (Aural Cascading Style Sheets) <!-- m --><a class="postlink" href="http://www.xhtmlcoder.com/worthvalley/wvyfc13.php">http://www.xhtmlcoder.com/worthvalley/wvyfc13.php</a><!-- m -->
 
Back
Top