Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Oct 2009
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Help modifying a blogger template?

    I have a blog (http://www.thepinkpacifier.com) hosted with blogger and I'm using one of their templates.

    What I want to do is place an image in the upper left hand corner and leave the rest of the background white, possibly with the image staying visible in the same place as the reader scrolls down.

    Any help would be appreciated.

  • #2
    Master Coder Excavator's Avatar
    Join Date
    Dec 2006
    Location
    Alaska
    Posts
    9,675
    Thanks
    22
    Thanked 1,827 Times in 1,811 Posts
    Hello OceanLady,
    Since you have no background image on your body, it's easy to place one position:fixed; in the top left corner.
    This bit highlighted in red sets your background color as #fff, loads a background image, tells it not to repeat, position:fixed, left:0px top:100px;

    Code:
    body {
    background: #fff url(http://nopeople.com/files/canon-eos-496BG.gif) no-repeat fixed 0px 100px;
    margin:0;
    color:#333333;
    font:x-small Georgia Serif;
    font-size/* */:/**/small;
    font-size: /**/small;
    text-align: center;
    }
    I'm sure you'll want to use a better image but you'll get the idea this way.

    If you don't want this to be a background image of your body, you can present an image from your html and style that with position:fixed; and get the same effect.
    Validate often DURING development - Use it like a splelchecker | Debug during Development |Write it for FireFox, ignore IE
    Use the right DocType | Validate your markup | Validate your CSS | Why validating is good | Why tables are bad

  • #3
    New to the CF scene
    Join Date
    Oct 2009
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Perfect! Now I just have to get photoshop working so I can make a better image, lol

    Thanks^^


  •  

    Tags for this Thread

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •