Closed (fixed)
Project:
Drupal core
Version:
4.6.5
Component:
theme system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
24 Feb 2006 at 08:10 UTC
Updated:
24 Feb 2006 at 10:14 UTC
file includes/themes.inc:426
they named a css class with a space inside
\$output .= \"div class=\"messages $type\"\n\";
while - as i know - there's no browser able to read css attributes of a class named like 'this is a class name'.
added an underscore, so it wil works like this
\$output .= \"div class=\"messages_\$type\"\n\";
Comments
Comment #1
heine commentedMultiple classes can be assigned to an element. In that case the class seperator is a space. This means that
class="message $type"assigns not one class, but two: one messages, the other the contents of $type. As you can see in the stylesheet for the default theme (themes/bluemarine/style.css) the class 'messages' is used on it's own.This happens in more places, most notably with blocks.
Comment #2
ebruts commentedClosed as this is not a bug.