...

View Full Version : Resolved Comments showing up on the page??



YaymeQ
03-11-2009, 02:05 AM
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.


<!--<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 ">" ??

PitbullMean
03-11-2009, 03:29 AM
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 -->

YaymeQ
03-11-2009, 03:43 AM
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!

oesxyl
03-11-2009, 03:46 AM
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.


<!--<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 ">" ??


<!--<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



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum