View Full Version : Trouble adding HTML under "FREE TEXTUAL INFO" in the Exhibition Editor
jil-studio
14th of September 2007 (Fri), 12:19
Adding HTML to the "FREE TEXTUAL INFO" field when creating/editing exhibitions just doesn't seem to work for me.
I would like to add an image as well as some text for each exhibition as opposed to having thumbs or microthumbs come up. Much like you can do with "groups".
My question is:
How much HTML can this field contain and is there a specific format for enter it in?? (e.g. do I need full closing head and body tags or will random hrefs to images or links do the trick)?
I get the feeling that I am missing something -could be my brain....:confused:
Thanks in advance!
-Jil
EE2 site: www.tokyoglam.com
malum
18th of September 2007 (Tue), 10:31
Here is an example of HTML that I have in my 'free textual info' section
It has a table with images in it and each image is clickable to get another bigger image
It also has a bunch of text. No head or body tags.
<table border="0" cellspacing="1" cellpadding="0" width="80%">
<tr>
<td class="Normal">
<p><strong>21.5.159</strong></p>
<table width="20" border="0" cellspacing="2" cellpadding=
"2">
<tr>
<td><a href=
"/snuff/misc%20images/other/21.5.159(b).jpg"><img src=
"/snuff/misc%20images/other/TN/21.5.159(b).jpg" width=
"111" height="144" border="0"></a></td>
<td><a href=
"/snuff/misc%20images/other/21.5.159(c).jpg"><img src=
"/snuff/misc%20images/other/TN/21.5.159(c).jpg" width=
"100" height="144" border="0"></a></td>
<td><a href=
"/snuff/misc%20images/other/21.5.159(d).jpg"><img src=
"/snuff/misc%20images/other/TN/21.5.159(d).jpg" width=
"95" height="144" border="0"></a></td>
<td><a href=
"/snuff/misc%20images/other/21.5.159(e).jpg"></a><a href=
"/snuff/misc%20images/other/21.5.159(e).jpg"><img src=
"/snuff/misc%20images/other/TN/21.5.159(e).jpg" width=
"102" height="144" border="0"></a></td>
</tr>
</table>
<p><strong>Zhou Leyuan’s Oriel Longevity</strong><br>
Colourless glass, ink and water-colours; of rounded rectangular form with a cylindrical neck, concave lip and recessed, convex oval foot surrounded by a protruding, rounded, oval footrim; painted inside on one main side with an oriole flying over flowering peonies and the trunk of a tree, the other main side with a still-life scene of auspicious objects (a natural rock sculpture, a rectangular planter of acorus grass, a tall vase with ring handles containing blossoming prunus branches, and a Yixing teapot, inscribed in draft script, ‘Made at Xuannan by Zhou Leyuan,’ with one seal of the artist, <em>yin</em>, in positive seal script<br>
Zhou Leyuan, The Lotus Fragrance Studio, Beijing, <em>circa</em> 1886-1889<br>
Height: 6.62 cm<br>
Mouth/lip: .6/1.7 cm<br>
Stopper: mother-of-pearl; glass collar</p>
<p><strong>Provenance:</strong> <br>
The Avon Collection (Amazon Rooks), October 2000</p>
<p> </p></td>
</tr>
</table>
jil-studio
20th of September 2007 (Thu), 06:27
Malum,
Thanks a lot for the sample code. I will have a play with it.
Much appreciated!
Best,
Jil
jeronimo
7th of October 2007 (Sun), 19:23
As folow up of this I wanted to add some HTML code in to the Group description.
I managed to make a table out of it. And also to call the EE style sheets. But if I validate this, it is not XHTML 1 strict.
How should I make it valid?
Tha code I used is as folows
</p>
<table><tr><td class="ee_column_middle"><div class=ee_css_paragraph>
Some text here<br/><br/>
More here<br/><br/>
And the last bit</td></tr></table>
<p class=ee_css_paragraph>
wkitty42
11th of October 2007 (Thu), 23:55
what validator did you use? all the ones i know of will tell you where your error is...
if the code you posted is accurate, there's no close to the div tag within the td tag ;)
jeronimo
12th of October 2007 (Fri), 06:24
http://validator.w3.org/check?uri=http%3A%2F%2Fwww.landmarks.nl%2F
At the moment it is correct because I skipped the table part. Just plain text
vBulletin® v3.6.12, Copyright ©2000-2012, Jelsoft Enterprises Ltd.