Mouseover not changing colour of entire entry.

Expanding / Collapsing, search engine friendly, Section menu.
Post Reply
norman
Site Admin
Posts: 1252
Joined: Sat Feb 07, 2004 9:55 pm

Mouseover not changing colour of entire entry.

Post by norman »

A few people have had issues with the entries in Collapso not changing colour when the mouse moves over them. They see just the text of the link change colour instead of the entire box.

I couldn't fix this and am grateful to Rob Butler who finally tracked it down. His findings are below:

Just thought I'd let you know the solution to the rollover colour issue we were having with Collapso.

If you create a template in Dreamweaver and your Dreamweaver preferences are set to use HTML 4.01 Transitional as the Default Document Type, everything works fine. If however your preferences are set to use XHTML as the Default Document Type, Actinic converts the doctype from XHTML to HTML - this is when the Collapso styling goes wrong.

For example if you start with:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
Actinic will convert this to:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

Once the design has been registered with Actinic you can change it to:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
and the Collapso rollover works beautifully.

Hope that makes sense!
Norman
Post Reply