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
[Background Question]
Old 10-17-2006, 10:21 AM [Background Question]
Critizin's Avatar
Ultra Talker

Posts: 267
Name: Peter West
Location: Nobleford, Alberta
Trades: 1
Hey guys i cant seem to find anything on the web for this so i thought i ask you guys how do u make a background like stay at the top for example like this

http://www.clantemplates.com/

u see how they have that background pattern and then it just goes to a single color how would i go about doing that?
__________________

Please login or register to view this content. Registration is FREE
::
Please login or register to view this content. Registration is FREE
Critizin is offline
Reply With Quote
View Public Profile Visit Critizin's homepage!
 
 
Register now for full access!
Old 10-17-2006, 10:41 AM Re: [Background Question]
Critizin's Avatar
Ultra Talker

Posts: 267
Name: Peter West
Location: Nobleford, Alberta
Trades: 1
nvm i found it heres the code for anyone else that might need it

<style type="text/css">
<!--
body {
background-color: #040404;
}
-->
</style><BODY style="background-repeat:repeat-x" background="images/mainbg.png">
__________________

Please login or register to view this content. Registration is FREE
::
Please login or register to view this content. Registration is FREE
Critizin is offline
Reply With Quote
View Public Profile Visit Critizin's homepage!
 
Old 10-17-2006, 12:45 PM Re: [Background Question]
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
If you looked on the web and couldn't find anything, you weren't looking too hard !

The PROPER use of background in CSS would be as follows:
body{
background: #040404 url(images/mainbg.png) repeat-x;
Repeat can be repeat-x, repeat-y, and no-repeat. Leaving off 'repeat' will tile both horizontally AND vertically.

No need to put any style declaration in the HTML.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 10-17-2006, 02:53 PM Re: [Background Question]
Skilled Talker

Posts: 54
Name: Shannon
Trades: 0
That would be correct. The site seems to load a little slow. How much impact does uses a graphically intense image to tile throw into load time?
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
shannonlp is offline
Reply With Quote
View Public Profile Visit shannonlp's homepage!
 
Old 10-17-2006, 04:48 PM Re: [Background Question]
vangogh's Avatar
Post Impressionist

Latest Blog Post:
Why Responsive Design?
Posts: 10,815
Name: Steven Bradley
Location: Boulder, Colorado
Trades: 0
Shannon, images are usually the main reason for sites slowing up load times. Usually with an image across a page that looks consistent as you move horizonatally I'll use a 1px wide image and tile it with the code LadnRed posted above.

In generally the smaller you can make the file sizes of your images the quicker the page will load.
__________________
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 [Background Question]
 

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