+ Reply to Thread
Results 1 to 10 of 10

Thread: CSS? - background color doesnt stay the same

  1. #1
    kshare is offline x10Hosting Member kshare is an unknown quantity at this point
    Join Date
    Apr 2009
    Posts
    5

    CSS? - background color doesnt stay the same

    Hey, I've got a little bit of a problem.
    For pages that don't overflow, say, http://kshare.info/404please,
    the area beyond the footer sometimes stays white for some reason, rather than being #666 as it's supposed to.
    If you don't see it right now, refresh enough times and it'll be white.
    Is this a css problem, or possibly even a server problem?

    stylesheet: http://kshare.info/styles/K8B/K8B.css

    thanks.

  2. #2
    drf1229 is offline x10Hosting Member drf1229 is an unknown quantity at this point
    Join Date
    Jun 2009
    Posts
    71

    Re: CSS? - background color doesnt stay the same

    I think its a browser problem :O. It works fine for me. What browser are you using?
    Your 14 year old web developer. If I can do it, you can!
    My site
    My iPhone App

  3. #3
    greatm is offline x10Hosting Member greatm is an unknown quantity at this point
    Join Date
    Nov 2009
    Posts
    25

    Re: CSS? - background color doesnt stay the same

    Well, I spent ten minutes refreshing and shifting compatibility views in internet explorer to try and see your mysterious whit footer in non-overflow area and never once encountered your problem. I took a quick gander at your css as well and nothing caught my eye and everything I saw seemed to indicate that what I saw was what was meant to be displayed. I am leaning toward it not being a CSS error or a server error and saying that it is most likely a browser error on your computer. I'd try clearing your cache and seeing if your issue goes away, maybe even running a defrag to see if it is just your computer showing some signs it needs a little maintainence. I suppose if you keep having this issue you can try adding another tag to your CSS sheet making the HTML tag have your background of #666666 like you have done with your body tag and see if setting it to that in two places keep it from displaying as white for you.

  4. #4
    misson is offline x10 Spammer misson is a jewel in the rough
    Join Date
    Mar 2008
    Location
    Libertatia
    Posts
    2,506

    Re: CSS? - background color doesnt stay the same

    Firefox 3.5 and Safari 4.0.4 also work fine. OP, please report your browser, including version.
    Quote Originally Posted by kshare View Post
    For pages that don't overflow, say, http://kshare.info/404please,
    the area beyond the footer sometimes stays white for some reason, rather than being #666 as it's supposed to.
    Screencap? Do you need to refresh a bunch of times in order to see the issue? Perhaps you're running into a browser bug or style flash.
    Last edited by misson; 12-06-2009 at 08:47 PM.
    Be sure to read all pages linked in this post; they have further information that should prove useful. When asking for help, make sure you follow Eric Raymond's and Jon Skeet's guidelines for prompt, accurate responses. Please answer any questions I ask; they're not rhetorical (probably). Any posted code is intended as illustrative example, rather than a solution to your problem to be copied without alteration. Study it to learn how to write your own solution.
    Misson, not Mission.

  5. #5
    diabolo's Avatar
    diabolo is offline Community Advocate diabolo is on a distinguished road
    Join Date
    Nov 2007
    Location
    Jersey Shore
    Posts
    1,683

    Re: CSS? - background color doesnt stay the same

    have you tried to clear you cache?

  6. #6
    kshare is offline x10Hosting Member kshare is an unknown quantity at this point
    Join Date
    Apr 2009
    Posts
    5

    Re: CSS? - background color doesnt stay the same

    Judging by your replies it is most likely a browser error.
    I myself am using Google Chrome, 3.0.
    However, I have a friend who also experiences the same issue, but on Safari as well as Firefox,
    so I'm not entirely certain what the problem might be.
    :dunno:

    heres a screenshot:

    ------------this is the bottom---------
    Last edited by kshare; 12-06-2009 at 11:39 PM. Reason: add screenshot

  7. #7
    coolv1994 is offline x10 Elder coolv1994 is an unknown quantity at this point
    Join Date
    Nov 2007
    Posts
    506

    Re: CSS? - background color doesnt stay the same

    I'm using Inter Explorer 8 and it looks fine to me. I think it might be that when you refresh sometimes the stylesheet doesn't completely load so the layout will be messed up because Windows won't always cache the files right.

  8. #8
    misson is offline x10 Spammer misson is a jewel in the rough
    Join Date
    Mar 2008
    Location
    Libertatia
    Posts
    2,506

    Re: CSS? - background color doesnt stay the same

    Tried it in Chrome and got white at the bottom. Resized the window, and it went away. As odd as it sounds, it makes me suspect a bug in WebKit.

    When I inspected the document, I notice that the area that is sometimes painted white is outside the rendering area of the <body> element. I also notice that you've set the background color on body. Try adding a CSS rule to set the background color on html as well.

    Quote Originally Posted by kshare View Post
    However, I have a friend who also experiences the same issue, but on Safari as well as Firefox,
    What versions? What OS?
    Last edited by misson; 12-06-2009 at 11:49 PM.
    Be sure to read all pages linked in this post; they have further information that should prove useful. When asking for help, make sure you follow Eric Raymond's and Jon Skeet's guidelines for prompt, accurate responses. Please answer any questions I ask; they're not rhetorical (probably). Any posted code is intended as illustrative example, rather than a solution to your problem to be copied without alteration. Study it to learn how to write your own solution.
    Misson, not Mission.

  9. #9
    kshare is offline x10Hosting Member kshare is an unknown quantity at this point
    Join Date
    Apr 2009
    Posts
    5

    Re: CSS? - background color doesnt stay the same

    Quote Originally Posted by misson View Post
    What versions?
    safari 4.0.4 on mac osx 10.6.2
    my friend just checked and couldn't get the error again on firefox, so I guess it's just safari, and chrome.
    I'm using XP Pro SP2.
    Last edited by kshare; 12-07-2009 at 12:32 AM.

  10. #10
    misson is offline x10 Spammer misson is a jewel in the rough
    Join Date
    Mar 2008
    Location
    Libertatia
    Posts
    2,506

    Re: CSS? - background color doesnt stay the same

    Quote Originally Posted by kshare View Post
    safari 4.0.4 on mac osx 10.6.2
    my friend just checked and couldn't get the error again on firefox, so I guess it's just safari, and chrome.
    Makes sense, as both are WebKit based.

    Did you try setting the background on html?
    Be sure to read all pages linked in this post; they have further information that should prove useful. When asking for help, make sure you follow Eric Raymond's and Jon Skeet's guidelines for prompt, accurate responses. Please answer any questions I ask; they're not rhetorical (probably). Any posted code is intended as illustrative example, rather than a solution to your problem to be copied without alteration. Study it to learn how to write your own solution.
    Misson, not Mission.

+ Reply to Thread

Similar Threads

  1. [OFF] [100 points] Joomla template porting
    By neverlate2day in forum The Marketplace
    Replies: 4
    Last Post: 09-23-2009, 11:09 AM
  2. html/css background issue
    By garrensilverwing in forum Programming Help
    Replies: 9
    Last Post: 09-22-2009, 02:04 AM
  3. Replies: 1
    Last Post: 05-31-2008, 09:23 PM
  4. can anyone convert a CSS into an IPB skin for me?
    By leafypiggy in forum Programming Help
    Replies: 0
    Last Post: 05-06-2008, 07:41 PM
  5. My web designe
    By dharmil in forum Graphics & Webdesign
    Replies: 7
    Last Post: 07-20-2006, 09:23 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers