Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 10-29-2009, 09:39 PM   PM User | #1
OceanLady
New to the CF scene

 
Join Date: Oct 2009
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
OceanLady is an unknown quantity at this point
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.
OceanLady is offline   Reply With Quote
Old 10-30-2009, 03:27 AM   PM User | #2
Excavator
Master Coder


 
Excavator's Avatar
 
Join Date: Dec 2006
Location: Alaska
Posts: 9,410
Thanks: 22
Thanked 1,765 Times in 1,749 Posts
Excavator has a spectacular aura aboutExcavator has a spectacular aura aboutExcavator has a spectacular aura about
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
Excavator is offline   Reply With Quote
Old 10-30-2009, 04:24 AM   PM User | #3
OceanLady
New to the CF scene

 
Join Date: Oct 2009
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
OceanLady is an unknown quantity at this point
Perfect! Now I just have to get photoshop working so I can make a better image, lol

Thanks^^
OceanLady is offline   Reply With Quote
Reply

Bookmarks

Tags
background, blogger

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 02:49 PM.


Advertisement
Log in to turn off these ads.