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.
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.
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
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
is working on a reply...
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.