PDA

View Full Version : Customized Text Boxes



Recursion
28-12-2006, 08:31 PM
Heya

How do i makea text box out of an image?

Like if i had this:
http://www.tom.speed-networks.net/text.PNG
http://www.tom.speed-networks.net/text.PNG

How would i code the layout so that people could type into that?

Thanks
Tom

awelsh
28-12-2006, 08:38 PM
Use fireworks to slice it and then use dreamweaver to type the text in.

Mentor
28-12-2006, 08:40 PM
Doing it out of an image isnt really practical. Although you can quite easly acheave the effect minus the water mark with a bit of simple css. Simply give it an id, then use css to apply a background with the hex used for the colour in your image, and a border of maybe 2 pixles, then colour that in the colour again used in your image. Hey presto, all done, no images need :D

awelsh
28-12-2006, 08:44 PM
or very simply make a small table. Make the border the colour you want and make it like 5px and then make the body colour the one you want.

Recursion
28-12-2006, 08:45 PM
its a text box, where people type the URL to the site they want in...

Thanks Thybag :) Your knowledge is superior to mine :P

+REP

Colin-Roberts
28-12-2006, 08:47 PM
+ as mentor said css loads faster then a bunch of images.

Recursion
28-12-2006, 08:49 PM
Thanks :) for the Replys!

Want to hide these adverts? Register an account for free!