The Mother Board
Non-repetitive Backgrounds

 
Post new topic   Reply to topic    The Mother Board Forum Index -> Programming
View previous topic :: View next topic  
Author Message
son0rous
Black Belt 2nd Degree
Black Belt 2nd Degree


Joined: 23 Jan 2003
Posts: 2575

PostPosted: Sat Aug 14, 2004 7:15 pm    Post subject: Non-repetitive Backgrounds Reply with quote

Looking for a way in HTML to have a background that does not loop continuously, but instead simply shows one picture, then the rest of the page is just the default background color.
Back to top
View user's profile Send private message
Davek804
Black Belt 3rd Degree
Black Belt 3rd Degree


Joined: 09 Jul 2003
Posts: 3696
Location: Rural Massachusetts

PostPosted: Sat Aug 14, 2004 7:31 pm    Post subject: Reply with quote

What if you built the entire webpage over an image that acted as a bg?
Other than that, i dont know of any way in regular HTML. May be a way in DW or something..
_________________
"We must embrace pain and burn it as fuel for our journey."
Back to top
View user's profile Send private message AIM Address MSN Messenger
son0rous
Black Belt 2nd Degree
Black Belt 2nd Degree


Joined: 23 Jan 2003
Posts: 2575

PostPosted: Sat Aug 14, 2004 7:33 pm    Post subject: Reply with quote

can you explain a little further?
Back to top
View user's profile Send private message
Toby B.
Lead Mobo-fu Master
Lead Mobo-fu Master


Joined: 16 Dec 2001
Posts: 13960
Location: Maine

PostPosted: Sat Aug 14, 2004 8:47 pm    Post subject: Reply with quote

There is a way to do this. How to do it has escaped my mind though....
_________________
We Help You. You Can Help Us!
Read the rules prior to posting
Tell your newsgroup or mailing list
Link to us from your pages
Back to top
View user's profile Send private message Send e-mail Visit poster's website
hypnotik
Black Belt
Black Belt


Joined: 22 Oct 2002
Posts: 584
Location: Melbourne, Australia

PostPosted: Sun Aug 15, 2004 9:54 pm    Post subject: Reply with quote

You can do it with CSS. Put this code inbetween your <head> tags
Code:
<style type="text/css">
<!--
.classname {  background-image: url(xxxx.jpg); background-repeat: no-repeat}
-->
</style>


Then use this <body> tag
Code:
<body bgcolor="#FFFFFF" text="#000000" class="classname">


You can also use repeat-x or repeat-y if you want it to repeat in one direction only.
_________________
"I disapprove of what you say, but I will defend to the death your right to say it"

-Voltaire
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    The Mother Board Forum Index -> Programming All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group