TinyPortal
Development => Block Codes => Topic started by: ccwking on October 21, 2006, 12:27:08 AM
I have added a center block in my TP 0.9.5 (with SMF 1.1. RC3) which is defined as a "scriptbox", the code reads as follows:
<center>
<embed src="http://www.<domainname>.co.uk/<image.jpg>"</embed>
</center>
<center>Some text here</center>
<center>more text here</center>
<center><span id="tzcd"></span></center>
The span id refers to a java app which displays something below the image which is constantly updating (i.e. a clock for example)
When the center block in the "HOME" section of the forum is accessed using Mozilla Firefox, both the image is displayed as well as the java script running correctly so the page is fine. However when using Internet Explorer, the image fails to display, but the javascript runs.. what have got incorrect in the above code? Each of the three lines are centered.
ur image tag is defined wrong
the code for image tags in HTML is
<img src="http://www.yoursite.com/image.gif">
Doh.. I am a right :idiot2:
Although its odd it still works in Mozilla...
Thanks! :up:
yea different browsers work in different manners but its best to use confirmity with web standards
best to check down at webmonkey.com for a HTML tags guide :up:
http://webmonkey.com/webmonkey/reference/html_cheatsheet/