answersLogoWhite

0


Best Answer

In most browsers the background image will be shown. If the image has been configured so as not to repeat, and the element is larger than the background image then the area that is not covered by the background image will display the background color. DJL

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: If you use CSS to configure both the background image and the background color what will happen?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

If you have chosen both a background color and a background image for a page within your site?

This is actually a very good idea, especially if you have a dark background image. The background color will almost always work (unless the browser doesn't support any colors at all) but the background image may not load properly or may take a long time to load. If you have light text on a dark background image, the text will not be readable against the default white background until the background image appears. If something goes wrong with the image download, the user may never be able to read the text. It's a good idea to assign a background color that is similar to the background image to prevent this problem.


What is a HTML code for a background on tinierme?

If for an image: <body background="images/background.jpg"> or if for a color: <body bgcolor="#000000">


Is using an image background more nice than using a background color?

The color contrast and effectors depends on other sections of it. There is no/hard way to answer this question definitely.


What CSS would apply a blue color to a web page background?

You have two options. 1. Set the body tag to the specified blue color: <body style='background-color: #0000FF'> (Find the colors and their corresponding codes using a search engine. #0000FF is a bright blue) 2. Create an image 1 pixel by 1 pixel of the blue color you want to use. Set the body tag to display that image: <body style='background-image: url("myBlueImage.gif")'> I have used the inline styles. You could do this using a linked sheet, or the <STYLE> tag in the header or your HTML. 1. BODY { background-color: #0000FF; background-image: url("myBlueImage.gif"); }


How do I configure a background image for a webpage using CSS?

There are a couple of ways to accomplish this: Inline CSS: <span style="background-color: #FF0000;">Blah</span> Or via a CSS Style: <style type="text/css"> .styleName { background-color: #FF0000; } </style> <span class="styleName">Blah</span>

Related questions

If you have chosen both a background color and a background image for a page within your site?

This is actually a very good idea, especially if you have a dark background image. The background color will almost always work (unless the browser doesn't support any colors at all) but the background image may not load properly or may take a long time to load. If you have light text on a dark background image, the text will not be readable against the default white background until the background image appears. If something goes wrong with the image download, the user may never be able to read the text. It's a good idea to assign a background color that is similar to the background image to prevent this problem.


How to use CSS in making the picture a background?

To make a picture a background of a web site using CSS, you will use the different background properties, which are: background-color, background-image, background-repeat, background-attachment, and background-position. The specific property you are looking for is background-image. To use this property you would declare in your style sheet the following: body { background-image: url('paper.jpg'); } This is telling the web browser to use the image paper.jpg and make it the background of the entire page. The other background properties control whether the backgound is repeated along the x and/or y axis, the position on the screen the image begins at, whether the background is fixed or scrolls with the page, and the background color.


How to register in Friendster?

- Open "Edit Profile" - Select "Customize" - At Customize CSS just fill this :body { background-image: url(your image url); background-attachment: fixed; background-position: top center; background-repeat: no-repeat; background-color: transparent; cursor: ; } example :body { background-image: url(http:/www.de-angel.com/Friendster/FS.GIF); background-attachment: fixed; background-position: top center; background-repeat: no-repeat; background-color: transparent; cursor: ; }


What is a HTML code for a background on tinierme?

If for an image: <body background="images/background.jpg"> or if for a color: <body bgcolor="#000000">


Is using an image background more nice than using a background color?

The color contrast and effectors depends on other sections of it. There is no/hard way to answer this question definitely.


You are using windows Vista how do you use the same desktop for the adminstrator and a stand account?

If it is just one extra account it is probably easiest to configure them individually by going to: Desktop Background in Windows explorer then selecting the image then "OK" or by right clicking the image and clicking "Set as Desktop Background".


What CSS would apply a blue color to a web page background?

You have two options. 1. Set the body tag to the specified blue color: <body style='background-color: #0000FF'> (Find the colors and their corresponding codes using a search engine. #0000FF is a bright blue) 2. Create an image 1 pixel by 1 pixel of the blue color you want to use. Set the body tag to display that image: <body style='background-image: url("myBlueImage.gif")'> I have used the inline styles. You could do this using a linked sheet, or the <STYLE> tag in the header or your HTML. 1. BODY { background-color: #0000FF; background-image: url("myBlueImage.gif"); }


How do you use the eyedropper in Photoshop?

click on image with eyedroper selected on specific color you want to use, this will place that color as foreground color


How do I configure a background image for a webpage using CSS?

There are a couple of ways to accomplish this: Inline CSS: <span style="background-color: #FF0000;">Blah</span> Or via a CSS Style: <style type="text/css"> .styleName { background-color: #FF0000; } </style> <span class="styleName">Blah</span>


Why can't I set any pictures as my desktop background after setting color?

You can either set a colour or choose a background image, you cannot do both.


How do you put a color background on websites?

You can only change a website if it belongs to you. for instance i have a website of my own. i created it using webeden. when i log in, i can edit anything i want, including the color background. you try!


How do you put a transparent image under a non transparent image on gimp?

Well, first you have to make the non-transparent image transparent. go to colors>color to alpha the select the background (you can use the color picker tool by clicking the white bar and then the eye-dropper icon to the right of the HTML notation box) color of the non-transparent image. after you pres OK, the background color will change to transparency and you'll be able to see the layer beneath.