Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 10-04-2004, 03:38 PM   PM User | #1
newkid
New Coder

 
Join Date: Jan 2004
Location: Minnesota
Posts: 86
Thanks: 0
Thanked 0 Times in 0 Posts
newkid is an unknown quantity at this point
CSS question, what does url do?

This is from a Site I now have to maintain. In the code below what does or what is this for, the url porttion on the import and backgroud images? I have never seen it used before and could not find any thing on it.


Code:
@import url("assets/fp.css");
#corral {
	height: 463px;
	width: 319px;
	position: absolute;
	left: 55px;
	top: 0px;
}
#leftlines {
	background-image: url(assets/hm_stripe_bg.gif);
	background-repeat: repeat-y;
	position: absolute;
	height: 463px;
	width: 55px;
	left: 0px;
	top: 0px;
}
#mainblock {
	background-image: url(assets/hm_grad_bg.gif);
	background-repeat: repeat-x;
	position: absolute;
	height: 522px;
	width: 100%;
	left: 0px;
	top: 78px;
}

Thanks
J.C.
To learn is a good thing and today I hope to learn somthing new!
newkid is offline   Reply With Quote
Old 10-04-2004, 04:20 PM   PM User | #2
gohankid77
Regular Coder

 
Join Date: Jul 2004
Location: engoku no anime
Posts: 354
Thanks: 0
Thanked 0 Times in 0 Posts
gohankid77 is an unknown quantity at this point
It acts like the "src" attribute of an <img/> tag in that it specifies where the CSS file and background image are located.
__________________
Spread Firefox!
Get Firefox!
gohankid77 is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

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 +1. The time now is 11:20 PM.


Advertisement
Log in to turn off these ads.