Example 1
========
ul.ul-01 li {padding:2px 0 2px 25px;
background:url("../design/ul-01.gif") 0 50% no-repeat; font-size:85%;}
Where design directory is relative to the current directory of CSS File.
Example 2
========
.formbutton5{
cursor:pointer;
width:100px;
border:outset 1px #ccc;
background:#999;
color:#666;
font-weight:bold;
padding: 1px 2px;
background:url("/wbrt/web/tool_staging.php/web/images") repeat-x left top;
}
Here we specify the absolute path from the application location "wbrt".
Let me know if you have any issues....
On Mon, Jan 25, 2010 at 5:02 PM, Pax95 <[email protected]> wrote:
> How to use imagepath in css files?
>
> --
> You received this message because you are subscribed to the Google Groups
> "symfony users" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en.
>
>
--
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en.