answersLogoWhite

0

Stretch a HTML Background

User Avatar

Anonymous

15y ago
Updated: 8/17/2019

Current CSS does not allow resizing a background image. Hopefully, CSS 3.0 will address that issue.

User Avatar

Wiki User

15y ago

What else can I help you with?

Related Questions

How do you make a background on a webpage using HTML?

Making a background on a webpage in HTML is deprecated; you are advised to use CSS instead. However, if you must use HTML and only HTML, then place the "background" attribute in the body tag of the document in question like so: <body background="http://www.example.com/picture.jpg">


What is the code of backround in HTML?

Background can be easily added into the HTML code. in the <style> element you can add background-color="red".


What is the correct HTML for inserting a background image?

< body background = " background.gif">


How do you put an image background on websites?

Here's the HTML tag: &lt;body background="yourimage.gif"&gt; or &lt;body background="yourimage.jpg"&gt;


What is the significance of HTML in web designing?

HTML is a formatting language that tells a browser how to display content. You can not create a Webpage without HTML. Many web designers will create the HTML in the background for you.


What is the background code for a HTML document?

A background can be added on CSS. ex: #body {background: url(../images/bodybg.jpg) repeat-x;}The HTML code for background color is Note: The code must be put inside the body tag, that is between and of your HTML script and the values of color can be change accordingly. For example, if you want to put gray background color you simply change the value to "#727272" or "#000000" for black if you want.


What is the HTML codes for a picture in the background?

You can easily adjust the background of a web page as a picture. It can be set as : background-image="url('url-source')."


How do i change my Tumblr background everytime i click on customize appearance and themes the custom HTML isn't there?

After you click on the "Customize Appearance" link, the bar on the left should show either your selected theme or "custom theme." You should see an "Edit HTML" button next to it. Clicking on that will bring you to the HTML of your theme. You can change your background on the HTML. Or instead of going to the custom HTML, you can go under Appearance and you can either upload a picture for your background or change the colour of it.


What is a HTML code for a background on tinierme?

If for an image: &lt;body background="images/background.jpg"&gt; or if for a color: &lt;body bgcolor="#000000"&gt;


How do you adjust the size of the background of your HTML design?

You use CSS (Cascading Stylesheets) to add backgrounds to block level elements inside an HTML design. If you want a design for the entire page, the CSS markup will use the "body" selector. The background-image rule is then applied. When you're finished, it might look something like this: body { background-image: url('images/bg.png'); background-repeat: repeat-x; } CSS isn't part of HTML, but a separate language contained in either an external file, or in code added along with the HTML in your HTML document.


What is bgcolor?

bg color is the abbreviation of background color there is a command used in HTML which set the background color which u want


What is the HTML command used to display an image in background?

style="background-image: url('image.jpg')" Example: &lt;body style="background-image: url('background.jpg')"&gt;