473,408 Members | 2,734 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,408 software developers and data experts.

background text dissapearing help please

I will include my code below.

Is there anyone who can help me sort out this problem please?

when i move from my index to the next roll over button links i am unable to keep the background as black and the text as white. the text is dissapearing.

can anyone explain where I am going wrong with the coding please?

thanks


Expand|Select|Wrap|Line Numbers
  1. <!doctytpe html public "-//w3c//dtd html 4.01 transitional//en" "deleted as not needed"
  2. <html>
  3.  
  4. <head>
  5.  
  6. <meta name="description content ="goldandsilverbooks.com is an independent retailer published in the UK and US we specialise in  books about Jewellery to the public wholesaler and trade industry"
  7. <meta name="keywords content="about us,company history,profile,information,jewellery,jewelry,gold,silver,US,UK,speciality,books">
  8.  
  9. <title>goldandsilverbooks.com - Contact Us</title>
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16. <style type="text/css">
  17. body{
  18.     font-family:"Comic Sans MS";
  19.     font-size: 12pt;
  20.     color: #000000;
  21.     background-color: #FFFFFF;
  22. }
  23.  
  24. h1{
  25.     font-family:"Arial";
  26.     font-size: 16pt;
  27.     color: #000000;
  28.     text-align: center;
  29. }
  30.  
  31. h2{
  32.     font-family:"Arial";
  33.     font-size: 14pt;
  34.     color: #000000;
  35. }
  36.  
  37. hr{
  38.     color: #696969;
  39.     width: 90%;
  40. }
  41. a:link {
  42.     color: #808080;
  43. }
  44. a:visited {
  45.     color: #DAA520;
  46. }
  47. .logotext(
  48.     font-size, 36px;
  49.     font-weight:bold;
  50.     color:#000000;
  51.     font-family:"Arial"}
  52. }
  53. .copyright{
  54. font-size; 11px;
  55. font-weight; bold;
  56. color:#C0C0C0
  57. }
  58.  
  59. </style>
  60. </head>
  61.  
  62. <body background="images/tile1.bmp"> 
  63. <table cellpadding= "0"width="650"border="0"
  64. align="center">
  65. <tr bgcolor="#FFFFFF">
  66. <td><img src="images/booklogo.gif" align="left"><span class="logotext">
  67. krisalis</span>
  68.         </td>
  69.     </tr>
  70. <tr bgcolor="#FFFFFF">
  71. <td><a href="index.html"><img src="images/btnhome.gif" border="0"></a><a href="aboutus.html"><img src="images/btnaboutus.gif" border="0"></a><a href="products.html"><img src="images/btnproducts.gif" border="0"></a><a href="policies.html"><img src="images/btnpolicies.gif" border="0"></a><a href="contactus.html"><img src="images/btncontactus.gif" border="0"></a>
  72. </td>
  73. </tr> 
  74.     </table>
  75.  
  76.  
  77.  
  78. <table cellpadding="20" width="750"
  79. bgcolor="black" border="0" align="center">
  80. <tr>
  81. <td>
  82.  
  83. <bspace="40">
  84. <vspace="40">
  85. <h1>About Us</h1>
  86.  
  87. <p>XXX is the internet presence of our bookstore in XXX, England. We are an independent retailer of books published in the UK and in the USA and have been serving readers in our local community for over XXX years.</p>
  88.  
  89. <h2>Why Shop with Us?</h2>
  90.  
  91. <ul>
  92. <li>We can provide you with any title from 2.2 million books titles in print.</li>
  93. <li>We offer some of the most cost effective global shipping rates available worldwide.</li>
  94. <li>Dispatch is usually within 3 days of placing your order.</li>
  95. <li>We offer you personalised customer service by phone or e-mail.</li>
  96. </ul>
  97.  
  98. <p>It is our aim to make shopping as easy and enjoyable as possible on our website - allowing you to order 24 hours a day - 7 days a week. </p>
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105. <center>
  106. <hr><br>
  107. <p><span class="copyright"> copyright &copy;goldandsilverbooks.com 2006. All rights reserved.</span></p> 
  108. </center>
  109.  
  110.  
  111. </td>
  112. </tr>
  113. </table> 
  114. </body>
  115. </html>
  116.  

cheers all

Subsx
Jan 30 '07 #1
3 1899
drhowarddrfine
7,435 Expert 4TB
<!doctytpe html public "-//w3c//dtd html 4.01 transitional//en" "deleted as not needed"
I'll come back to this but read the sticky at the top of this forum. Doctypes are required.
Jan 30 '07 #2
AricC
1,892 Expert 1GB
Expand|Select|Wrap|Line Numbers
  1. <!doctytpe html public "-//w3c//dtd html 4.01 transitional//en" "deleted as not 
As stated above, the DOCTYPE is not optional.
Jan 30 '07 #3
drhowarddrfine
7,435 Expert 4TB
In your css, the .logo has a parenthesis instead of a bracket and comma where there should be a semicolon. In .copyright, you have commas instead of semicolons.

If you had validated your css you would have known this but there are other errors still. Also validate your html for that list of errors.
Jan 31 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Markus Mohr | last post by:
Hi, everyone, I have a special problem: For every monitor resolution in 200 pixel steps from 800 to 1600 pixels I have an image to be shown as centered background-image. Those images all...
5
by: Chris Beall | last post by:
I'm displaying an image that is also a link against a black background. In Netscape 7.1, the current background color is displayed as a horizontal bar below the image. This allows :hover effects...
4
by: tomasio | last post by:
hello all. i have a problem with my css using mozilla. can anybody take a look at http://tomasio.laudatio.com/jobs/Claudia/Website/constructed_beauty.html and explain me why the bottom of the copy...
3
by: Peter Williams | last post by:
Hi All, I want to write some javascript for a html page which does the following. Imagine that the page contains a table with 2 columns and 3 rows, e.g.: +---+---+ | A | B | +---+---+
0
by: JC Voon | last post by:
Hi All: I'm new in Threading and Web Services, can someone please verify my code, i'm not sure whether this is the correct way, althought it is partially work, but some time it will raise...
2
by: darkpowrjd | last post by:
I've been trying to create a new navigation system for my site, and I got everything figured out except for one thing. Here is the CSS code I'm using right now: body { font: normal 10px Verdana,...
7
by: Ryaby21 | last post by:
Please help! i have everything set up with my CSS HTML layout and its all good. im using 3 divs at the moment and what i want to to do now is to add a new div with a background for the page. My...
1
by: sharkyboy | last post by:
Hi, I am developing a microsite on the end of our current church website. See www.the-ark.net/chooseblue I built the site using css/html then plugged it in to the existing asp cms we have. ...
9
by: =?Utf-8?B?RnJhbmsgVXJheQ==?= | last post by:
Hi all I have a MDI Container Form, with one label control on the Background of this container form. When I now open a child form, this form is behind the label ... and this looks ugly ... :-))...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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...

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.