background text dissapearing help please

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sunburst
    New Member
    • Jan 2007
    • 2

    #1

    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


    Code:
    <!doctytpe html public "-//w3c//dtd html 4.01 transitional//en" "deleted as not needed"
    <html>
    
    <head>
    
    <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"
    <meta name="keywords content="about us,company history,profile,information,jewellery,jewelry,gold,silver,US,UK,speciality,books">
    
    <title>goldandsilverbooks.com - Contact Us</title>
    
    
    
    
    
    
    <style type="text/css">
    body{
    	font-family:"Comic Sans MS";
    	font-size: 12pt;
    	color: #000000;
    	background-color: #FFFFFF;
    }
    
    h1{
    	font-family:"Arial";
    	font-size: 16pt;
    	color: #000000;
    	text-align: center;
    }
    
    h2{
    	font-family:"Arial";
    	font-size: 14pt;
    	color: #000000;
    }
    
    hr{
    	color: #696969;
    	width: 90%;
    }
    a:link {
    	color: #808080;
    }
    a:visited {
    	color: #DAA520;
    }
    .logotext(
    	font-size, 36px;
    	font-weight:bold;
    	color:#000000;
    	font-family:"Arial"}
    }
    .copyright{
    font-size; 11px;
    font-weight; bold;
    color:#C0C0C0
    }
    
    </style>
    </head>
    
    <body background="images/tile1.bmp"> 
    <table cellpadding= "0"width="650"border="0"
    align="center">
    <tr bgcolor="#FFFFFF">
    <td><img src="images/booklogo.gif" align="left"><span class="logotext">
    krisalis</span>
    		</td>
    	</tr>
    <tr bgcolor="#FFFFFF">
    <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>
    </td>
    </tr> 
    	</table>
    
    
    
    <table cellpadding="20" width="750"
    bgcolor="black" border="0" align="center">
    <tr>
    <td>
    
    <bspace="40">
    <vspace="40">
    <h1>About Us</h1>
    
    <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>
    
    <h2>Why Shop with Us?</h2>
    
    <ul>
    <li>We can provide you with any title from 2.2 million books titles in print.</li>
    <li>We offer some of the most cost effective global shipping rates available worldwide.</li>
    <li>Dispatch is usually within 3 days of placing your order.</li>
    <li>We offer you personalised customer service by phone or e-mail.</li>
    </ul>
    
    <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>
    
    
    
    
    
    
    <center>
    <hr><br>
    <p><span class="copyright"> copyright &copy;goldandsilverbooks.com 2006. All rights reserved.</span></p> 
    </center>
    
    
    </td>
    </tr>
    </table> 
    </body>
    </html>

    cheers all

    Subsx
    Last edited by AricC; Jan 30 '07, 11:20 PM. Reason: Added Code Tags For Readability
  • drhowarddrfine
    Recognized Expert Expert
    • Sep 2006
    • 7434

    #2
    <!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.

    Comment

    • AricC
      Recognized Expert Top Contributor
      • Oct 2006
      • 1885

      #3
      Code:
      <!doctytpe html public "-//w3c//dtd html 4.01 transitional//en" "deleted as not
      As stated above, the DOCTYPE is not optional.

      Comment

      • drhowarddrfine
        Recognized Expert Expert
        • Sep 2006
        • 7434

        #4
        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.

        Comment

        Working...