Domain Manage

css validating

Discussion in 'Website Design' started by slowhost, Dec 17, 2009.

Thread Status:
Not open for further replies.
  1. slowhost United Kingdom

    slowhost Active Member

    Joined:
    Jul 2008
    Posts:
    164
    Likes Received:
    0
    hello just thought i`d validate one of my sites and have done the html (took a while)

    and now need to do the css but have got 12 errors all exactly the same...

    heres one example.

    3 body Value Error : background Parse Error [empty string]

    heres the snippet :

    1 body

    2 {
    3 background : url(images/bg.jpg) repeat-x #e4e9ec top; (this is wrong line)
    4 padding:0;
    5 font-family:Arial, Helvetica, sans-serif;
    6 font-size:11px;
    7 margin:0px auto auto auto;
    8 color:#000;
    9 }

    Can anybody recify this or point me in the right direction so i can fix the rest please?
     
  2. Domain Forum

    Acorn Domains Elite Member

    Joined:
    1999
    Messages:
    Many
    Likes Received:
    Lots
     
  3. davedevelopment United Kingdom

    davedevelopment Well-Known Member

    Joined:
    May 2009
    Posts:
    1,108
    Likes Received:
    25
    Code:
    background: #e4e9ec url("images/bg.jpg") top left repeat-x; 
     
  4. Tricky1 United Kingdom

    Tricky1 Active Member

    Joined:
    Nov 2008
    Posts:
    373
    Likes Received:
    19
    Well done Dave... that should sort it

    Richard
     
  5. bensd United Kingdom

    bensd Well-Known Member Exclusive Member

    Joined:
    Jan 2007
    Posts:
    4,956
    Likes Received:
    53
    Change to: 3 background : #e4e9ec url(images/bg.jpg) top repeat-x;


    EDIT - looks like dave was faster at typing than me :)
     
  6. slowhost United Kingdom

    slowhost Active Member

    Joined:
    Jul 2008
    Posts:
    164
    Likes Received:
    0
    Cheers guys thanks for your very helpful advice, my site is now fully validated :D
     
  7. davedevelopment United Kingdom

    davedevelopment Well-Known Member

    Joined:
    May 2009
    Posts:
    1,108
    Likes Received:
    25
    Quicker at copying and pasting ;)
     
Thread Status:
Not open for further replies.

Share This Page