Click to See Complete Forum and Search --> : text trouble


bmass
06-27-2006, 02:08 PM
Hey, I'm designing a template and have run into some trouble. I'm hoping I might be able to get some help here. You can view what I have done of the template at http://gears.vvclans.com . The problem is that the text in the main body is stretched out all the way to the sides of the table background picture and the top aswell. I was wondering how (if possible) can I make it so that the test is confined to a certain space, for example only 450 pixels of width and 550 pixels of height for the text. Thanks.

P.S. I tried <td width="450" height="550"> but it did nothing.

Tweak4
06-27-2006, 03:01 PM
First off, get rid of the tables. You're not showing any tabular data, so there is no need to use them (at least not that many). You'd be better off using DIVs that you can stylize via css. That would have the added bonus of keeping your background and text of each "block" together and positioned correctly.

ray326
06-27-2006, 04:05 PM
It would be a lot easier without the table layout but try using cell padding to push that content into a smaller space.

bmass
06-28-2006, 01:50 PM
I need to use the tables as I was advised that it was the only way to have writing on top of images, because I already have a general background, and then I have the text on top of another image that is on top of the background. Thanks though, I will try cellpadding and get back to you.

ccoder
06-28-2006, 02:03 PM
I need to use the tables as I was advised that it was the only way to have writing on top of images
Not true! Take a look here (http://builder.com.com/5100-6371_14-5169871.html).

nataliemac
06-28-2006, 02:17 PM
Yes, you've definitely been mis-led. CSS layout would be infinitely better for this than tables.

ray326
06-28-2006, 07:05 PM
I need to use the tables as I was advised that it was the only way to have writing on top of imagesThen you were ill advised. Tables are not only not required, they are inappropriate and actually harder to work with.