Re: Re: Read more link with HTML code

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

 



Hey,

a client can type anything in the field, so all kind of HTML tags can be inserted...

- Mike

Medusa, Media Usage Advice B.V.
Science Park Eindhoven 5216
5692 EG SON
tel: 040-24 57 024 fax: 040-29 63 567
url: www.medusa.nl
mail: mike@xxxxxxxxx

Uw bedrijf voor Multimedia op Maat



bedul schreef:
i prefer u use the prefix.. but it very advance..

can u spesific more.. client able to type what tag (u must consider lock
other than what u type earlier)
anyway.. using a table is a good idea.. actualy if your client type using
table.. what should u do??
----- Original Message -----
From: "itoctopus" <newsgroup@xxxxxxxxxxxxx>
To: <php-db@xxxxxxxxxxxxx>
Sent: Tuesday, May 08, 2007 7:26 AM
Subject:  Re: Read more link with HTML code


Put your 200 characters in a table block:
<table>
    <tr>
        <td>
        Your 200 characters
        </td>
    </tr>
</table>

--
itoctopus - http://www.itoctopus.com
"Mike van Hoof" <mike@xxxxxxxxx> wrote in message
news:463F0D50.9010803@xxxxxxxxxxxx
Hello list,

I got a problem with displaying content in a "read more block" which
contains HTML code.
The problem is as followes:

I got a large piece of content, which contains HTML code (<b><u><i>
etc),
but after 200 characters a read more link appears. At the moment I strip
al the HTML out of this piece of content, and display the full set off
content on another page.
But now i also want to display the bold text etc. in the first (200
chrs)
content block. The only problem i have here, is that when I got a bold
tag
opend in the first 200 chrs, and it's closed after 400 chrs, then the
rest
off the page is also bold.

somebody got a solution ?

Thanks for reading.

Mike

--
Medusa, Media Usage Advice B.V.
Science Park Eindhoven 5216
5692 EG SON
tel: 040-24 57 024  fax: 040-29 63 567
url: www.medusa.nl
mail: mike@xxxxxxxxx

Uw bedrijf voor Multimedia op Maat
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux