473,396 Members | 2,052 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Difference of two CSS properties

body {background-color:#9cf;}

body {background:#9cf;}

The effects are same. What is the difference between
'background-color' and 'background'?
From somewhere:

background: url(http://www.grsites.com/textures/misc/misc157.jpg);

The url is in fact offline. The background displays without being on
the Internet. Is the information in the PC?

Are there more options for the color? Where are they?

Thanks.

Jul 24 '05 #1
2 1774
du*******@yahoo.com wrote:
body {background-color:#9cf;}

body {background:#9cf;}

The effects are same. What is the difference between
'background-color' and 'background'?
http://www.w3.org/TR/REC-CSS2/colors...und-properties
From somewhere:

background: url(http://www.grsites.com/textures/misc/misc157.jpg);

The url is in fact offline. The background displays without being on
the Internet. Is the information in the PC?


probably cached by your browser
Are there more options for the color? Where are they?


http://www.w3.org/TR/REC-CSS2/colors.html
Jul 24 '05 #2
Chris Sharman wrote:
du*******@yahoo.com wrote:
body {background-color:#9cf;}
body {background:#9cf;} The effects are same. What is the difference between
'background-color' and 'background'? http://www.w3.org/TR/REC-CSS2/colors...und-properties
From somewhere:

background: url(http://www.grsites.com/textures/misc/misc157.jpg);

The url is in fact offline. The background displays without being on
the Internet. Is the information in the PC?

probably cached by your browser


I get an image there.

1) I doubt that I've ever been there before.
2) My cache is disabled anyway.
3) I can see the image being painted slowly on my dialup, not at
accessed-from-HD speed.

I don't know what "the url is in fact offline" is based on.

--
Blinky Linux Registered User 297263
Killing all Usenet posts from Google Groups
Info: http://blinkynet.net/comp/uip5.html
Jul 24 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

12
by: Stan Brown | last post by:
I've been thinking about float-ing a span versus float-ing a div, and the same for absolute positioning. When what is floated or positioned is a short chunk of text, I don't see any _visual_...
5
by: WindAndWaves | last post by:
Greetings once more, I was wondering if someone figured out the difference between attributes and properties. I noticed that things like fields have a number of properties, but also...
11
by: Raj Dhrolia | last post by:
Hi Guys, It might seem to be a very easy question, but i am very much eager to know some good technical difference between C# and VB.NET. Are there anything that i can do in one language and...
2
by: Flip | last post by:
I was looking at the RSS ScreenSaver resource kit this weekend and saw the use of two types of properties that seem to both hold strings and I'm a bit confused as to their differences. Can someone...
2
by: bdwise | last post by:
What is the difference between a Panel and a <div> tag with runat="server"? It seems that I can add child controls to either one in a code-behind and they both render to a <div> anyway at runtime....
5
by: ari | last post by:
hey all, i was wondering what the difference is between obtaining a user name like Request.ServerVariables("Auth_User").Split("\")(1)) and User.Identity.Name
5
by: ad | last post by:
Is there any difference about namespace between VB.NET and C#. All functions in c# must include in a namespace. Why I can't find namespace in the files .vb . How VB.NET implement the...
1
by: ad | last post by:
When I add a connection string by wizard in a WebApp , the wizard add the connection string to web.config like <add name="MyDataBase" connectionString="Data Source=.\SQLEXPRESS;Initial...
7
by: Bart_D | last post by:
Hi, Can anybody explain me what's the difference between for example: imports system.data implements ICallbackEventHandler inherits System.Web.UI.Page Thanks Bart
5
by: Daz | last post by:
Hi everyone. My query is very straight forward (I think). What's the difference between someFunc.blah = function(){ ; } and
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.