By the way, check that:
"7.5.2 Element identifiers: the id and class attributes
Attribute definitions
id = name [CS]
This attribute assigns a name to an element. This name must be
unique in a document.
class = cdata-list [CS]
This attribute assigns a class name or set of class names to an
element. Any number of elements may be assigned the same class name or
names. Multiple class names must be separated by white space
characters."
— http://www.w3.org/TR/html401/struct/global.html#h-7.5.2
Cheers,
-- Yoan
On Mon, Jun 9, 2008 at 7:15 AM, andrei <[EMAIL PROTECTED]> wrote:
>
> 1. create folder 'static' in your project path
> 2. place your 'image.png' there
> 3. then set background in your css, just like this: background:#fff
> url(/static/image.png);
>
> On Jun 9, 3:31 am, cirfu <[EMAIL PROTECTED]> wrote:
>> i have a file i want to set as a background-image:
>> background: url("C:\Python25\Progs\webapps\feedApp\templates
>> \larsson.jpg")
>>
>> however inserting that somewhere doesnt set the image as background as
>> supposed to.
>> how do i set a background?
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web.py" 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/webpy?hl=en
-~----------~----~----~----~------~----~------~--~---