Print Page | Close Window

Response.write + width & height

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: Classic ASP Discussion
Forum Description: Discussion on Active Server Pages (Classic ASP).
URL: https://forums.webwiz.net/forum_posts.asp?TID=4543
Printed Date: 30 March 2026 at 10:06am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Response.write + width & height
Posted By: Badaboem
Subject: Response.write + width & height
Date Posted: 26 July 2003 at 11:45am

How do I put width='10' and height='10' in this response write? I tried several ways, but it didn't work out.

Response.Write ("<TD><A HREF='library" & "/" & RS("Preview") & "'>" & "<img src='library" & "/" & RS("Preview") & "'>" & "</A></img></TD>")

Thanks in advance.

 




Replies:
Posted By: joshb
Date Posted: 26 July 2003 at 12:02pm

Response.Write ("<TD><A HREF='library" & "/" & RS("Preview") & "'>" & "<img width="10" height="10" src='library" & "/" & RS("Preview") & "'>" & "</A></img></TD>")

didn't work?



-------------
I'm a wannabe programmer that knows how to do nothing but create invalid procedure arguments.
http://www.soopportal.com">


Posted By: joshb
Date Posted: 26 July 2003 at 12:07pm

Oops, need double quotes

Response.Write ("<TD><A HREF='library" & "/" & RS("Preview") & "'>" & "<img width=""10"" height=""10"" src='library" & "/" & RS("Preview") & "'>" & "</A></img></TD>")



-------------
I'm a wannabe programmer that knows how to do nothing but create invalid procedure arguments.
http://www.soopportal.com">


Posted By: Badaboem
Date Posted: 26 July 2003 at 3:58pm
Thanks, that worked.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net