macromedia.dynamic.html
[Top] [All Lists]

Re: How To Create Drop Down Definitions

Subject: Re: How To Create Drop Down Definitions
From: "Steve" <zen27157NO-SPAM@xxxxxxxxx>
Date: Mon, 28 Jul 2008 23:18:19 +0100
Newsgroups: macromedia.dynamic.html

> Seems that my little problem of only being able to see the definition once
> only occurs in testing mode.  Once I uploaded the pages to my website and 
> went
> live with it, it seems to work.  Thanks for the help.
>
> Now is there a way to format that definition box in CSS?
>

You bet. In your <dl>, <dt>, or <dd> tag (as appropriate), you can insert an 
inline CSS style. Alternately, you can assign a class or ID, and set the 
styles in a page level or externally linked CSS.

Inline:

<dt style="background: #000000;">

Page (in head section):

<style>
    dt {background: #000000;}
</style>

Reference external file (in head section)

<link href="style.css" type="text/css" rel="stylesheet" />

External style.css

dt {
    background: #000000;
}


Does this make sense?

Steve



<Prev in Thread] Current Thread [Next in Thread>