Purely only CSS Website

Discussion in 'CSS' started by JohnMac1, Nov 23, 2011.

  1. #1
    I just want to ask, is it possible to create a website through CSS using images instead of just colours? I have a script that is purely CSS based and all of the script is just colours. I want it to show like a thead image etc on some areas, but not sure how to do it. Any help would be appreciated.
     
    Solved! View solution.
    JohnMac1, Nov 23, 2011 IP
  2. pupul

    pupul Prominent Member

    Messages:
    1,737
    Likes Received:
    66
    Best Answers:
    2
    Trophy Points:
    340
    #2
    Ya. it's possible. You can use one image repeating so that it will look cool and load faster.
     
    pupul, Nov 23, 2011 IP
  3. JohnMac1

    JohnMac1 Peon

    Messages:
    296
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Again, sorry for repeating, but I'm not good with CSS, so I wouldn't know how to repeat the images.
     
    JohnMac1, Nov 23, 2011 IP
  4. #4
    .cssclass {
    background: url(../relative image path goes here) repeat 0 0;
    }

    You could use repeat-x for across, and repeat-y for up and down. No-repeat means it will only show once. 0 0 represents the vertical and horizontal positioning of the image.

    If you have a specific image and page example, it's easier to be more clear.

    *smiles*
     
    MsNN, Nov 23, 2011 IP
  5. deathshadow

    deathshadow Acclaimed Member

    Messages:
    9,732
    Likes Received:
    1,999
    Best Answers:
    253
    Trophy Points:
    515
    #5
    No offense, but could you repost that in English using the appropriate terminology?

    "Purely only CSS" -- you do at least need HTML to apply it to.

    "I have a script that is purely CSS based" -- is it script or is it CSS? CSS doesn't DO scripting, so that's gibberish.

    So I'm not even sure what you're asking.
     
    deathshadow, Nov 24, 2011 IP
  6. DeathDisturbance

    DeathDisturbance Peon

    Messages:
    12
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #6
    I had this problem to!
     
    DeathDisturbance, Dec 3, 2011 IP
  7. leanocodes

    leanocodes Member

    Messages:
    22
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    26
    #7
    Definitely possible!
     
    leanocodes, Dec 10, 2011 IP