Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Oct 2009
    Thanked 0 Times in 0 Posts

    Class element not showing

    Hi there,

    In my HTML code all of the below is appearing in green when i preview the web page and view source........ i scroll down to the bottom and see the text is all green? But on the other pages it is all fine.

    Does anyone know why?

    This results in my copyright info at the bottom of the page not showing when i preview it in the browser (firefox).

     <!----------------body text events ends-------------------------->
            <br style="clear:both" />
                <div class="copyright">
       	    <a href="#" target="_blank">&copy;Copyright  | Website created by </a></div> <!--copyright ends-->
      </div><!-------------------main content ends----------------->
    The HTML code of the other page below is working fine....

            </div><!--body text ******* ends-->
            <br style="clear:both" />
               <div class="copyright">
            	 <a href="#" target="_blank">&copy;Copyright  | Website created by 

  2. #2
    The Apostate Apostropartheid's Avatar
    Join Date
    Oct 2007
    Thanked 265 Times in 263 Posts
    You could try stopping that ridiculous way of doing comments. It's confusing the browser: it doesn't know whether it's a comment or not, because a well-formed HTML comment is like this: <!-- -->

    If you want to make the comment stand out, use asterisks or something to pad it out, but not hyphens. I would, however, question the need to do this.
    Last edited by Apostropartheid; 12-03-2009 at 07:45 PM.

  3. #3
    Master Coder Excavator's Avatar
    Join Date
    Dec 2006
    Thanked 1,874 Times in 1,858 Posts
    Hello amlania,
    Have a look at the links about validation in my sig below. Also the suggestion about validating often in the same sig.

    These will help you.
    Validate often DURING development - Use it like a splelchecker | Debug during Development |Write it for FireFox, ignore IE
    Use a DocType | Validate your markup | Validate your CSS | Why validating is good | Why tables are bad


Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts