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.

HTML Forum


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



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Center a body background on different resolutions?
Old 07-13-2006, 01:29 AM Center a body background on different resolutions?
manthu64's Avatar
Average Talker

Posts: 27
Name: Manthan Dudani
Location: India
Trades: 0
Hi All,

How r u doing ? I have one problem regarding body background centering.

Is it possible to center a body background on different resolutions ???

Thanks,
manthu64 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 07-13-2006, 02:00 AM Re: Center a body background on different resolutions?
ADAM Web Design's Avatar
Canadastaninianite

Posts: 5,935
Name: Adam for web page design, not program
Location: Toronto, Ontario, Canada
Trades: 0
Code:
body {
     background: URL(your_background_here) no-repeat fixed center center;
}
Put that into your CSS. That'll center the image and keep it fixed when the page scrolls.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
(my blog)


Please login or register to view this content. Registration is FREE
(with proof)

Last edited by ADAM Web Design; 07-13-2006 at 02:02 AM..
ADAM Web Design is offline
Reply With Quote
View Public Profile Visit ADAM Web Design's homepage!
 
Old 07-13-2006, 06:12 AM Re: Center a body background on different resolutions?
manthu64's Avatar
Average Talker

Posts: 27
Name: Manthan Dudani
Location: India
Trades: 0
hey thanks ADAM designer. I had try it.

surpriselly it is working. thanks bro.

Thanks.
manthu64 is offline
Reply With Quote
View Public Profile
 
Old 07-13-2006, 02:04 PM Re: Center a body background on different resolutions?
vangogh's Avatar
Post Impressionist

Latest Blog Post:
Why Responsive Design?
Posts: 10,815
Name: Steven Bradley
Location: Boulder, Colorado
Trades: 0
Shouldn't be any surprise. Adam knows his stuff.
__________________
l Search Engine Friendly Web Design |
Please login or register to view this content. Registration is FREE

l Tips On Marketing, SEO, Design, and Development |
Please login or register to view this content. Registration is FREE

l
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
vangogh is offline
Reply With Quote
View Public Profile Visit vangogh's homepage!
 
Reply     « Reply to Center a body background on different resolutions?
 

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.48283 seconds with 12 queries