PhotoshopForums.com Home
Navigate Contact FAQ Search Members
expanding text boxes
Post new topic   Reply to topic    PhotoshopForums.com Forum Index -> General Photoshop and Design Discussion
 See a User Guidelines violation? Please contact us.
Author Message

dzine

Joined: 28 Dec 2004
Posts: 2



PostPosted: Tue Dec 28, 2004 10:28 pm    Post subject: expanding text boxes Reply with quote

Hi, I'm trying to make a website and I hit a little obstacle. I know about using tables and such to section off each part of the website, especially the text part. I've coded websites before, but this time I want to use an image as the background of the text box (cell). I picked a site at random and came up with this: http://www.absolutecross.com/. There you can see how the author made a text background that stands out, like behind "Welcome to...".

However, one thing I don't know how to do is make the image expand vertically as the amount of text grows. Of course the table automatically expands, but how do I make the cell background expand with it? I'm sure many of you know what I'm talking about; the background image "stretches" vertically as more text is put into the table. How can I do this with html, or something else? Can anyone help me and give some pointers?

Thanks!
View user's profile Send private message

vel

Joined: 05 Oct 2004
Posts: 339
Location: oc|ca|usa


PostPosted: Wed Dec 29, 2004 1:12 am    Post subject: adsf Reply with quote

1. Create your content box.. template (content 1)
2. Go to Image Ready, slice it up (content2) ... make sure to separate the header, footer, left column, right column, and text background (in the middle)
3. File, save optimize as, html + images (content3)
4. Open the .html file wherever you saved everything.
5. Find which image names represent right and left columns (content4)
6. Follow the rest of the images... in html editor, right after <td put background="images/image_01.gif" ...
or whatever image is supposed to be there


NOTE: The images are out of order, just follow their titles.
ex. content1 comes before content2 and so on..

Hope this helped, i just did this in 20 min



content3.jpg
 Description:
save it as optimized
 Filesize:  43.41 KB
 Viewed:  1231 Time(s)

content3.jpg



content2.jpg
 Description:
sliced up in image ready
 Filesize:  35.91 KB
 Viewed:  1231 Time(s)

content2.jpg



content1.jpg
 Description:
base template, a .psd created in photoshop...
 Filesize:  20.44 KB
 Viewed:  1231 Time(s)

content1.jpg



_________________
postcount++;


Last edited by vel on Wed Dec 29, 2004 1:16 am; edited 3 times in total
View user's profile Send private message Visit poster's website AIM Address

vel

Joined: 05 Oct 2004
Posts: 339
Location: oc|ca|usa


PostPosted: Wed Dec 29, 2004 1:12 am    Post subject: Reply with quote

here are the rest of the images:


content6.jpg
 Description:
 Filesize:  43.3 KB
 Viewed:  1229 Time(s)

content6.jpg



content5.jpg
 Description:
 Filesize:  112.43 KB
 Viewed:  1229 Time(s)

content5.jpg



content4.jpg
 Description:
 Filesize:  83.66 KB
 Viewed:  1229 Time(s)

content4.jpg



_________________
postcount++;
View user's profile Send private message Visit poster's website AIM Address

dzine

Joined: 28 Dec 2004
Posts: 2



PostPosted: Wed Dec 29, 2004 12:21 pm    Post subject: Reply with quote

Thanks for taking the time to show me. I get what you're saying, basically that the image needs to be cut up into sections so it works. To practice I made an image then cut it up by hand and coded it manually into a table. Seems to work nicely.

:)
View user's profile Send private message

vel

Joined: 05 Oct 2004
Posts: 339
Location: oc|ca|usa


PostPosted: Wed Dec 29, 2004 2:36 pm    Post subject: Reply with quote

OK Great.
_________________
postcount++;
View user's profile Send private message Visit poster's website AIM Address
Display posts from previous:   
Post new topic   Reply to topic    PhotoshopForums.com Forum Index -> General Photoshop and Design Discussion All times are GMT - 6 Hours
Page 1 of 1
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Contact - User Guidelines >

Copyright © 2003-2016. PhotoshopForums.com, iFroggy Network. All Rights Reserved.
Powered by phpBB © phpBB Group. phpBB SEO. Privacy Policy.
We are in no way affiliated with Adobe. Photoshop, Adobe and related marks are registered trademarks of Adobe.
PhotoshopForums.com