How to stretch the background image in the body in relation to the browser instead of the default repeat?

Hello world

I am new to dreamweaver and I'm still learning the basics. What I'm trying to accomplish at present:

I have a #container div in my body div.  The container is set to the auto margins in the body so that it is always centered.  I want a background image in the body (behind the container div), BUT I do not want to repeat awkwardly.  I want so that it can automatically expand to the size of the browser of the Viewer.  How can I do this? Anyone know?

Thank you very much :)

Murray * CPA * has written:

Now - background images DO NOT STRETCH.  So much for that idea...

This was true when Murray originally wrote in April 2009, but shortly after, it became possible using the CSS3 background-size property, which is now supported by most browsers. See http://cookbooks.adobe.com/post_CSS_Background_Stretch__updated_-16474.html.

It is the risk of a diversion of a thread that has more than three years. Other people could come along and do not realize that boards of formerly right of Murray is now obsolete.

I am locking this thread to avoid the wrong information to perpetuate.

Tags: Dreamweaver

Similar Questions

  • How can stretch a background image for the label?

    Hi all
    How can I stretch a background image in a label?
     public void start(final Stage primaryStage) {
                 final Label lbTest = new Label("My Test Label");
                 lbTest.setAlignment(Pos.CENTER);
                 lbTest.setTextAlignment(TextAlignment.CENTER);
                 lbTest.setStyle("-fx-background-color:red;-fx-background-repeat:stretch;-fx-background-position:center top;-fx-background-image:url(\"http://upload.wikimedia.org/wikipedia/commons/thumb/1/1c/BlueMarble-2001-2002.jpg/640px-BlueMarble-2001-2002.jpg\");");
                 final HBox hbox = new HBox();
                 hbox.setId("MyRootPane");
                 Button btnLeft=new Button("Left Button");
                 Button btnRight=new Button("Right Button");
                 hbox.getChildren().addAll(btnLeft,lbTest,btnRight);
                 final StackPane layout = new StackPane();
                 layout.getChildren().add(hbox);
                 Scene scene = new Scene(layout, 600, 320);
                 lbTest.prefWidthProperty().bind(scene.widthProperty());
                 lbTest.prefHeightProperty().bind(scene.heightProperty());
                 primaryStage.setScene(scene);
                 primaryStage.show();
        }
    This code does not work, if I deleted css - fx-background-repeat: stretching; the tense but background image he repeated, I want to leave the background image stretched and not repeated, it can be extended with the window resizing automatically.

    Try - fx-background-size: stretch;

  • How to stretch the path of the text?

    How can I create a path, such a s a parallelogram tilted and make the text to follow the path with the top, the bottom and sides... The way I'm wording this is kind of confusing, so I posted a video of my question here:

    How to stretch the text on path? -YouTube

    Please help, I can't understand it!

    Thank you

    -max

    The only way to do that is to go Type > convert to shape.

    Then use select it and the tools direct Selection to select just a letter, then Ctrl to turn this letter.  More work, but you get a perfect state of cleanliness, always vector, object.

  • How to change the default CC bridge is to open the images in CC PS?

    Bridge CC by default to open images is PS CS6, how to change the default for PS CC?

    Bridge CC by default to open images is PS CS6, how to change the default for PS CC?

    By default installation PSCC and bridge all file types associations should automatically apply the most recent PS (in the case of CC).

    You can first try to restart the bridge by pressing option (mac) or control (win) key and choose Reset Preferences.

    Check again.

    If not hopefully open the Bridge preferences and locate the section file type Associations and choose PSCC manually from the list of the type of file you want to open in.

  • How to reset the default mail program? When I click to send e-mail to a box of 'Contact us' site web or excel sheet spread with addresses e-mail, a new msn email opens.

    How to reset the default mail program? Got msn.com. Now, I went to q.com. When I click to send e-mail to a box of 'Contact us' site web or excel sheet spread with addresses e-mail, a new msn email opens. Now, I get an error message: rundll32.exe - bad Image, followed by a message the the appklication or the DLL C:\Program FIles\MSN\MSNSharedFIles\MAILMAPI. DLL is not a valid Windows image. Please check against oyur installatiion diskette. I have msn unisnstalled.

    I can access my e-mail through hotmail msn, but no linger to subscribe to msn premium.

    original title: default e-mail program

    Hi PAULKRISSEL,

    This function is not supported natively in Windows. You may may find a third of the program that will change the default to q.com.

    WARNING:
    Microsoft provides no assurance or warranty, implied or otherwise and is not responsible for the download you receive from the sites of third parties or support related to the download or the downloaded technology. If you need assistance dealing with third party technology, please contact directly the manufacturer.

  • How to restore the default libraries in the Navigation pane

    Somehow my fault 'libraries folder' on the Navigation pane, who holds the ' four Documents, music, pictures, video files"has been deleted, how to restore," ".

    I tried many things, but not anywhere near the restaurant.
    The people at 24/7supportexperts worked on my computer for 5 1/2 hours and they case failed to fix.
    Is there anyone out there who can help me please?
    Here is the screen image showing the problem...

    Remove libraries,
    http://answers.Microsoft.com/en-us/Windows/Forum/Windows_7-files/how-do-i-remove-libraries-Favorites-from-Windows/6a52e21a-DACF-47cc-883E-cea9c6af8b2e#footer

    This link also shows how to restore the default values libraries as well so don't reject not what you are looking for, the title

    See you soon.

    Take screenshots,
    Usually, you can press the SHIFT key (maybe the Alt key) or (FN key on your laptop) and press prtscrn.
    Open microsoft Paint, and then click Paste on the top left.
    Painting is located in the Accessories folder in all programs from the Start button.

    http://Windows.Microsoft.com/en-us/Windows7/using-paint

    Then click on the blue button on the file and click Save as, click jpeg file type and name the file.
    Upload to skydrive or photobucket in a public album and post a direct link to the file here.

    Or use the windows snipping tool,
    http://Windows.Microsoft.com/en-us/Windows-Vista/use-Snipping-Tool-to-capture-screen-shots
    Refer to this topic on how to make a public record and present screen shot here.
    http://answers.Microsoft.com/en-us/feedback/forum/suggest/how-to-insert-an-image-into-a-post-at-answers/bdae0306-c3cb-4d31-ace9-7281ea1a8a73

    You can also look at this for the new format in skydrive

    http://sdrv.Ms/RtThbH

  • Mac Mavericks. Camera raw 9.1. Camera Nikon D810. How to set the default settings of the camera profile standard (now available after downloading the camera profile and copy it into the appropriate file)? Is it possible to apply also in the pictures showe

    Oops... did not write the question where I... How to set the default settings of the camera profile standard (now available after downloading the camera profile and copy it into the appropriate file)? Is it possible to apply too in images showed in the bridge? I'm a newbie in the forums and I'm not sure how to proceed.

    You can right click and copy the settings on an image that has the right profile. Then highlight all the images that you want to edit, right click and paste the settings. On the list that is displayed, simply choose the camera calibration.

  • How to change the default orientation?

    Hello

    I am new to Adobe Flash Builder and am currently a mobile application for a school project. I was wondering how to change the default application in landscape mode orientation. I tried to go into my app.xml and change the proportions in mode landscape with no luck, and it is very difficult to find answers on the internet. I would greatly appreciate your help.

    Code HomeView.mxml:

    <? XML version = "1.0" encoding = "utf-8"? >

    " < = xmlns:fx s:View ' http://ns.Adobe.com/MXML/2009 "

    xmlns:s = "library://ns.adobe.com/flex/spark".

    actionBarVisible = "false" tabBarVisible = "false" title = "HomeView" >

    < fx:Declarations >

    < / fx:Declarations >

    < s:Image left = "0" right = "0" top = low "0" = "0" scaleMode = 'zoom' smooth = 'true '.

    smoothingQuality = 'high' source="@Embed('file:///C:/Users/Owner/Downloads/48127-solarsystem-teaser.jpg')" / > "

    < s:Button = "-5" x = "0" width = "410" height = "1504.

    skinClass = "spark.skins.mobile.TransparentNavigationButtonSkin" click ="navigator.pushView (Sun)" / > "

    < s:Button = "444" x = "852" width = '80' height = '80 '.

    skinClass = "spark.skins.mobile.TransparentNavigationButtonSkin" click ="navigator.pushView (Mercury)" / > "

    < s:Button "628" = x y = "742" width = "120" height = "124".

    skinClass = "spark.skins.mobile.TransparentNavigationButtonSkin" click ="navigator.pushView (Venus)" / > "

    < s:Button "836" = x y = "632" width = "127" height = "117".

    skinClass = "spark.skins.mobile.TransparentNavigationButtonSkin" click ="navigator.pushView (Earth)" / > "

    < s:Button "994" = x y = "506" width = "99" height = "96".

    skinClass = "spark.skins.mobile.TransparentNavigationButtonSkin" click ="navigator.pushView (March)" / > "

    < s:Button "1255" = x y = "464" width = "298" height = "279".

    skinClass = "spark.skins.mobile.TransparentNavigationButtonSkin" click ="navigator.pushView (Jupiter)" / > "

    < s:Button "1626" = x y = '302' width = '274' height = '270 '.

    skinClass = "spark.skins.mobile.TransparentNavigationButtonSkin" click ="navigator.pushView (Saturn)" / > "

    < s:Button "1965" = x y = "196" width = "175" height = "174".

    skinClass = "spark.skins.mobile.TransparentNavigationButtonSkin" click ="navigator.pushView (Uranus)" / > "

    < s:Button "2201" = x y = "66" width = "175" height = "174".

    skinClass = "spark.skins.mobile.TransparentNavigationButtonSkin" click ="navigator.pushView (Neptune)" / > "

    < / s:View >

    App.xml code:

    <!-the original proportions of the application at the launch ('portrait' or 'landscape').

    As an option. Mobile only. By default, it is the natural orientation of the device->

    <!-landscape < aspectRatio > < / aspectRatio >->

    <!-if the app will start to auto-orienter the launch. As an option. Mobile

    only. Default value false->

    <!-false < autoOrients > < / autoOrients >->

    I need to make sure the app is constantly in the landscape.

    Thanks again.

    8 student

    In XML, while is a comment.  You must remove the :

    landscape

    fake

  • How to change the default color for tables/pivot tables

    Can someone share how to change the default font color or background for tables and PivotTables? In my view, there is a CSS or XML setting I need to change.

    It is difficult to read the text when negative numbers are RED and the overall totals have a default NAVY background fill. I'm trying to find out how to change the color of these without doing it manually to each report.

    Thank you.

    Jin

    For pivot Table

    Go to OracleBI\oc4j_bi\j2ee\home\applications\analytics\analytics\res\s_oracle10\b_mozilla_4\views.css

    Change the PivotTable section code

    For table veiw

    Go to OracleBI\oc4j_bi\j2ee\home\applications\analytics\analytics\res\s_oracle10\b_mozilla_4\views.css

    Change the section of the Table

    PS:take backup your original file before you edit any css file. Don't forget to give the points/close the thread

    Thank you
    saichand.v

  • How to change the default color of an element

    10g-shaped I use this to change the color of this element.
    Set_item_property ('T_ITEM_Phone.ip_address', 'r191g223b191', background_color);

    I want when I press cancel, which should clear the color.
    How to change the default color?

    create 2 named visual attributes

    -default_color (do not touch any Visual attribute property)
    -new_color - (background color only change the color of your choice)

    on your trigger write this code to change

     set_item_property('Myitem',visual_attribute,'NEW_COLOR');
    

    to set back to normal

     set_item_property('Myitem',visual_attribute,'DEFAULT_COLOR');
    

    Please mark it correct / useful if it is

    Baig,
    [My Oracle Blog | http://baigsorcl.blogspot.com/]

  • How to set the default value of the FF browser offline mode? I WANT IT IN OFFLINE MODE *.

    I wish that my FF browser opens in offline mode. There is a ton of help topics on how to disable the default offline, but none on how to activate it. I tried to do the opposite of what people suggested to turn off offline mode, but nothing seems to work.

    Thanks adavance for any help!

    The only way to start Firefox in offline mode is through the start of the Profile Manager window.

    This window contains a checkbox to start in offline mode.

    All other methods via prefs may or may not work reliable and extensions usually do the opposite and are trying to force a boot online.

  • How to change the default print settings

    My settings print continues to change 50% print size.  How to set the default value to 100%?

    Hello Bill,

    Thank you for using communities of Apple Support.

    It seems that what you want to do is to save your settings as a preset favorite. Not exactly define value by default, but easier than manually make changes every time you print. Take a look at this article to find out how that is done.

    OS X El Capitan: save your print settings to use later

  • How to remove the default iTunes genres in the most recent version?

    I've just updated to version 12.3.2.35 today and the localizable.strings file is not the same aspect it was.  There used to be just a bunch of channels, where I would like to delete those contained in the / * = Genres = * /, / * = kinds reduced = * / and / * = with Genres = * / categories.  However, the localizable.strings file looks like now as if it was some kind of compiled code or something and I can't seem to find where again to remove the default iTunes genres.  I don't really want to have a bunch of useless genres in my drop-down menus.  Does anyone know how to remove the default types?

    Looks like they changed to a binary file format, perhaps because changes to the file may affect the use of music Apple... which is unfortunate for those of us who do not use Apple music and wants to restrict the list of available types.  It can still be an alternative workaround, but certainly worth of reports via the iTunes of Apple Feedbackpage.

  • How to change the default path for documents and settings

    How to change the default path for documents and settings

    I try to change in the registry, but the profile can create but error! had no choice to change the default path % lecteur_systeme % d: /.

    Hello

    I suggest you to download TweakUI, this could help you or get you headed in the right direction
    http://Windows.Microsoft.com/en-us/Windows/downloads/Windows-XP

    Also this KB could help as well:
    http://support.Microsoft.com/kb/236621

    It will be useful.

  • How to remove the default for a limited only account gateway (with static ip address)

    I have 1 pc with 4 accounts 1 account administrator and user the rest is limited accounts. I use a static ip address and the question is how to remove the default gateway on these limited account so that they cannot access the internet

    The entry door is fixed to the adapter and selectively cannot set properties of the different adapter for different users, all users use the same adapter.

    With Internet Explorer (does not work with other browsers), you can configure a proxy server with a fake address, you can do this through Group Policy, or you can do it manually for each individual user through the Internet Options settings.  You can set the proxy server address map of loopback (127.0.0.1) or you can set it to a bogus address of your private address range (usually the range 192.168.xxx.xxx)

    If you are using other browsers, you can use NTFS permissions to deny access to the Explorer or the program directory or you can use software restriction policies to deny access to specific programs.

    Alternatively, you can use a logon script to activate the network connection service when you open a session and the other to turn it off when you log, but if you do this you will disable the entire network for limited users if it cannot be a solution for them.  The script can be a simple two-line script:

    Logon script:

    SC config Netman start = demand
    net start netman

    Logoff script:

    net stop netman
    SC config Netman start = disabled

    These can be useful:

    http://www.howtonetworking.com/Internet/restrictie11.htm
    http://www.christianblog.com/blog/abelajohnb/disable-Internet-access-in-Windows-for-specific-user-accounts/

    John

  • Photosmart 7520: How to remove the default print on PS7520 settings

    I recently had a problem with a default setting of 2 copies. Can I change to 1 copy by simply changing the number 2 to 1. The next ime I just print a similar document, the default setting is back to 2 copies and I cannot remember how to remove the default settings.

    Any help will be appreciated.

    -Joe

    Hi @JoeAldrich,

    Welcome to the community of HP,

    I understand that you are having problems with the settings on your Photosmart 7520. I'll be happy to help you.

    Below, I've posted links of couple to some documents that should help you to solve this problem. Please read the documents carefully and let me know if your problem is solved.

    Printers HP Photosmart 7520 - copying Documents.

    Printers HP Photosmart 7520 - change default print settings

    If you still experience the problem, I would recommend trying to restore the default settings.

    Go to configuration > tools > restore default settings

    I hope this helps.

    If this help will testify of my answer by hitting the thumbs to the top slot

    Click on the button "Accept as Solution" if I helped you reach a solution.

Maybe you are looking for

  • CTRL + click / SHIFT + click does not not on the specific Web site

    I'm an admin for this blog site: http://undividedblog.org.uk/ If you use Firefox, I discovered that, for almost all of the links on the site above, perform a CTRL + click or a SHIFT + click the link does not open the link in a new tab or window, but

  • With the help of an external source via Photos on Mac app

    Hi all! Anyone know if it is possible to have photos of access app Photos from a different source? Currently the photos app will see what's on your device. However, I have a 128 GB Macbook so do not keep my photos out there. I'm looking for a way to

  • Equium L100 186 does not start!

    My satellite L100-186 (just over a year) won't start.When I turn on the power in green lights, the battery indicator lights up green dvd blinks several times, the unit will stop and then all lights go out. The same phenomenon occurs without the batte

  • R6250 installation of genius only 2.4 and comments. What about 5?

    I have only 2 choices of internet access for my house. 2.4 and 2.4 comments on Windows 7... I should have one for the 5.0? If so it was not generated by the genius to install. So my ipad shows as a choice. If only there is no difference in speed betw

  • Windows Media for Sandisk media

    Love my FUZE 8 GB very early stages of learning how to do my Windows Media for Sansa media stuff.  It must be a simple process, but I'm dense etc etc.  Downloaded Sansa Media this morning were using Windows Media for the last two days (we've only bee