SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Evangelist
    Join Date
    Oct 2005
    Posts
    405
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    CSS Background Issue

    I've worked on a simple gallery hosting site and there is an issue with the background image which fades from blue to white. There is still sections when you scroll down where the blue appears and im unsure how to remove this. Anybody any ideas? Thanks

    The Site and CSS is on one Page and located at:

    http://www.247gallery.co.uk/index.php

  2. #2
    SitePoint Wizard ryanhellyer's Avatar
    Join Date
    Oct 2006
    Location
    New Zealand
    Posts
    2,323
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fwww.247gallery.co.uk%2Findex.php

    Validate your site first, you'll find there's a lot bigger problems than just your background images. I suspect you can fix that by removing the repeat from something resembling {background: url(something.jpg) repeat} in your CSS.

  3. #3
    padawan silver trophybronze trophy markbrown4's Avatar
    Join Date
    Jul 2006
    Location
    Victoria, Australia
    Posts
    4,108
    Mentioned
    28 Post(s)
    Tagged
    2 Thread(s)
    Hi,

    I'd simplify this here using shorthand.
    Code:
    body { background: white url(background.gif) repeat-x top left;}
    I'd remove <td height="20" background="images/layout_02.gif"> and edit the banner image and save as gif/png with transparency so the gradient shows through.
    A quick and nasty fix would be
    Code:
    <td height="20" style="background: white url(images/layout_02.gif) no-repeat top left;">

  4. #4
    SitePoint Evangelist
    Join Date
    Oct 2005
    Posts
    405
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thanks those tips resolved the issue


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •