HighDots Forums  

can anyone explain why a site would use this <!--<BR>-->

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss can anyone explain why a site would use this <!--<BR>--> in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
John D
 
Posts: n/a

Default can anyone explain why a site would use this <!--<BR>--> - 09-04-2003 , 03:32 AM






can anyone explain why a site would use this in their page

<!--<BR>-->

Presumably it is hiding the <BR> from ... ???

TIA

John



Reply With Quote
  #2  
Old   
Philipp Lenssen
 
Posts: n/a

Default Re: can anyone explain why a site would use this <!--<BR>--> - 09-04-2003 , 03:52 AM






John D wrote:

Quote:
can anyone explain why a site would use this in their page

!--<BR>--

Presumably it is hiding the <BR> from ... ???

This is a comment. The reason to use a comment is to disable content
from having any effect at all (to search engines, browsers, whatever).
An author might want to remind herself that this <br> should be used
later on, but you never know.

--
Google Blogoscoped
http://blog.outer-court.com


Reply With Quote
  #3  
Old   
Stan Brown
 
Posts: n/a

Default Re: can anyone explain why a site would use this <!--<BR>--> - 09-04-2003 , 10:50 AM



In article <bj6tme$afe$1 (AT) newsreader (DOT) mailgate.org> in
comp.infosystems.www.authoring.stylesheets, John D
<dobjsonne (AT) NoSpamATwarmmail (DOT) com> wrote:
Quote:
can anyone explain why a site would use this in their page

!--<BR>--

Presumably it is hiding the <BR> from ... ???

Sometimes people comment out some coding as a trial to see how they
like the result, then never get around to actually deleting it. If
it's short, there's no real problem; if it's long it will of course
make the page load slower.

Why not e-mail the page author and ask?

--
Stan Brown, Oak Road Systems, Cortland County, New York, USA
http://OakRoadSystems.com/
HTML 4.01 spec: http://www.w3.org/TR/html401/
validator: http://validator.w3.org/
CSS 2 spec: http://www.w3.org/TR/REC-CSS2/
2.1 changes: http://www.w3.org/TR/CSS21/changes.html
validator: http://jigsaw.w3.org/css-validator/


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.