www.webdeveloper.com
Results 1 to 5 of 5

Thread: General questions about CSS

  1. #1
    Join Date
    Dec 2002
    Posts
    42

    Lightbulb General questions about CSS

    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?

  2. #2
    Join Date
    Jan 2003
    Location
    Atlanta, GA
    Posts
    571

    Re: General questions about CSS

    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;">

  3. #3
    Join Date
    Nov 2002
    Location
    XYZZY - UK
    Posts
    1,760
    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.

  4. #4
    Join Date
    Dec 2002
    Posts
    42

    Unhappy What in the heck is ACSS?

    What in the heck is ACSS?

    P.S. No, that vertical-align code didn't center the div. 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.
    Last edited by MarkE; 03-28-2003 at 11:13 PM.

  5. #5
    Join Date
    Nov 2002
    Location
    XYZZY - UK
    Posts
    1,760
    ACSS (Aural Cascading Style Sheets) http://www.xhtmlcoder.com/worthvalley/wvyfc13.php

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles