WebProWorld Part of WebProNews.com
Page One Link To Us Edit Profile Private Messages Archives FAQ RSS Feeds  
 

Go Back   WebProWorld > Site Design > Graphics & Design Discussion Forum
Subscribe to the Newsletter FREE!


Register FAQ Members List Calendar Arcade Chatbox Mark Forums Read

Graphics & Design Discussion Forum Post your graphics design questions/comments/ideas in here. Ask questions, post tutorials, discuss trends and best practices. Sub-forum for website accessibility and usability.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-11-2005, 06:25 PM
MikeSzyszka's Avatar
MikeSzyszka MikeSzyszka is offline
WebProWorld Member
 

Join Date: Apr 2004
Location: Woodstock, NY
Posts: 41
MikeSzyszka RepRank 0
Default CSS background image - not working

I have a CSS where the background image will not display. See site http://www.bearsystems.com/
it would be most noticable at the bottom where the counter is displayed. "bear" is the directory of the where the image is located. Everything else displays correctly.What is wrong with the background image??

Thank you in advance,
Mike



//////////// start css //////////////////

{
background: url(../bear/bg-scanlines.gif);
}

a {
text-decoration: none;
color: #336699; /* med. blue */
}

a:hover {
text-decoration: underline;
color: #cc0000; /* dk. red */
}

P {
font-family: Arial;
font-weight: bold;
}

H1 {
font-family: Arial;
}

H2 {
font-family: Arial;
}

H3 {
font-family: Arial;
}

DT {
font-family: serif;
font-size: 14pt;
font-style: normal;
font-variant: normal;
font-weight: bold;
}

DD {
font-family: serif;
font-size: 13pt;
font-style: normal;
font-variant: normal;
font-weight: bold;
color: green;
}

LI {
font-family: Arial;
font-size: 14pt;
font-style: normal;
font-variant: normal;
font-weight: normal;
color: black;
letter-spacing: normal;
word-spacing: normal;
text-transform: none;
line-height: 22pt;
}
__________________
Thanks,
Mike Szyszka
http://BearSystems.com
Reply With Quote
  #2 (permalink)  
Old 04-11-2005, 07:31 PM
paulhiles's Avatar
paulhiles paulhiles is offline
WebProWorld 1,000+ Club
 

Join Date: Jul 2003
Location: UK
Posts: 2,803
paulhiles RepRank 0
Default Body selector needed

Hi Mike,

If you're using the "bg-scanlines.gif" for your page's background image, I would suggest you add the body selector to your CSS (as below)

Code:
body {
	background: url(../bear/bg-scanlines.gif);
}
Hope that helps!

Paul
Reply With Quote
  #3 (permalink)  
Old 04-12-2005, 07:47 AM
MikeSzyszka's Avatar
MikeSzyszka MikeSzyszka is offline
WebProWorld Member
 

Join Date: Apr 2004
Location: Woodstock, NY
Posts: 41
MikeSzyszka RepRank 0
Default Body selector needed

Hi Paul,
That was it. It now works. Thank you!
__________________
Thanks,
Mike Szyszka
http://BearSystems.com
Reply With Quote
Reply

  WebProWorld > Site Design > Graphics & Design Discussion Forum
Tags: background, css, image, working



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



Search Engine Friendly URLs by vBSEO 3.0.0