+1-888-365-2779
Try Now
More in this section

Forums / Designing & Styling / Sitefinity filtering fully qualified background-image urls?

Sitefinity filtering fully qualified background-image urls?

4 posts, 0 answered
  1. Eric
    Eric avatar
    18 posts
    Registered:
    19 Jan 2011
    17 May 2011
    Link to this post
    In my CSS, I'm using fully qualified domain names for the background-image setting. Our images are hosted on their own subdomain separate from the domain that Sitefinity is running on. For example, if our primary domain is:

    http://www.ourdomain.com

    The css is:

    div .main { background-image: url('http://www.ourseconddomain.com/images/pixel.png'); }

    I have a div like:

    <div class="main"><!--content here--></div>

    If I view the applied CSS, it says:

    div .main {}

  2. Jordan
    Jordan avatar
    172 posts
    Registered:
    20 Oct 2015
    20 May 2011
    Link to this post
    Hi Eric,

    I've tested the scenario and everything seems to work as expected. Is there something specific that we've missed? Or can you provide us the real addresses so we can inspect the code there?

    Best wishes,
    Jordan
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. Markus
    Markus avatar
    2763 posts
    Registered:
    25 Nov 2005
    20 May 2011
    Link to this post
    Dear Eric

    This might be a dumb question. I assume you have tested it with acutally some content in the DIV

    If I remember correct FF will even ignor some min-height or width settings if you have not at least an &nbsp; in it.

    Sorry for asking such a basic question.

    Can you make a demo page where we can look? Firebug in Firefox is always a great help.

    Markus
  4. Jordan
    Jordan avatar
    172 posts
    Registered:
    20 Oct 2015
    26 May 2011
    Link to this post
    Hi Markus,

    I am not sure if is something related to the sizes. Eric said that the CSS request returns div .main {} - an empty value.

    We will check this right away when we can access the demo page.

    All the best,
    Jordan
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
4 posts, 0 answered