You are here: Re: A (hopefully) simple regular expression question... « PHP Programming Language « IT news, forums, messages
Re: A (hopefully) simple regular expression question...

Posted by Justin Koivisto on 09/28/55 11:37

Al wrote:
> I do apologise. It seems to work well, and I realised that my mistake
> was in copying your code directly. the string in my code is $ret and
> yours is $str. So basically I'm an idiot :)
>
> Nonetheless, thanks for the help. And sorry I've been so long getting
> back on the matter, I've been away for the weekend.
>
> I'll implement the code as soon as I can and work out how to go about
> fixing my output (whether I should cut the fieldset off entirely or
> leave it and just ad trailing '...'s etc.)
>
> I've thought of a few problems I could encounter. If I just leave the
> '...'s and close the fieldset, I run the risk of one particular quote
> being just long enough to finish the internal <div> but not the
> fieldset, e.g.:
>
> <fieldset>
> <legend>Bob</legend>
> <div>Just long enough to get the end of this in, but not the rest</div>
> ...
>
> That'll be alright, but the '...'s won't be enclosed on the div, not
> that that's a *major* problem, just if I want to style the divs more
> than now, it won't style the '...' (although the same styling applied
> to fieldset, fieldset * {} will work.
>
> Anyway thanks again for helping me out.

Rather than Using a fieldset, why not just use blockquote? Those are
meant for quoting others anyway.

--
Justin Koivisto, ZCE - justin@koivi.com
http://koivi.com

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация