473,769 Members | 8,267 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

background text dissapearing help please

2 New Member
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 1913
drhowarddrfine
7,435 Recognized Expert Expert
<!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 Recognized Expert Top Contributor
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 Recognized Expert Expert
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
10478
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 have the same name and reside in the following physical path structure:
5
3487
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 that change the background color to have a visible effect, as this bar changes color. By default, it appears that the color is inherited from the body color, i.e. with no link style applied, the bar is black, and invisible against the background....
4
3845
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 seems to be transparent and not with the pink background-color i defined? the referring styesheet is on http://tomasio.laudatio.com/jobs/Claudia/Website/stylesheet.css thx in advance
3
4766
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
1733
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 exception at FillDatatable dr.AcceptChanges, and also the XTraGridControl will not response when click on the column header to do sorting and filtering. What i'm trying to do is very simple, i just want to retrieve a very large table from web service...
2
2976
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, Arial, Helvetica, sans-serif; color: #000000; background: #FFFFFF; height: auto; width: auto; margin: 0px; padding: 0px;
7
7393
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 problem is i don't know how to make it go behind all the other divs. can anyone help? These are the .div's i have created and .div3 is the .div i have been using to try and become the background .div0 { background-color:black; color: purple;...
1
1645
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. My issue is with css/html... The container background only seems to stretch down as far at the header when viewed in firefox (it is ok with ie7 & dreamweaver preview). I can't fathom why. The css and html seemed to validate ok. Any ideas?
9
8026
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 ... :-)) When I set the label with "SendToBack", it completely disapears. I also tried to set the child form like "BringToFront" but this also does not help.
0
9589
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10216
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10049
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9865
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6675
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5310
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5448
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3565
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2815
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.