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

 

understand CSS this snippet

 
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 >> understand CSS this snippet
Page: [1]
 
seth

 

Posts: 312
From: canada
Status: offline

 
understand CSS this snippet - 6/8/2007 13:48:04   
body {
background-color: #330000;
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
background-image: url();
background-repeat: repeat;
}


Hi What's background-image: url();

Is url() a JavaSctip function? will something like this work? Thanks for help me understand this.

Cheers
coreybryant

 

Posts: 2422
Joined: 3/17/2002
From: Castle Rock CO USA
Status: offline

 
RE: understand CSS this snippet - 6/8/2007 14:01:30   
It's for you to add an URL to the background image and the next function will make sure that it repeats (which background images do anyway).

_____________________________

Corey R. Bryant
Merchant Accounts | Toll Free Numbers | My Blog | Expression Web Blog

(in reply to seth)
rdouglass

 

Posts: 9167
From: Biddeford, ME USA
Status: offline

 
RE: understand CSS this snippet - 6/8/2007 15:20:32   
The one thing I might add is with images and external style sheets, the image path is relative to the style sheet and not the page it's used on. So if you have your CSS in it's own directory, the image line would look something like this:

background-image: url('../images/myimage.jpg');

I wasted quite a bit of time on that one once. :) Hope you can avoid that mistake.:)

_____________________________

Don't take you're eye off your final destination.

ASP Checkbox Function Tutorial.

(in reply to coreybryant)
Page:   [1]

All Forums >> Web Development >> Cascading Style Sheets >> understand CSS this snippet
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