Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Website Design Forum


You are currently viewing our Website Design Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Newbie question on backgrounds
Old 07-19-2005, 02:54 AM Newbie question on backgrounds
ObeBogie's Avatar
Junior Talker

Posts: 2
Trades: 0
Hi,

I've just started with dreamweaver (been reading a quickstart book) and I'm gonna try my luck at making a webpage

I've hit my first hirdle and I appreciate it if anyone can help.

I want to make a background for my page which repeats a picture along the top of the page - But I want it to stay at the top of the screen even if the user scrolls down the page, but still in the background. How can I do this?

Sorry I'm not very good at explaining this, after a LOT of hunting I eventually found a page that does sort of what I want at this website .

I tried putting backgrounds in all sorts of ways but It always scrolls with the page

Thanks for help in advance peeps! (unfortunately I may be coming here quite a lot - sorry )

ObeBogie
ObeBogie is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 07-19-2005, 10:33 AM
fancymoustache's Avatar
Ultra Talker

Posts: 316
Location: Michigan
Trades: 0
I don't know a lot about dreamweaver, but if you are comfortable going into your code and changing that, I can help you.

For your page background, you sould see something that looks similar to:
HTML Code:
body {
some stuff here;
}
If that is the case, do this:
HTML Code:
body {
some stuff here;
background-image:url("your-image.gif");
background-repeat:repeat-x;
background-attachment:fixed;
background-position:top;
background-color:#FFFFFF;
}
I'll explain:
"background-image:url("your-image.gif");" tells the page where to find your image
"background-repeat:repeat-x;" tells the page that your image is to repeat horizontally
"background-attachment:fixed;" says your image will be there, even if you scroll
"background-position:top;" Your image is at the top
"background-color:#FFFFFF;" is the color of the rest of the page, below the image

Hope I could help you,
Micah
fancymoustache is offline
Reply With Quote
View Public Profile
 
Old 07-19-2005, 11:30 AM
ObeBogie's Avatar
Junior Talker

Posts: 2
Trades: 0
Thank You!

Took some fiddling about (me being a wolly mostly) but its working now!

Thanks very much fancymoustache, very much appreciated.

Obebogie
ObeBogie is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Newbie question on backgrounds
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.11400 seconds with 12 queries