Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • adasilva 11 posts 20 karma points
    Feb 06, 2009 @ 11:42
    adasilva
    0

    CSS and Images

    Hello All,
    I am a newbie in umbraco. This is my second day now. So far so good...
    My question is the folloiwing:
    I need to populate a div tag with a image using CSS. I have created my style sheet and have my page using it. What I can not figure out is how to upload an image to the project and set the CSS background-image Url to point to the image.
    I tried to use the Media and imported my image. Is this the right way? if so now what do I enter on the CSS background-image tag.


    Regards
    Adasilva

  • Laurence Gillian 600 posts 1219 karma points
    Feb 06, 2009 @ 11:56
    Laurence Gillian
    0

    I normally just create a folder within 'wwwroot' called images, and drop my files in there...

    E.g.

    http://fairplayforsportsbetting.eu/images/img-smallMap.png

    You just maintain this using the normal windows tools, rdc/ftp, etc...

    You can do it via the media section, and be quite cunning and have dynamically created stylesheets using XSLT. Its something I've played with a little, but as of yet its not be needed for any of my projects.

    Laurie

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies