forrest-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gav...." <brightoncomput...@brightontown.com.au>
Subject RE: Linked images within a section impossible with document-v20?
Date Sat, 06 Oct 2007 01:21:19 GMT


> -----Original Message-----
> From: Brolin Empey [mailto:brolin.empey@gmail.com]
> Sent: Saturday, 6 October 2007 7:17 AM
> To: user@forrest.apache.org
> Subject: Linked images within a section impossible with document-v20?
> 
> Forresters,
> 
> Within a section, is it possible to make an image a link with document-
> v20?

Yes

> 
> It seems to be impossible, because img elements cannot be used inside
> a section.

No, but they can be used in <p>, <li>, <a>,  <note> etc etc ...

(Check out the DTD at 
http://forrest.apache.org/dtdx/document-v20.dtdx.html#a)


  figure elements can be used inside a section, but not
> inside an 'a'.

Not sure that figures are supposed to be made into links.

But you can have linked images as normal using img such as

<a href="/index.html"> <img src="../images/icon.png" alt="image" height="22"
width="26"/></a>

.. but put them inside an allowed element such as <p> or <li> ...

Gav...

> 
> Is this intentional?


> 
> Thanks,
> Brolin
> 
> 
> --
> Internal Virus Database is out-of-date.
> Checked by AVG Free Edition.
> Version: 7.5.487 / Virus Database: 269.13.22 - Release Date: 9/17/2007
> 12:00 AM

Mime
View raw message