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.

Graphics Forum


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



Reply
Setting A Background ?
Old 03-21-2003, 09:01 AM Setting A Background ?
izzystradlin's Avatar
Experienced Talker

Posts: 33
Location: England
Trades: 0
Hi all,

Does anyone know how to do the following. I want to set a background image on my webpage but it keeps repeating itself over and over. Does anyone know how to stop the background image from repeating?

I tried setting it as a tracing image but that didnt work - not really sure what they do to be honest

Please help
__________________

Please login or register to view this content. Registration is FREE
Will
izzystradlin is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 03-21-2003, 04:21 PM
radhika's Avatar
Average Talker

Posts: 23
Trades: 0
Put this in body tag:

<body bgProperties="fixed" background="path_to_image.gif">
__________________

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

Last edited by radhika; 03-21-2003 at 04:24 PM..
radhika is offline
Reply With Quote
View Public Profile Visit radhika's homepage!
 
Old 03-22-2003, 11:49 AM
TimSchroeder's Avatar
Admin/Owner

Posts: 6,141
Location: Orlando, FL
Trades: 0
Thanks radhika and Welcome to Webmaster-Talk.

I never knew that trick
__________________
Webmaster-Talk Admin -
Please login or register to view this content. Registration is FREE
| My
Please login or register to view this content. Registration is FREE
.


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

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

TimSchroeder is offline
Reply With Quote
View Public Profile
 
Old 03-23-2003, 08:40 AM
izzystradlin's Avatar
Experienced Talker

Posts: 33
Location: England
Trades: 0
Hi,

Sorry but that didn't do what I wanted it to do. That made the background fixed and only the text moved. The trouble I am having is that the background image is very smal and it keeps repeating itself over and over. Does anyone have the code so my background image only appears once?

Thanks
__________________

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

Last edited by izzystradlin; 03-24-2003 at 12:28 PM..
izzystradlin is offline
Reply With Quote
View Public Profile
 
Old 04-30-2003, 10:10 AM
dismaldonkey's Avatar
Boo's daddy

Posts: 286
Location: Tunbridge Wells
Trades: 0
You could try css:

edited - Why won't it let me post the script? Am I being stupid?
Have tried just writing it, tried using[CODE]...nope, the code just vanishes when I submit the message.

Have a look here.
http://www.pageresource.com/dhtml/csstut11.htm
__________________

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



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

Last edited by dismaldonkey; 04-30-2003 at 10:25 AM..
dismaldonkey is offline
Reply With Quote
View Public Profile Visit dismaldonkey's homepage!
 
Old 04-30-2003, 05:12 PM
DaveMo~'s Avatar
Administrator
Defies A Status

Posts: 10,200
Name: Dave
Location: Scott Depot, West Virginia, USA
Trades: 1
When posting code, you will need to use both [ code] [ /code]. In case you did that, then you can leave a couple of spaces where there is normally a space, as in

< STYLE type="text/css" >
< !--
BODY { background-image:url(bgpr1.gif);
background-repeat:no-repeat;
background-position:bottom right;
background-attachment:fixed }
-->
< /STYLE >

I hope that helps.

Dave
__________________

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

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


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


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

DaveMo~ is offline
Reply With Quote
View Public Profile
 
Old 05-01-2003, 05:28 AM
dismaldonkey's Avatar
Boo's daddy

Posts: 286
Location: Tunbridge Wells
Trades: 0
Code:
< style type="text/css" >
body
{ 
background-image: 
url("your_image.gif");
background-repeat: 
no-repeat;
background-position: top center

}
< /style >
(set the value for the position of the image
using top center bottom pixel number or percentage)
-----------------
Cheers! It was the spaces. Why would that affect it?

P.S. I think izzy wants the image to scroll with the rest of the page content, so he doesn't need the "background-attachment:fixed" section. Or?
__________________

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



Please login or register to view this content. Registration is FREE
dismaldonkey is offline
Reply With Quote
View Public Profile Visit dismaldonkey's homepage!
 
Old 05-04-2003, 03:07 PM
Average Talker

Posts: 16
Trades: 0
www.w3c.org
quik is offline
Reply With Quote
View Public Profile Visit quik's homepage!
 
Reply     « Reply to Setting A Background ?
 

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