Web Hosting Talk







View Full Version : position a smiley on a web page


closed office
12-17-2007, 04:41 AM
How do you do that anyway? Using just html and css (hopefully). Do you have to work with an image and get it to stick to the end of a sentence? Or is there a set of text that you can type and the browser will display the smiley? (I might have to change my log in name to baffled.)

best wishes, lloyd

bear
12-17-2007, 09:16 AM
It's as simple as placing the image in the text where you want it using an img call. Like so:
This is my sentence, and here: <img src="path/to/image.gif"> is my smilie.
If it's a larger image it may not work properly since the text may wrap around the image oddly. Try it?

closed office
12-17-2007, 09:56 AM
OK, thanks. I appreciate the simple part.

best wishes, lloyd