forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gavin (JIRA)" <j...@apache.org>
Subject [jira] Commented: (FOR-827) Weirdness in CSS after url
Date Tue, 14 Mar 2006 10:05:40 GMT
    [ http://issues.apache.org/jira/browse/FOR-827?page=comments#action_12370331 ] 

Gavin commented on FOR-827:
---------------------------

Try surrounding the url in quotes, worked for me, also is recomended use by W3C and ensures
cross-browser compatibility.

Something like :- 

background: url("/images/tednoffsfoundation.jpg") top left no-repeat; 

Otherwise, what hook/div is it contained it, this will help narrow it down as to waht .ft
file to look in for possibilities.
For instance, there are plenty of these knocking around :-

background: <xsl:value-of select="@value"/>;

Note the addition of a semi-colon at the end.

> Weirdness in CSS after url
> --------------------------
>
>          Key: FOR-827
>          URL: http://issues.apache.org/jira/browse/FOR-827
>      Project: Forrest
>         Type: Bug
>   Components: Dispatcher (aka views)
>     Versions: 0.8-dev
>     Reporter: paul bolger
>     Priority: Minor

>
> Don't quite understand were this is coming from. It appears that Forrest is trying to
improve on my stylesheets...
> If a stylesheet contains a a URL, when referencing a background image in this particular
case, Forrest inserts an extra semicolon after the closing bracket containing the URL. This
is get-roundable normally, skip the semicolon, but it prevent the use of the shorthand background
property as the semicolon truncates the rule.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message