Displaying 1 result from an estimated 1 matches for "810px".
Did you mean:
10px
2006 Aug 31
2
Url rewriting for random urls
...ning) and it is very useful because I
have to use the relative_url_root way.
Now I wonder how I can use that for other URLs. I want a background image
for a table cell so I have to write something like:
<td align=''right'' valign=''bottom'' style=''width: 810px; height: 113px;
background: url(<% url_for(''images/header.png'')%>) no-repeat center center''
>
(Of course the css is going to a separate file but the problem stays the
same.) What method should I use instead of url_for to do the correct url
mapping? link_to does...