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
Non-repeat background
Old 08-02-2006, 08:06 PM Non-repeat background
mms
Skilled Talker

Posts: 81
Name: Shane
Location: Ireland
Trades: 0
Hey the website is really nicely designed.

My problem is im trying to get a background image not to repeat

Its the shiney background thats blue-to-grey.

CustomBebo

ive tryed to eneter a no repeat code in the stylesheet heres the code

HTML Code:
<style type="text/css">
<!--
.style1 {font-size: 16px}
.style2 {font-size: 14px}
.style3 {color: #323d45}
.style4 {color: #FFFFFF}
body {
    background-color: #323d45;
no-repeat;
}
a:link {
    color: #FFFFFF;
    text-decoration: none;
}
a:visited {
    color: #FFFFFF;
    text-decoration: none;
}
.style7 {
    color: #FF0033;
    font-weight: bold;
    font-style: italic;
}
.style8 {font-family: Arial, Helvetica, sans-serif}
a:hover {
    text-decoration: none;
}
a:active {
    text-decoration: none;
}
.style10 {color: #FF0033; font-weight: bold; font-style: italic; font-size: 18px; }
-->
</style>
Thanks for all you help shane
mms is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 08-02-2006, 08:39 PM Re: Non-repeat background
funkdaddu's Avatar
Web Design Snob

Posts: 635
Trades: 0
background-repeat: no-repeat

CSS Background-repeat Property
funkdaddu is offline
Reply With Quote
View Public Profile Visit funkdaddu's homepage!
 
Old 08-03-2006, 02:29 AM Re: Non-repeat background
saadatshah's Avatar
Extreme Talker

Posts: 215
Name: Syed Saadat Ali
Location: Lahore, Pakistan
Trades: 0
Change your CCS like:

Code:
 
body {
background-color: #323d45;
background-repeat: no-repeat;
/*
you can set the background position too
background-position:top; 
*/
}
__________________
- -- --- ---- ----- ------ ------- ---------------
If you have knowledge, let others light their candles in it.

Last edited by saadatshah; 08-03-2006 at 02:31 AM..
saadatshah is offline
Reply With Quote
View Public Profile Visit saadatshah's homepage!
 
Old 08-03-2006, 02:37 PM Re: Non-repeat background
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
You don't need a 2nd line in there-- and you cannot do a 'no-repeat' without an image.

Your syntax would be:
background: #666 url(images/image.jpg) no-repeat;

1 line is all that's needed, it's called shorthand and saves you time and space.
__________________
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
 
Reply     « Reply to Non-repeat 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.28542 seconds with 12 queries