Re: Limit Local Search to Content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 2009/3/26 George Langley <george.langley@xxxxxxx>:
> > How do I STOP it? Is it permissible to add the id again in the 
> closing div tag ie </div id="divContent">.
>

From: Stuart <stuttle@xxxxxxxxx>
> You can't have any extra info in a closing HTML tag. This 
> problem is
> usually handled using comments. Something like the following...
> 
> <div id="divContent">
> <!-- content begin -->
> sofihsod hiosdh sdh gus us u sg
> <!-- content end -->
> </div>
> 
> You then just start with you see the begin comment and stop when you
> hit the end comment.
---------
	Thanks! Will use a unique word like <!-- startSearchTerms --> to make sure is located and not accidentally found within the content.

George

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux