Simple . yet i can't get it

Discussion in 'CSS' started by electron, Aug 14, 2007.

  1. #1
    Its been a few months since i coded my last page.

    Someone please tell, whats wrong with this code :
    
    
    <html xmlns="http://www.w3.org/1999/xhtml" >
    <head runat="server">
        <title>Welcome :)</title>
        <style type="text/css">
            body{
             font-size : 11px;
             font-family : Arial,Verdana;
             margin : 0px;
             left-padding : 50%;
             background-image : url("C:\bckup\My eBooks\CSS\Project\attempt1\images\bg.gif");
             background-position : center;
             background-repeat : repeat-y;
             position : absolute;
           }
           #container{
            width : 1000px;
            left-margin : -500px;
           }
        </style>
    </head>
    <body>
        <form id="form1" runat="server">
        <div id="container">
            dvfd
        </div>
        
            
        
        
        </form>
    </body>
    </html>
    
    
    
    Code (markup):
     
    electron, Aug 14, 2007 IP
  2. electron

    electron Well-Known Member

    Messages:
    249
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    101
    #2
    the output of this :
    "dvfg" written at top left.
    with white background.

    Waiting for a reply ..........
    Thanks for your time :)
     
    electron, Aug 14, 2007 IP