473,406 Members | 2,710 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Background image not appearing

Hi

I have a background image on this page
http://www.siliconglen.com/craig/

which is no longer appearing, yet the image is there.

could someone let me know why it isn't appearing? I assume it's
something in the stylesheet.

thanks

--
Craig Cockburn ("coburn"). http://www.SiliconGlen.com/
Please sign the Spam Petition: http://www.siliconglen.com/spampetition/
Home to the first online guide to Scotland, founded 1994.
Scottish FAQ, weddings, website design, stop spam and more!
Dec 29 '05 #1
3 4400
Craig Cockburn wrote:

Hi

I have a background image on this page
http://www.siliconglen.com/craig/

which is no longer appearing, yet the image is there.

could someone let me know why it isn't appearing? I assume it's
something in the stylesheet.

thanks


Your CSS conflicts with your BODY tag. The CSS has "background:
#ffffff" for BODY, which apparently overrides the background and
bgcolor attributes on the BODY tag. Such conflicts are quite
common when attributes and style-sheets address the same display
characteristics.

I suggest you remove the attributes from the BODY tag and change
your CSS (separating html and body) to incorporate the background
image and color.

However, the image and color may cause problems for anyone with
even a mild visual handicap. The yellow-orange color makes it
difficult to distinguish the colors of links. The texture of the
background interfers with the readability of the text. All this
can be a problem for someone (me) who merely uses eyeglasses; the
page is not an "easy read". Just image how someone who is dyslexic
or partially blind might see your page.

--

David E. Ross
<http://www.rossde.com/>

Concerned about someone (e.g., Pres. Bush) snooping
into your E-mail? Use PGP.
See my <http://www.rossde.com/PGP/>
Dec 30 '05 #2
It seems like your stylesheet is overriding your <body> tag. Leave your body
tag at just <body> and add this to your stylesheet:

html, body {
background-image: url('http://www.siliconglen.com/images/bgcraig.gif');
color: #000000;
}
I worked on my computer.
--
Dec 30 '05 #3
Thanks all, works now

Craig
--
Craig Cockburn ("coburn"). http://www.SiliconGlen.com/
Please sign the Spam Petition: http://www.siliconglen.com/spampetition/
Home to the first online guide to Scotland, founded 1994.
Scottish FAQ, weddings, website design, stop spam and more!
Dec 30 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Kez Bates | last post by:
Hi My background images are not appearing on the page. I am unsure why. I can see them on my on pc, but nobody else with the same computer configurations can see these background images. We...
2
by: lorelei | last post by:
Hey all, I have found two seperate HTML codes which claim to stop background images from being tiled. Neither of them seem to be working. I'm writing my codes in Textpad, and use Internet...
3
by: veryred | last post by:
Hello. I'm placing a background image in a table cell using a style sheet--I reads it, Netscape, Firefox, and Opera do not--they will however read background-color when I insert that. This is...
7
by: Nilesh | last post by:
I am using background-image attribute in a CSS file and linking the CSS file to aspx page. But strangly, background-image attribute is not working for relative URL. e.g. If I apply following css...
1
by: Andrew Poulos | last post by:
I'm working with one of those vertical menus that use CSS and lists. The menu is contained with a DIV (DIV.1) with a height of 100% that's within an absolutely positioned DIV (DIV.2). DIV.1 has a...
2
by: Patrick | last post by:
Hi All, I am trying more and more to incorporate CSS into my work here. I have currently been playing around with fluid design and tableless layout. Currently I am trying to make a background...
3
by: jaimebienlesfruits | last post by:
Hi, In my main content section, I have a div tag (containing a background image). Embedded with this div tag is another div tag for actual text (h1, p, etc) and another div tag for the sidebar....
5
by: simcom | last post by:
Hi I have seen a few other posts on this forum about this from my seaching, however still cannot find a solution to my issue (probably just me, so if anybody knows where this has been answered...
0
by: renatois | last post by:
background-image Theme Hi guys, my background-image style is not recognizing the image. The path is ok but the image is not appearing at the page. Any idea why? I´m using Visual Studio 2005....
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.