navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

Microsoft MVP

 

How did they do that?

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> Cascading Style Sheets >> How did they do that?
Page: [1]
 
mjl

 

Posts: 15
Joined: 12/22/2003
Status: offline

 
How did they do that? - 12/31/2006 12:12:37   
Hi,

I'm trying to create a gradient fill for the background of my site, similar to that on http://www.thinslice.net

So far I have -

background : url(image.gif);
background-repeat: repeat-x;

Of course, this repeats the image across the top of the screen which is just what I'm after. Only, the rest of the background below is white. If only I could set the rest of the background to be the light shade of blue, I'd be happy.

Any ideas?

Thanks,

Mark
Donkey

 

Posts: 3842
Joined: 11/13/2001
From: Blackfield United Kingdom
Status: offline

 
RE: How did they do that? - 12/31/2006 13:04:05   
Assuming you have made your gradient gif running down from a dark blue to a light blue, give the background a colour to match the light blue.
background-image: url(../images/image.gif);
background-repeat: repeat-x;
background-color: light-blue;
Replace the words "light-blue" with the hex code of the light blue colour.

It is always a good idea to keep your images in a separate directory. Usually called "images" inside the root directory.

_____________________________

:)

I have a higher and grander standard of principle than George Washington. He could not lie; I can, but I won't.
Samuel Clemens

(in reply to mjl)
mjl

 

Posts: 15
Joined: 12/22/2003
Status: offline

 
RE: How did they do that? - 1/1/2007 10:36:24   
Cheers Donkey! That worked a treat.

Thanks again,

Mark

(in reply to Donkey)
Page:   [1]

All Forums >> Web Development >> Cascading Style Sheets >> How did they do that?
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts