Design Tips from PeachPit Press
Posted: Tue Aug 09, 2005 12:34 am
This month's design tip:
Create a Submit Button with an Image
[quote]Type <button type="submit" name ="submit" value="submit"
Type >
Type the text, if any, that should appear on the left side of the image in the button
Type <img src="image.url" where image.url is the name of the image that will appear on the button
If desired, add any other image attributes
Type /> to complete the image
Type the text, if any, that should appear on the right side of the image in the button
Type </button>[/quote]
Create a Submit Button with an Image
[quote]Type <button type="submit" name ="submit" value="submit"
Type >
Type the text, if any, that should appear on the left side of the image in the button
Type <img src="image.url" where image.url is the name of the image that will appear on the button
If desired, add any other image attributes
Type /> to complete the image
Type the text, if any, that should appear on the right side of the image in the button
Type </button>[/quote]