logo-dw

Go Back   Dreamweaver Club Forums > Dreamweaver forums > Dreamweaver General
Register FAQ Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
Old 09-01-2008, 07:46 AM   #1
jon015
 
Join Date: May 2008
Posts: 35
Default Background Colour/Image

I nearly have my first website complete using dreamweaver and table layouts. I want to give my homepage a gradient colour background and the rest a solid colour. When I apply all these, it leaves big white gaps around my template from the table borders, I have tried deleting these, but it deletes the whole table. In all the tutorials I have read it does not mention this, am I mean't to get rid of the table or similar after it is complete? Thanks
jon015 is offline   Reply With Quote
Old 09-01-2008, 04:11 PM   #2
Corrosive
Corrosive's Avatar
 
Join Date: Feb 2008
Location: Bristol, England
Posts: 7,103
Default

Quote:
Originally Posted by jon015 View Post
I nearly have my first website complete using dreamweaver and table layouts. I want to give my homepage a gradient colour background and the rest a solid colour. When I apply all these, it leaves big white gaps around my template from the table borders, I have tried deleting these, but it deletes the whole table. In all the tutorials I have read it does not mention this, am I mean't to get rid of the table or similar after it is complete? Thanks
Can you set the borders on tables to '0'?
Corrosive is offline   Reply With Quote
Old 09-02-2008, 08:22 AM   #3
jon015
 
Join Date: May 2008
Posts: 35
Default

Quote:
Originally Posted by Corrosive View Post
Can you set the borders on tables to '0'?
I think the borders are set to 0, it says 0 in the property inspector?
jon015 is offline   Reply With Quote
Old 09-02-2008, 08:25 AM   #4
edbr
edbr's Avatar
 
Join Date: Aug 2005
Location: Bali
Posts: 11,164
Default

are they links?
__________________
If you're happy and you know it shake your meds!
different style links examples

Flight / Hotel search
Free script download
Bali Villas
edbr is offline   Reply With Quote
Old 09-02-2008, 12:08 PM   #5
jon015
 
Join Date: May 2008
Posts: 35
Default

Quote:
Originally Posted by edbr View Post
are they links?

Sorry don't understand your question, are what links? Basically my template is rectangle and I want the background behind it a gradient colour. How Do I apply it, that it is only in the background and there are no gaps or showing in the middle of my template? I'm using tables.
jon015 is offline   Reply With Quote
Old 09-02-2008, 12:33 PM   #6
Corrosive
Corrosive's Avatar
 
Join Date: Feb 2008
Location: Bristol, England
Posts: 7,103
Default

Quote:
Originally Posted by jon015 View Post
Sorry don't understand your question, are what links? Basically my template is rectangle and I want the background behind it a gradient colour. How Do I apply it, that it is only in the background and there are no gaps or showing in the middle of my template? I'm using tables.
Total guess mate as I am not great (understatement) with tables. Go to page properties > appearance and then set the margins on the page all to '0'. Otherwise I'm fresh out of ideas and will only say 'well you should be using CSS and Div Tags really'
Corrosive is offline   Reply With Quote
Old 09-02-2008, 01:09 PM   #7
domedia
Administrator
domedia's Avatar
 
Join Date: Dec 2003
Posts: 9,730
Default

To add a gradient and a solid color:
Code:
body { background: url(directory/gradient.jpg) repeat-x #335577;}
Create the tiling gradient in Photoshop or whatever your graphic software is. The hex color defines the solid color.
The repeat defines which way the gradient repeat, on the X or Y axis.
domedia is offline   Reply With Quote
Old 09-03-2008, 12:35 AM   #8
edbr
edbr's Avatar
 
Join Date: Aug 2005
Location: Bali
Posts: 11,164
Default

re links , sorry completely mis read your problem. Not enough coffee maybe
__________________
If you're happy and you know it shake your meds!
different style links examples

Flight / Hotel search
Free script download
Bali Villas
edbr is offline   Reply With Quote
Old 09-03-2008, 09:26 AM   #9
jon015
 
Join Date: May 2008
Posts: 35
Default

I have managed to sort the background problem to an extent. I am going to upload the site later to show my problem as its too complicated to explain. Although a new problem has developed now, when I apply a solid background colour, it appears in the middle of my template behind a box with some text and behind some of my buttons. I don't understand why, because when I imported them from fireworks, they were sliced jpegs with a white background? As soon as I finish this site, I'm learning CSS, as working with tables is a nightmare!
jon015 is offline   Reply With Quote
Old 09-03-2008, 04:05 PM   #10
Corrosive
Corrosive's Avatar
 
Join Date: Feb 2008
Location: Bristol, England
Posts: 7,103
Default

Quote:
Originally Posted by jon015 View Post
As soon as I finish this site, I'm learning CSS, as working with tables is a nightmare!
Amen to that. You will find CSS has it's own bank of problems but at least you'll be designing like a pro.

Let us know when you've got the site uploaded Jon.
Corrosive is offline   Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:11 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Copyright 2006 DreamweaverClub.com