New to CSS: Wants to add a simple picture to a profile.

Discussion in 'CSS' started by Lyricalwarfare, Oct 4, 2007.

  1. #1
    Hey, im new here, and I just got one question:

    In this profile I got, it says i can add some CSS to it, wich I want a picture in, so its behind my profile, like a ..Screensaver. Just like in Myspace or youtube-profiles.

    The exact picture i want behind my profile is:
    http://www.davingreenwell.com/archive/skull.jpg

    So can anybody help me?

    It should look like this:

    http://www.youtube.com/profile?user=tehparol

    But just as an CSS-code.

    I will appreciate for your effort,

    Best Regards,
    Lyric.
     
    Lyricalwarfare, Oct 4, 2007 IP
  2. soulscratch

    soulscratch Well-Known Member

    Messages:
    964
    Likes Received:
    45
    Best Answers:
    0
    Trophy Points:
    155
    #2
    I wouldn't use that as a background. If there's text on top it would be hard to read, and it'll be just like all the other shitty myspace pages that are hard to read because people keep putting images that aren't supposed to be backgrounds... as backgrounds and it looks like dogshit.
     
    soulscratch, Oct 4, 2007 IP
  3. Allaire Solutions

    Allaire Solutions Peon

    Messages:
    35
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    
    body{
    background-image: transparent url(myImg.png) no-repeat;
    background-attachment: fixed;
    width: px;
    height: px;
    }
    
    Code (markup):
    try this...
     
    Allaire Solutions, Oct 4, 2007 IP
  4. Lyricalwarfare

    Lyricalwarfare Peon

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4

    I dont care if it looks bad, really, I just asked for help. Could you help me or not?

    That didnt help, what was it?
     
    Lyricalwarfare, Oct 5, 2007 IP
  5. George Smith

    George Smith Peon

    Messages:
    8
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    As far as using a fixed-background image is concerned that might be the right option for you. But i don't know what does transparent mean??
     
    George Smith, Oct 5, 2007 IP
  6. soulscratch

    soulscratch Well-Known Member

    Messages:
    964
    Likes Received:
    45
    Best Answers:
    0
    Trophy Points:
    155
    #6
    I think he meant

     
    soulscratch, Oct 5, 2007 IP
  7. MichaelS

    MichaelS Guest

    Messages:
    595
    Likes Received:
    40
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Edit the px size.
     
    MichaelS, Oct 5, 2007 IP
  8. soulscratch

    soulscratch Well-Known Member

    Messages:
    964
    Likes Received:
    45
    Best Answers:
    0
    Trophy Points:
    155
    #8
    Did you take a careful look at the CSS? He has no-repeat as a value for background-image, which I think would invalidate the property and make the background not show up. Even if there is no width and height set then it will at least expand to whatever is inside the element if anything at all..
     
    soulscratch, Oct 5, 2007 IP
  9. MichaelS

    MichaelS Guest

    Messages:
    595
    Likes Received:
    40
    Best Answers:
    0
    Trophy Points:
    0
    #9
    oops, I just saw that the px size wasn't edited.
     
    MichaelS, Oct 5, 2007 IP
  10. Lyricalwarfare

    Lyricalwarfare Peon

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #10

    That helped, thank you.
    But it didnt cover up the whole profile..
    Do you think you could help me further?

    This code effects the entire profile / background (probably*):

    "<head>
    <style type="text/css">
    p {
    color: sienna;
    margin-left: 20px
    }
    </style>
    </head>"

    It would be awesome to have this kinda profile:
    www.fbh.arto.dk

    Could anyone maybe figure out the text he has?
     
    Lyricalwarfare, Oct 6, 2007 IP