Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dreamweaver -- Background MAc OSX

Status
Not open for further replies.

stackjones

Technical User
Dec 31, 2004
7
0
0
US
when i put my background image in it stacks itself -- repeating itself again and again. [i don't want it to tile either]

i just want the background to appear once.

[you can see this if you go to -- click on audio|video -- then on mp3 downloads.]

i just want ONE background.

--

can someone tell me very specifically how i can do this. much appreciated.
 
Use CSS to control the background repeat

background-repeat:no-repeat;

html/css forum215

W3 Schools CSS



Chris.

Indifference will be the downfall of mankind, but who cares?
A website that proves the cobblers kids adage.
Nightclub counting systems

So long, and thanks for all the fish.
 
chris hirst --

thanks -- but i have no idea what you're talking about.

--

what is CSS? where is it located? and --

background-repeat:no-repeat; ?????????

where would this be placed? is this a menu pulldown choice? part of a code?

i don't understand what you attempted to say.

can you walk me through the steps.

i'm sure since i'm talking about background image it can't be that difficult.
 
Hmmm! CSS = Cascading Style Sheets
tutorial and reference on the W3Schools link
Tek-Tips forum as well forum215

One way to use the no-repeat property is to put it into the page. Add this between the <head></head> of your document
Assuming the <body> tag
Code:
<style type="text/css">
body {
background-image:url(YourImageNameGoesHere);
background-repeat:no-repeat;
}
</style>

this is what CSS and HTML can do CSS Zen Garden


Chris.

Indifference will be the downfall of mankind, but who cares?
A website that proves the cobblers kids adage.
Nightclub counting systems

So long, and thanks for all the fish.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top