Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 12-04-2002, 01:48 PM   PM User | #1
dk4210
New Coder

 
Join Date: Nov 2002
Posts: 99
Thanks: 13
Thanked 0 Times in 0 Posts
dk4210 is an unknown quantity at this point
Post CSS Background no repeat

Hello Does anyone know how I can do a no repeat on my site? I am not sure about the placement of code. Here is my header file. Let me know if it is right? here is the link for exaple of the background repeating http://www.apbcpa.com/main2/contact.shtml

------ Some of header --------------------
<HTML>
<HEAD>
<TITLE>WELCOME TO APBCPA.COM</TITLE>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<link rel="stylesheet" href="apb.css" type="text/css">
</HEAD>
<BODY topmargin="0" rightmargin="0" marginwidth="0" marginheight="0" leftmargin="0" bottommargin="0"><TABLE WIDTH=760 BORDER=0 CELLPADDING=0 CELLSPACING=0>
<p class="background">&nbsp;</p>
------------------End Header -----------
Here is my CSS File ---
.maintxt { font-family: "Times New Roman", Times, serif; font-size: 12px; font-weight: bold; color: #44828D}
.headertxt { font-family: "Times New Roman", Times, serif; font-size: 14px; font-style: normal; font-weight: bold; color: #44828D}
.maintxtblk { font-family: "Times New Roman", Times, serif; font-size: 13px; font-weight: normal; color: #000000}
.headerblue2 { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 18px; font-weight: bold; font-variant: normal; color: #44828D}
.copyright { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; font-weight: normal; font-variant: normal; color: #000000}
.footerlinks { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 9px; font-style: normal; font-weight: bold; color: #666666}
.background { background-attachment: fixed; background-color: #FFFFFF; background-image: url(images/apbbak.jpg); background-repeat: no-repeat; background-position: left}
---------------end css ---------------->
Please help...Thanks, Dan
dk4210 is offline   Reply With Quote
Old 12-04-2002, 02:35 PM   PM User | #2
Catman
Regular Coder

 
Join Date: Jun 2002
Location: Ames, IA, USA
Posts: 373
Thanks: 0
Thanked 0 Times in 0 Posts
Catman is an unknown quantity at this point
Try this: background : fixed #ffffff urlimages/apbbak.jpg) left no-repeat;
__________________
Need more emoticons?
Visit Catman's Private Stock
Catman is offline   Reply With Quote
Old 12-04-2002, 02:48 PM   PM User | #3
dk4210
New Coder

 
Join Date: Nov 2002
Posts: 99
Thanks: 13
Thanked 0 Times in 0 Posts
dk4210 is an unknown quantity at this point
do I put that in the header or the .css file?
dk4210 is offline   Reply With Quote
Old 12-04-2002, 03:40 PM   PM User | #4
cg9com
Senior Coder

 
Join Date: Jul 2002
Posts: 1,628
Thanks: 0
Thanked 0 Times in 0 Posts
cg9com is an unknown quantity at this point
it can go in either, but since you have an external file put it there.
cg9com is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

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

Forum Jump


All times are GMT +1. The time now is 09:01 AM.


Advertisement
Log in to turn off these ads.