What is the way to place a background Image in a Div?

I searched Google and Adobe forums for a while now, and although there are very valid solutions for similar problems I discovered that none of them fixed the problem that I am facing. I blame myself and get lost in this encoding sloppy mine, so part of my plan was to start my stylesheet from scratch.

My question, what is the right way to add a background image in a div? I currently have the div albums following the css style "header", here's what I typed in this section:

< style type = "text/css" >

@import url("..) ("/ twoColLiqLtHdr.css");

. Header {}

Width: 1000px;

height: 300px;

background-image: url(Assets/HeaderTemplate.png);

background-repeat: no-repeat;

background-position: center;

}

The problem here is that the background image is not still appear. I would appreciate help, could someone inform me on how to do this so that I can implement images in div in the future without turning my coding in a bottom right mess?

Thank you in advance.

Try changing it to:

background-image: url('Assets/HeaderTemplate.png');

Also make sure you have the case appropriate for file names: for example

Assets = active

HeaderTemplate = headertemplate

etc etc.

Sometimes these things create problems.

Good luck.

Tags: Dreamweaver

Similar Questions

  • What is the way to find out which app is downloading data from the internet?

    Every time I connect to internet, I see that nearly 100 MB of data is is downloaded, without my consent. I did almost all the applications that I know to ask my permission before you download.

    Yet, some applications are downloading data without my consent.
    I would like to know what are the applications that do.

    What is the way to find out which app is downloading data from the internet?

    There is background applications that automatically transfer and receive data when the computer is connected to the internet. Try if there is active apps running.

    1. click Alt + Ctrl + Del to go to start Task Manager / Applications and end unnecessary tasks.

    2. go in Control Panel / programs / uninstall a program and uninstall unwanted programs.

    I hope this helps.

  • What is the my network places?

    What is the my network places?

    Hi Gowtham,

    My Network Places has been renamed to network on Windows 7; My network places is a network browser that displays network connections has a computer. My network places can view other computers, printers, network and other network resources.

    My Network Places displays shortcuts to shared computers, printers, and other resources on the network. Shortcuts are created automatically in my network places whenever you open a network shared resource, for example a printer or shared folder.

    See the articles below.

    Why network?

    http://Windows.Microsoft.com/en-us/Windows7/why-network

    Setting up a network home

    http://Windows.Microsoft.com/en-us/Windows7/setting-up-a-home-network

    Hope that the information has been useful, if you have any other questions, feel free to post. We will be happy to help you.

  • What is the difference between 'place' and 'add files to download' in Muse CC?

    Hey guys... What is the difference between 'place' and 'add files to download' in Muse CC?

    Thanx

    You place the images to display on your site.

    You add files to download and make them available for download by visitors to your site.

    For example, you can add a PDF document, a Word document or whatever you want. These files are not displayable on your site, but you can link with the Hyperlink command to a button to make them available for download by visitors to your site.

  • What is the way to apply the sequence ATG?

    What is the way to apply the sequence ATG?
    for example, if I want to order numbers to increment in order 1,2,3,4,... What is the way to do it?

    Best way to generate an ID field is by the use of an IDGenerator. It is not guaranteed to generate numbers which are contiguous.

    To get numbered contiguously order numbers, I guess you could add another field to the order and have a database trigger that will select the next value in a sequence in the database itself. In the application could get complicated if there are multiple instances ATG running the same application.

  • What is the best practice to move an image from one library to another library

    What is the best practice to move an image from a photo library to another library of Photos ?

    Right now, I just export an image on the desktop, then remove the image from Photos. Then, I open the other library and import these images from the office in Photos.

    Is there a better way?

    Yes -PowerPhotos is a better way to move images

    LN

  • background image in a div that resizes to the size of the mobile browser in jquery

    I want to place a background image in my area of content using Jquery mobile, but I want image re - happen to the size of the browser and different devices. How could I go about this?

    jQuery Mobile essentially is a one page site.  Background gradients are determined by the jQuery Mobile theme do you use (a, b, c, etc...). I don't know if it is possible to use a scale with jQMobile.  I have never tried.  But you can find the code in your Theme.css file.  Look for the ui-body-a, b-body-ui, ui-body-c, depending on the theme you are using.

    Nancy O.

  • What is the difference between reactive and thumbnail image?

    It may seem like a stupid question, but what is the difference between a tailored boot image and a thumbnail "bootstrap"?

    Mary + 8 wrote:

    So, there is no intelligent property to one thumbnail that is other than a gray border? It kind of implies that you can roll to get a larger version, but of course, this isn't the case.

    I think I'll stick to the image of reagent that has all the variety of forms, including a miniature option.

    Not really, its just style the element to look like what you would expect a "miniature" to look like.

    promoting the IMG is applied to any image you want to be sensitive, although by my philosophy of images "bootstrap" should have been reactive default as seems its supposed to be 'most popular worlds sensitive framework' - they got it wrong too, as well as many other things in their environment.

  • Make a background image of a DIV elastic?

    I try to get the background image of one div to resize when the browser text display rises or falls.

    There's a big announcement at http://jontangerine.com/silo/css/elastic-layout/ which gives many details on the layouts of elastic and addresses resizing of the images on the page to see his example in http://jontangerine.com/silo/css/pixels-to-ems/

    However, it has not worked for me when I tried to apply it to the background image.  Anyone know the code for this?

    Thank you.

    egigharbor wrote:

    Zoom the page without problem - it is the text based on the browser does not accept my image to enlarge proportionally sizing.  I know that there is a way because I tried on http://jontangerine.com/silo/css/pixels-to-ems/ and its images increase with the text.

    For some reason I struggled to make it work in my banner.

    OK... you're asking for trouble and opening a Pandora's box... but what you can do is insert the image and remove the width and height attributes. To resize the image as page zoom in and out... willingness to work in some browsers, not all (eg. works in FF, but not IE6). Be aware though that, as the image magifies, rasterization will be put in... zoom isn't so bad... like compresses just of the image.

  • What are the ways to vCenter 5.1 5.0?

    I have vCenter 5.0 with joint hosts, most of them is ESX 4.0, two of them is a 5.0 ESXi. I would like to upgrade vCenter to 5.1.

    What is the best and least disruptive to do? I am considering an upgrade in place against the construction of a new 5.1 vcenter and then migrate all hosts in

    This vCenter. What is the best and least disruptive to do? Both are considered as valid ways to achieve the same goal?

    Thank you

    Another option that you have, and the way I just made, must continue to operate your vCenter 5.0. Start the installation for the SSO to the ISO 5.1 and get that working first. It is not interact with 5.0, so you should not spoil anything. Once you have that working, you can install the WebClient service too and also get that works - it interacts with SSO, then you can experiment and make sure it's all happy. Once all this is done, take your time, and then do the rest of the upgrade to vCenter 5.1.

    I guess ours was a fairly simple installation - we run all services on the same Windows Server vcenter, and we were already in SQL 2008, so it was not too serious - it was with 13 ESXi5.0 9 ESXi4.1 hosts and about 180 guests.

    The WebClient/SSO Service took me a few hours to do in February, and the last part of the upgrade to vCenter took a few hours of time to do last week. Of course, you can add another + 2 hours for installation of syslog, dumper, autodeploy, vShield and other pieces that you have.

    My biggest fear was of all the horror stories I had heard about the SSO installation, that is why I am and out of the way first.

    Of course, I'm always build and test my image ISO ESXi5.1 of installation etc.

    G

  • What is the difference between: "Place...". ' or 'add files to download... '. » ?

    Where can I get information about the differences between "Place" commands... ' and 'add files to download... '. "the menu file?

    Understand that, in both cases, the files are related and non-integrated. But what other differences are there?

    I came across this question, because the widget 039 (animation Image Rollovers) of MuseThemes only works if you use the option 'add files to download... '. ».

    Thank you

    Daniel

    Hi Daniel,.

    There are a few differences between the two options-

    Place is used to add content to the page (rendered) while to add files to download... is used to transfer files to your site, but not on the page (not provided).

    The placed images are published to the folder/images from the server while images added using Add files to download... option are posted to the liabilities on the server folder.

    Placed images have a chance to get famous (if resized/interpolated in Muse) to publish all images added using Add files to download... keep their names.

    Can be used to add file formats limited as jpg/png/psd/swf/oam etc so that you can download almost any type of file using Add files to download...

    You see not contained in the drop-down list of links placed for binder files added using Add files to download... appear in the dropdown links so that you can bind to them and allow the download.

    The two serve different purposes and add files to download... is preferred by Widget developers because it gives more control over the downloaded content and insurance this file location and name will be as expected.

    Hope that the above gives you clarity on the fundamental difference.

    See you soon,.

    Vikas

  • What is the way to faster/better load 160K every night?

    Oracle 9.2
    We have records of 160 K (maybe get new records in the future) that must be refreshed in the production database every night (complete emptying). I suggested that we need to truncate the data, and then do the bulk loading every night. What is the best/fast way? or a better way? How fast to bulk load 160K?

    Appreciate any suggestions.
    Thank you
    S.

    Hello

    Insert bulk is the right option. You have a test or development environment where you Messure it?

    Concerning
    Ignacio

    [My blog | http://oracledisect.blogspot.com]

  • Error 800488eb Code for Windows Live Messenger 2011. What is the way to get around this?

    I had this error for centuries and have searched all over the internet for months, but impossible to find something that works. What is the solution?

    Hello

    The question you have posted is related to Windows Live Messenger and would be better suited in the Windows Live Solution Center.

    Please visit the link below to find a community that will support what ask you

    http://windowslivehelp.com/product.aspx?ProductID=2

  • Place a background image on the home page, how

    I work with a "Cadem - Responsive HTML5 Template" of British Colombia. How can I change the background color by default from the home page to an image.

    Can someone give me some info on how to do this.

    Thanks in advance

    Ishmael

    Hello

    Such things fall into CSS - editing the CSS associated with the site (which is characterised by the site built by different people and models) and change things on that basis.

    IF the model you have body {background: green ;} for example that would change the hexadecimal color you want.}

    If you are not familiar with CSS it would make some googling and reading on it.

  • I can move the position of the pixel-values (browser-filling) background image?

    I want to design a landing with Muse page. To insert a background image that fills the screen on the top and to the left and right of the browser window edges, I think the best way is to put a picture as the fill "browser" (I this translated from the German term 'Navig-deflectors', then choose suitable size ('scale Passend").

    Unfortunately, if I'm having a menu bar on top of this image, it will always hide the upper part of the image. Can I therefore change the background a little image?

    There may be several ways to achieve this goal within the Muse.

    -Use composition to create the menu, where the menu will only appear on mouse click or hover.

    -Use any image editor and add a rectangle empty start of image where menu will be rendered.

    -Apply the scroll on the Menu so that the menu only to scroll page should appear on the page.

    -Make the homepage with only the picture fill and the link to get inside the site with sub-pages, which should include a menu.

    Thank you

    Sanjit

Maybe you are looking for

  • Satellite U500-18F - Karmic Koala high temperature CPU and WLAN issue

    Laptop: Toshiba Satellite U500-18FS.O. Linux Ubuntu 9.10 Karmic Koala I have two problem: (1) high CPU temperaturessensors command tell me: Core 65.0 0 ºC and Core 1 66.0ºCI did: "solution works on this issue of processor on Ubuntu 9.04 fan (and perh

  • How many samples timed on a single digital output line

    Hello I want to output a pulse of arbitrary shape train on a single digital line (for NOR-USB-6229). The goal is to control acceleration, live performance and deceleration of a motor not not. To do this, I'm writing an array of samples ' Dev1/line 2'

  • MS essentials can be installed with windows vista on an acer aspire 4315 laptop?

    Can we install this security essentials of MS without upgrading to windows 7 will be the Acer empowering technology program factory had to be turned off before you download?

  • Impossible to activate Audio Device

    I have a HP Vista.  I accidentally disabled my sound (speakers a right click and click 'disable'.)  Now there is an 'x' on my speaker icon in the taskbar at the bottom of my screen.  He said: "The Service Audio does not work."  I tried reinstalling t

  • Adobe Acrobat Professional - license

    We have a license for Adobe Acrobat Pro 10 to 15 concurrent users. How does a license? Activate us the license on a server and install the software on the clients, and then it will check the customers with the license server? Can we still use our lic