View Full Version : Gradient background huge problem! Help !

04-09-2010, 11:11 PM
Hi guys,

I'm new to dreamweaver as well as to all this graphic stuff and I'm making my first website (for a school project actually...).
Anyways, I've encountered a HUGE problem...It's kindda hard to explain, so I've taken a few screenshots:
1- This is basically my theme (done in fireworks). As you can see it is in gradient... On the right, you can see my slices.


So basically, I want my text to go in the square in the middle...
So I go on dreamweaver CS4, put that sliced section as a background, and then I add a table (with 3 collumns), like this :


So yeah, like it says in my image, if I roll down...here is the problem...


04-10-2010, 12:23 AM
not a huge problem if approached correctly which is to use divs and gradient backgrounds and you can then use child dives to place any items within them.
use css and divs not tables. tables are not for layout and design if you are learning it is better to learn correctly from the beginning

04-10-2010, 12:29 AM
Thanks for your reply.
I want to keep the same background as the one I have made in fireworks...So How can I do that with css? I don't know ANYTHING about coding...
and what's a div?? (can't find anything on that on google..)

04-10-2010, 01:26 AM
divs are divisions or sometimes called layers but for layout should be relatively positioned.
read up on css and you will understand better. using tables can and probably will create problems down the line start here perhaps

04-10-2010, 03:41 AM
ok I'm sorry but I just can't figure out how to solve my problem... Could a box of text really make that work?
I want to use the file I made myself in fireworks. The problem isn't just the box with the text (I can change that if it ll make things simpler), my problem is on the side of the box, the background is gradient, and I lose that effect when I make my page longer (or it becomes really bad looking as you can see in my picture..)

04-10-2010, 04:00 AM
What he is trying to tell you, is that by using CSS divs and not tables, the box will auto expand to however you big you need it, (or you can make it a fixed height) and the height of the gradient can be controlled also. You can also have different backgrounds (gradients for the background and for whats inside the divs.) Bottom line is, you cant do what you want unless you change your approach.