Page is a not externally linkable
- Code, Content, and Presentation
-- HTML
---- DOCTYPE Causing Problems


peterinwa - 12:56 am on Mar 4, 2012 (gmt 0)


Thanks Marshall, but when I went looking at that code it was so complex I just avoided the issue and used Photoshop to make a rule. Below is the text for the page.

The question I need answered is why does all the spacing between the picture (it's a slide show) and the caption, rule and Back/Close/Next links below the picture vary depending on whether I'm looking at the page from my hard drive vs. FTPed to the web.

And why do they look the same if I remove the DOCTYPE.

Peter

c="<table cellpadding=0 cellspacing=0 width=700 border=0>";
c+="<tr><td height=10><\/td><\/tr>";

// Picture
c+="<tr><td align=center width='100%'><img src='photos_2011/"+window.name+"_480.jpg' height=480 name='picture' class='ib'>";
document.write(c);
</script>

<!-- Caption -->
<p><form name=f1 style='margin:0'><input type=text name=f1text value=' ' size=100 class='Captions' border=1></form>

<!-- Rule -->
<p><img src='graphics/rule_350x2.png' height=2>

<!-- Links -->
<p class='Links'><a href='javascript:moveBack()'>Back</a>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<a href='javascript:window.close()'>Close</a>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<a href='javascript:moveNext()'>Next</a></td></tr></table>


Thread source:: http://www.webmasterworld.com/html/4424599.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com