CSS help please

Discussion in 'HTML/CSS' started by Plastic Box, Aug 14, 2007.

  1. Plastic Box CSNM Customer

  2. pgosling Guest

    All fine for me on IE7?
  3. sladmin CSNM Reseller

    Fine for me in FF 2.
  4. Doudar CSNM Reseller

    Looks ok for me too, IE7 / Vista.
  5. Ben Collier CSNM Customer

    Yeah looks fine- I just think you wanted to show of that you're doing the Eagles site :p

    How'd you get the job?
  6. Carl Shepherdson Proprietor

    All fine for me too.
  7. Plastic Box CSNM Customer

    Cool - thanks for all your replies!

    I must have fixed it then! I'm running IE6 here so it's hard to check - I've been relying on BrowserCam to help out!
  8. Plastic Box CSNM Customer

    It's all to do with who you know lol ;)

    I have a radio background.
  9. Plastic Box CSNM Customer

    OK just one problem remains (even though the site has now gone live!)

    If you look at the site in IE you'll see a nice "topical banner" as I write it's something to do with the School Holidays. However, on Firefox, this won't show. I've tried everything, but can't get it to work.

    Here's the code for the <div> that contains the topical banner:

    Code:
    <div id="topicalimage" style="background:url(../media/topimage/<%=(rs_topicalimagename.Fields.Item("main_image").Value)%>); background-position:right top; background-repeat:no-repeat; width:100%; height: 175px;">
    Is there any reason why that won't show in Firefox? I presume Firefox can deal with the dynamic element?

    Thanks for your help :)
  10. Ben Collier CSNM Customer

    off the top of my head:

    the url needs to be contained in 'these'? Could be the issue?
  11. Plastic Box CSNM Customer


    This bit works fine:

    Code:
    #menu { width: 100%; height: 175px; background: url(../images/menu.jpg) no-repeat; border-top: 1px solid #fff; }
    But it seems no different!

    I took out the dynamic element and it still doesn't work.

    Very confused!!
  12. Andrew Taylor CS New Media Staff

    Try playing with this bit:

    Code:
    background-position:right top;
    Otherwise, if you can post the full code, I'll have a quick look
  13. Plastic Box CSNM Customer


    Code:
     <div style="background:url(../media/topimage/<%=(rs_topicalimagename.Fields.Item("main_image").Value)%>); background-position:right top; background-repeat:no-repeat; width:100%; height: 175px;"></div>
    I've run this all by itself away from the rest of the content and it still shows nothing. I've even tried it with some text in the div, and still nothing.

    It's really odd, as I've pretty much replicated the background the menu header (the orange background with circles on it) as that displays just fine!

    www.964eagle.co.uk shows the site.
  14. Andrew Taylor CS New Media Staff

    Remove the space from the image name and it should work ok
  15. Plastic Box CSNM Customer

    I knew it'd be something stupid like that! Thank you so much! That really has saved me from pulling ALL of my hair out!

    I'm now happy that the site displays properly in Firefox and IE 6 and 7.

    Cheers

    Gavin
  16. Andrew Taylor CS New Media Staff

    No problem, took me a while to work it out, luckily my html software has a CSS checker built in which flags up errors.

Share This Page