There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
 
Tag Cloud
access audio avg avg 8 bios blue screen boot bsod computer connection cpu crash css dell desktop dma driver drivers dvd email error excel explorer firefox firefox 3 freeze gimp graphics hard drive hardware hijackthis hjt install internet internet explorer itunes keyboard laptop macro malware monitor motherboard network networking outlook outlook 2003 outlook 2007 outlook express pio problem problems router seo server slow sound sp3 spyware trojan usb video virtumonde virus vista vundo windows windows vista windows xp winxp wireless
Web Design & Development
Search
Search in:
 
Advanced Search
Tech Support Guy Forums > Internet & Networking > Web Design & Development >
Transitional Backgrounds / Dreamweaver


HELLO AND WELCOME! Before you can post your question, you'll have to register -- it's completely free! Click here to join today! We highly recommend that you print a copy of our Guide for New Members. Enjoy!

 
Thread Tools
overdrawnprocess's Avatar
Member with 31 posts.
 
Join Date: May 2007
Experience: Computer Illiterate
12-May-2007, 04:23 AM #1
Transitional Backgrounds / Dreamweaver
How do I make transitional backgrounds? Can I do it in dreamweaver?

Lol I don't know if transitional's the right word so I'll say what I made.

i.e. going from a dark blue at the top of the background to a light blue at the bottom.

Thanks for any help lol I know i'm stupid.
jaymanson's Avatar
Computer Specs
Senior Member with 213 posts.
 
Join Date: Mar 2007
Location: Christchurch, New Zealand
Experience: Advanced Design/HTML/CSS - Intermediate PHP
12-May-2007, 05:09 AM #2
Hi,

The word you're looking for is gradient It's really easy to make a background like this and keep your filesize small at the same time.

First you need to make a gradient image. If you have software like Photoshop or Gimp, you can do it in that but it may be easier to use this online tool on Dynamic Drive. Make an image of any height you like with a width of 1px. Also, take note of the bottom colour of the graient.

Then, using CSS, you can style the body element of your HTML using something like this:

Code:
body {
	background: #000000 url("gradient.jpg") repeat-x top left;
}
This places the gradient image in the top left of the screen, and repeats it horizontally across the width of the screen. Assuming I've made the bottom colour of the gradient black, I've also set the background colour to black (#000000) so if the screen is taller than my image, it will blend in nicely.

Hope this helps! If you're not too confident using CSS, I am currently writing a beginners tutorial which will be free to view online. It should be finished soon, so I will post a link to it for you when it's ready

Jay
overdrawnprocess's Avatar
Member with 31 posts.
 
Join Date: May 2007
Experience: Computer Illiterate
13-May-2007, 12:16 AM #3
Thank you actually that perfectly answers my question. I know basic html and how to use css so I've got my fingers crossed it'll work. I'll be looking for the link when you're done with the tutorial all the same though :P
Dave-Web1's Avatar
Member with 30 posts.
 
Join Date: Nov 2004
Location: Nottinghamshire, U.K.
Experience: Beginner
14-May-2007, 04:08 PM #4
I find that a nice quality gradiant graphic needs to be about 30 pixels wide, and the color fade has to be vertically straight, alot of tools alow you to angle the gradient but it needs to be straight to work.

Also consider the height, if your graphic that you are repeating as a tile across your page BG is 600 pixels high, anyone with a high res screen, or even just 1024x768, the graphic will 'run out' before reaching the base of the browser window. I tend to go for 1000px or even 1200px high. At only 30 px wide and quality setting 88% its still a pretty small file. Another thing is that some colors don't blend so well together and look a bit dodgy even in 32 bit colour, so experiment.
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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
Trackbacks are On
Pingbacks are Off
Refbacks are Off

You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 12:43 AM.
Copyright © 1996 - 2008 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Powered by Cermak Technologies, Inc.