| 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> |
|---|---|---|
| ||
| Previous by Date: | Re: I'm having a problem putting images of different sizes next to each other, Murray *ACE* |
|---|---|
| Next by Date: | Alternative to DW's Editable Region function, ~Billy~ |
| Previous by Thread: | Re: How To Create Drop Down Definitions, GeekyGirl406 |
| Next by Thread: | CSS Class versus ID for PHP/MySQL, tomwood2 |
| Indexes: | [Date] [Thread] [Top] [All Lists] |