Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 5 of 5

Thread: What the duck?

  1. #1
    Member Overlord's Avatar
    Join Date
    May 2011
    Location
    Prijedor
    Posts
    86
    Member #
    27819
    Liked
    2 times
    So, I'm creating a website and it doesn't show background :O
    Here is HTML
    HTML Code:
    <html>
    <head>
    <title>Wazzap</title>
    </head>
    <body>
    </body>
    </html>
    and CSS
    HTML Code:
    body {margin:0px; padding:0px; background-color:yellow;}
    Basically, I added the background(color,image,doesn't matter) but the background is blank.Why?
    Owner of Visual Studio

  2.  

  3. #2
    Senior Member Webzarus's Avatar
    Join Date
    May 2011
    Location
    South Carolina Coast
    Posts
    3,322
    Member #
    27709
    Liked
    770 times
    Your HTML doesn't show how you are including your CSS file ? Internal or external style sheet ?
    It's always good practice to define height and width of all divs called in your css

  4. #3
    WDF Staff smoseley's Avatar
    Join Date
    Mar 2003
    Location
    Boston, MA
    Posts
    9,729
    Member #
    819
    Liked
    205 times
    <head> <title>Wazzap</title>
    <link rel="stylesheet" type="text/css" href="style.css" />
    </head>

  5. #4
    Member Overlord's Avatar
    Join Date
    May 2011
    Location
    Prijedor
    Posts
    86
    Member #
    27819
    Liked
    2 times
    Oh my god!! I feel so embarrassed -.-
    Owner of Visual Studio

  6. #5
    WDF Staff m3n0tu18's Avatar
    Join Date
    Jul 2011
    Location
    Devon, UK
    Posts
    1,473
    Member #
    28473
    Liked
    265 times
    I think s *facepalm* moment is coming into play here
    If you like my comments to your thread please click the LIKE button

    Check out my portfolio: Here!
    View my company Facebook Page
    View my company Website

    <<Plrease ignoer my typo's I have isdexlyia>>


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 04:01 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com