Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    Regular Coder YaymeQ's Avatar
    Join Date
    Feb 2008
    Location
    virginia
    Posts
    140
    Thanks
    14
    Thanked 0 Times in 0 Posts

    Comments showing up on the page??

    I have commented out a logo because I decided to put it in the css instead of the html but when I did that, the comment showed up.

    Code:
    <!--<img id="logo" src="images/pwsologo.gif" alt="Prince William Symphony Orchastra logo">     --this has gone into the background in the css page-->
    Is there anything wrong with this code?

    Edit: I took out the two dashes before "this has gone" and it's not on the page anymore ... so just to clarify ... the end of the comment is the dashes and not the ">" ??
    Last edited by YaymeQ; 03-11-2009 at 02:43 AM.
    Where is the "any" key??!

  • #2
    Regular Coder
    Join Date
    Oct 2007
    Location
    Glencoe, Ontario, Canada
    Posts
    340
    Thanks
    19
    Thanked 27 Times in 27 Posts
    just remove it entirely, cause if you have it put in css to the existing location you should be fine to remove it.

    to comment out its <!-- what u want to comment out -->
    Eric "PitbullMean" Melo
    Always Start your layout with*{border:0; margin:0; padding:0;}
    Be sure to Thank ALL Users who give assistance.

  • #3
    Regular Coder YaymeQ's Avatar
    Join Date
    Feb 2008
    Location
    virginia
    Posts
    140
    Thanks
    14
    Thanked 0 Times in 0 Posts
    I will remove it eventually but I wasn't sure if I wanted it to stay as a background so I just left it there but now that I got it looking the way I wanted it to I can't think of a reason to keep it so I will just remove it completely. Thanks!
    Where is the "any" key??!

  • #4
    Master Coder
    Join Date
    Dec 2007
    Posts
    6,682
    Thanks
    436
    Thanked 890 Times in 879 Posts
    Quote Originally Posted by YaymeQ View Post
    I have commented out a logo because I decided to put it in the css instead of the html but when I did that, the comment showed up.

    Code:
    <!--<img id="logo" src="images/pwsologo.gif" alt="Prince William Symphony Orchastra logo">     --this has gone into the background in the css page-->
    Is there anything wrong with this code?

    Edit: I took out the two dashes before "this has gone" and it's not on the page anymore ... so just to clarify ... the end of the comment is the dashes and not the ">" ??
    Code:
    <!--<img id="logo" src="images/pwsologo.gif" alt="Prince William Symphony Orchastra logo">
    --this has gone into the background in the css page-->
    parsing problem, remove a '-' before "this has gone..." and add a space after <!-- and one before -->

    best regards

  • Users who have thanked oesxyl for this post:

    YaymeQ (03-11-2009)


  •  

    Posting Permissions

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