Fit browser width

I have a project that I'm looking to have the background (about 300px tall) span the whole width of the browser. The background color is changing for each different page otherwise I would do it in HTML. I have the background larger than the artboard but it still doesn't show up. Is there a way to do this?
Thanks in advance!

There are a few ways to do this that involve writing a little bit of code, but unfortunately I don't think there's any way to do it purely within Catalyst.
One option is to write a bit of code that calls out to JavaScript and upates the HTML page's background whenever your application's state changes.  You'd add a currentStateChange listener to your root s:Application tag, then use ExternalInterface to call your JavaScript code.
Another option is to convert the fixed-size application generated by Catalyst into a resizable one, with your fixed-size layout floating in the center and the background filling 100% of the width.  You can do that as follows:
Import the project into Flash Builder
In the Main.mxml file, wrap your outermost fx:DesignLayer tag in an s:Group tag
Set verticalCenter="0" on the group to center it
Copy the width and height from the root s:Application tag onto the group
On the application tag, change both width & height to 100%
Setup your background color variations by adding attributes to the application tag: backgroundColor.Page1="#FF0000" will make the background red in the "Page1" state, for example.  Be sure you use the exact state name after the dot (copy/paste from the <s:states> section if you want to be sure).
Hope that helps!
- Peter

Similar Messages

  • Resizing images in a div to fit browser width

    i have a page with rollovers in a DIV:
    http://toddheymandirector.com/REEL/index_newlook.html
    i want the the images, "nike the getaway", etc, to resize to fit the browser window width. i tried putting them in a div and adding
    row {
        max-width: 100%;
        height: auto;
        width: auto\9; /* ie8 */
    but it didnt work..
    ideas?
    thanks

    You could try something like the below. Basically it will show a maximum of 4 images per row (25%) so:
    if your image width is 300px, for the browser to view all 4 at 100% their window needs to be 1200px wide
    if their browser window is smaller than 1200px, the images will start to move onto new rows
    if the browser window is bigger than 1200px, it will scale the 4 up to fit the width.
    You can change the width of the images to match your optimal browser window and/or change the percentages to see the effect it has.
    Eg, if you remove the "min-width:25%;" from #gallery ul li it will not scale the images at all. If you change "min-width:25%;" to "width:25%;", it will always show 4 images in a row and scale up or down to fit the window.
    Best thing to do is play around until you're happy. Good luck.
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>Untitled Document</title>
    <style type="text/css">
    body{
        background-color:#666666;
        margin:0;
        padding:0;
    #container{
        width:100%;
        height:auto;
        margin:0;
        padding:0;
    #title{
        width:100%;
        float:left;
        color:#FFFFFF;
        font-family:Arial, Helvetica, sans-serif;
        font-size:140%;
        line-height:150%;
        margin-bottom:30px;
        text-align:center;
    #gallery{
        width:100%;
        height:auto;
        margin:0;
        padding:0;
        float:left;
    #gallery ul{
        width:100%;
        height:auto;
        margin:0;
        padding:0;
        float:left;
        background-color:#666666;
        list-style-type:none;
    #gallery ul li{
        min-width:25%;
        display:block;
        margin:0;
        padding:0;
        float:left;
        background-color:#666666;
    img{
        display:block;
        border:none;
        margin:0;
        padding:0;
        width:100%;
    </style>
    </head>
    <body>
    <div id="container">
    <div id="title">This is a floating web gallery</div>
    <div id="gallery">
    <ul>
    <li><img src="nike.png" /></li>
    <li><img src="nike.png" /></li>
    <li><img src="nike.png" /></li>
    <li><img src="nike.png" /></li>
    <li><img src="nike.png" /></li>
    <li><img src="nike.png" /></li>
    <li><img src="nike.png" /></li>
    <li><img src="nike.png" /></li>
    <li><img src="nike.png" /></li>
    </ul>
    </div>
    </div>
    </body>
    </html>

  • Scale website to fit browser width

    Hi I'm new to Muse.
    There is something i have been trying to do, but can't make it work.
    I know about the possibility of full screen and 100% width slideshows. But that is not exactly it.
    What I can't figure out is how to make a website that fits and scales with the browser width (scalable). Is that possible in Muse?
    Something like this. I have found this as a reference, perhaps it can help explain what I mean.
    http://2xelliott.co.uk/

    What you are looking for is called 'Responsive' Design. This is not currently an option in Muse however you can easily create tablet and phone versions of your site.

  • Make the whole page fit to browser width

    Hey Everyone,
    I am making a site for a friend and for the life of me I cannot make the entire site fit to browser width - you can see the homepage here - http://www.dmofilms.com/blacklabelweddingfilmsTEST/
    All I want is the entire site to always fit the screen. I have looked up the header/footer tutorial and read another thread on this but still cannot figure it out.
    Any suggestions?
    Thanks so much!
    -Matt

    Hey Matt,
    I am not sure what you are wanting? Do you want to know how to get the header and footer to fill the width of the browser screen? I am getting horizontal scroll when I veiw your site on my macbook so I am guessing you are making your website quite wide.
    I am guessing your header and footer have a really large width because you want that style to span the width of all browser.
    Here is what you might want to try. I notice you have a center graphic for your header and footer, then it fades to black with a white line going across. You will need to separate that center graphic from the black banner with the white line. Then save that black banner as a png, make it so it will tile seemlessly horizontally. Then use the box tool and make a rectangle that connects to the ends of the canvas area on Muse in the header and footer. Now you will bring both center graphic for you header and footer and place them over top of the seemless banner. This will allow your header and footer to span width.
    Before you do that though you will want to make your canvas area smaller, 960px is still pretty common for websites.
    I hope that helps.
    PS. Your site looks very well done so far. When you finish I would recommend submitting it to 'site of the day'.

  • Getting an image to fit across width of browser

    Hi
    Im trying to get an image to fit across width of browser - I thought i could do it as you would a shape ie size image until red line appears both sides so it will fill automactially as same as a shape. However when I do this it just isnt working - it doesnt stretch across width of browser.
    I do realise that I can use BROWSER FILL - however as i already have an image for footer i've used this function which works well. Ive also tried combining the image and my footer as one large image using browser fill - however this doesnt work as when the image is scaled up on a large monitor it puts everything out, as it is just treating it as one large background image.
    So my question is - is there anyway I can get an image thats placed to fill browser width without using browser fill?
    Many thanks in advance
    Paul

    Hi,
    It works, but when I try this, my image is cut in the length (cutting is different, it depends on witch screen you look).
    He don't scroll in image.
    Specifications image
    Fill (image): filling
    Site properties:
    Scrollbars browser: always (vertical, horizontal)
    Anybody an idea?
    Thanks!

  • How to i fit a box to browser width?

    how do i make a text box fit the browser width?
    how to i fit a box to browser width?

    Hello,
    Are you talking about a rectangle. You can do it by using "100% width" button provided in muse.
    select the rectangle and click on 100% button this will fit the rectangle to the browser width.
    Please let me know if you are taking about something else.
    Regards
    Vivek

  • Fit Table width/height to Margin

    It would be a great handy feature if the table width could be fitted to the margin of the page.
    Moreover 'tables' need some more extra features like : distribute rows/column evenly to fit table width/height. At present this feature extends the table width/height when applied. Once I fix the width and height of the table, distribute rows/column must fit to that width/height only. The table should only extend when I add rows or column.

    >I have a 2-page site for a customer and have set it up as
    tables (from
    > Photoshop CS to Dreamweaver MX).
    Bad start. Read this for a better approach -
    Taking a Fireworks comp to a CSS-based layout in Dreamweaver
    http://www.adobe.com/devnet/fireworks/articles/web_standards_layouts_pt1.html
    http://www.adobe.com/devnet/fireworks/articles/web_standards_layouts_pt2.html
    Then read this -
    http://apptools.com/examples/pagelayout101.php
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "Jonclyde" <[email protected]> wrote in
    message
    news:gfenmb$dek$[email protected]..
    >I have a 2-page site for a customer and have set it up as
    tables (from
    > Photoshop CS to Dreamweaver MX). The first page opens
    fine with the table
    > occupying 100% up and down as required, but clicking a
    link to the second
    > page
    > causes the table to shrink in size, even though (as far
    as I can tell)
    > both
    > pages are virtually identical when it comes to layout. I
    did one page,
    > then
    > copied it to make the second page. Check it out for
    yourself here:
    > www.jonathanstewart.com/chc/index.html. I can get the
    second page
    > (Services) to
    > open properly only if I set the target to _blank. Check
    the far right and
    > bottom of screen on both pages. The bar at the bottom
    should rest on the
    > bottom
    > of the browser window whatever the window's size, and
    the bar at the top
    > should
    > extend "off the page" at both left and right. Any ideas?
    >

  • Maximize page to fit screen width

    Hi,
    I would like to maximize all the pages of the application to fit the entire screen size i.e. effect similar to F11.
    Please let me know how it can be done at application level.
    Thanks.

    @fac586,
    Thanks for your reply. I have been asked to check the feasibility of this feature. I just gathered the complete details.
    Its a Org specific Knowledge search kind of application. So the users will be employees of that org.
    The employees mostly use Mozilla Firefox or Internet Explorer and versions might be latest (or) one or two versions lower. We can also display a note in the browser and suggest them to use Mozilla(if required).
    The main purpose of the full screen mode is we want to utilize maximum screen space to show the pages, as there are lot many regions displayed over there.
    If there is a better way to show the page in full screen or use max space, we are ready to go with it.
    <li>Which browser(s) and browser version(s) is this application going to run on?Mozilla Firefox or Internet Explorer and versions might be latest (or) one or two versions lower. We can also restrict them to use Mozilla only.
    <li>Which operating systems?User will be in Windows XP in most cases. I assume its OS of the user here.
    <li>Is it an intranet application that will run in a controlled environment?Yes it is.
    <li>An internet application that anyone can run?No.
    <li>How is it deployed? As a desktop icon in a controlled environment? As a link on another site? On a standalone kiosk device?Users will be provided with URL for the application. Its deployed in apex.oraclecorp.com
    <li>Do the users expect it to run in full-screen mode? Do they even know what full-screen mode is? Do they know how to get out of it and back to their desktop or other apps? Will they want to run it in full-screen mode?Since the requirement is to have all the regions displayed comfortably in the page, without scrolling the page full screen mode is used. We are planning to have a button in the page, which will exit the full screen mode and move to normal mode so that users can perform regular activities with browser.
    <li>Are there any accessibility concerns to doing this?The purpose of the full screen mode is we want to utilize maximum screen space to show the pages, as there are lot many regions displayed over there.
    If there is a better way to show the page to use maximum space, we are ready to go with it.
    <li>How will this work across multiple devices? Screen sizes? User font settings?We have not thought about this yet. Whatever may be the screen size or display settings the user have, it should expand to fit screen width.
    Please do let me know if require more information on this.
    @Joel_C,
    I am a newbie in APEX and Web applications and to these forum categories too. Though the disclaimer claims, it hurts.
    If I had known its a browser specific functionality earlier, why wouldnt I mention it ealier and end up in multiple iterations to get a solution to my query and waste valuable time of fac586?
    No one can become 'Guru' in the way you have mentioned. Atleast I havent. Its through hardwork and continued contributions one can attain this position.
    You might have also crossed this stage when you started with web applications. I am not a born genius and just a learner.

  • Image won't adjust to browser width

    Hi,
    I have placed an image in the footer of my master page. In design view it spans from left to right of the browser, but in preview it no longer fills the browser. What can I do to make sure it does?
    - When placing the image I made sure it hit the red lines of both left and right browser edges.
    - I made sure "footer item" was selected (this doesn't seem to make a difference either way)
    - I have tried both "fill to frame" and "fit to frame" options
    Here is what it looks like in design view:
    And here is how it turns out in preview:

    Hi
    Have you placed the image and stretched it for 100% width or you have used rectangle fill with 100% browser width ?
    Can you please try with a rectangle fill with 100% width ?
    Also does it works when you select scale to fill ?
    If still same, please select the footer item with fill options open and upload a screenshot.
    Thanks,
    Sanjit

  • How do I set elements so they adjust according to browser width

    Hi Everyone
    I'm tryingto to make images/graphic elements on my website adjust to the browser width and always be centralised like this website http://pixelblue.ca
    Anyone know how to do this?
    Thanks
    Chris

    That is correct. Currently Muse allows you to create 100% browser width items with Rectangles & Text Frames.
    Muse Can :
    - have 100% browser width colored strip (using Rectangle)
    - have 100% browser width text (using Text Frame)
    - have 100% browser width image (using Rectangle & setting fill to image and setting fitting to Scale to Fill)
    NOTE : the key to this is to Snap it to the Browser Edge.
    select your Rectangle or Text Frame
    click the left edge or your Rectangle or Text Frame
    drag it out to the edge of your Browser Fill area on your design surface
    make sure you see the red line at the edge of your Browser Fill area to indicate you've snapped it to the edge
    do this for the right edge of your Rectangle or Text Frame
    you need to do this with both your left & right edge to make it 100% browser width
    Once you've done the above - preview your page.
    Hope this helps.

  • What's the point of browser width when elements will still show up outside of it in a browser window?

    I'm working on my first website and I'm so incredibly frustrated with browser width parameters.
    Don't judge it yet, but notice that some of the elements will gladly go outside of the browser width... (such as the rock on the right under "portfolio")
    http://timdodddummytest.businesscatalyst.com/index.html#top
    So I'm struggling with the concept of browser width if things can just go beyond it. How do I hide it behind the browser width so to speak?
    Also, what if I wanted this whole site to just be the width of the screen so it looks great on a full screen 27" or something and not just 960 pixels wide? I do have it set for HiDpi but it still only takes up the center third of a larger monitor...
    Any help would be great! Thanks!

    Regarding the rock on the right, you could add a black frame above the rock to act as a mask.
    Regarding full width, you can have your images "scale to fill" under the fitting options when importing an image in a frame.
    The only problem with that is the image will increase in size based on the browser width, and based on your design I don't think you want your images scaling up to much based on the parallax scroll layering you have happening. This is where testing is involved to see what it would look like scaled up and down. (see attached link)
    Not sure if I would design a site based on a specific screen size, it's a bit safer to go with a smaller width to accommodate multiple screen sizes.
    The link below is a way  to see how your site will be viewed on multiple screen resolutions.
    Screenfly / Test Your Website at Different Screen Resolutions
    Hope this helps... Nice site by the way...

  • Right Side Red Line will not appear for full browser width.

    I had my top navigational bar set up to fill in a 100% browser width. Now, only the left side red line will appear and the right side will not work.
    http://waketestbykerry.businesscatalyst.com/index.html
    Any ideas on how to fix this?

    Ah, I understand now. Menus will stretch to 100% browser width in terms of any background applied to the top level Menu widget, but the actual items will not be stretched or fitted at the moment. I'd recommend adding that to our ideas section so that others can vote on it. It would also help if you clarify what you'd expect. Would you want the menu items to grow, or the space between them? And what would you expect if one of the menu items became too long for the container? Should the text wrap, or should it not be able to get smaller than that?

  • How do I achieve browser width images with scroll motion set to 0?

    How do I achieve browser width images with scroll motion set to 0?
    An example can be seen here with the green image: http://www.qooqee.com/templates/aroma
    I can get the rectangle to stretch the width of the browser but not the image fill. (see - http://www.tomwellsassociates.com)
    My Muse fill settings:
    Fill type: Solid
    Colour: None
    Fitting: Tile vertically
    Position: Bottom Centre
    Scroll motion: On (Up - 0)
    Image Size:
    3311 x 3311 px
    Display: Apple imac 27"
    Any suggestions/help would be much appreicated...

    Please check out: http://forums.adobe.com/message/5701908
    Cheers,
    Vikas

  • Muse 7.0 plus Chrome: browser does not show images full browser width

    Hi there,
    I have a serious problem with the latest Muse version: the images which I use as parallax-masks for the background won't work with Chrome, though Safari and Firefox are not showing any problems. The issue: Chrome does either not scale the images to 100% browser-width or does not show them at all, or even shows the images cut into narrow stripes. This problem did not show in the previous version of Muse.
    Of course I already restarted application and computer. System: Mac OSX Mavericks.
    What to do now? The presentation with the client is very soon and this bug makes me very nervous.
    Best,
    bartl

    The problem bartl encountered and reported was fixed by the 7.1 release (November 21st). The problem you're describing sounds different.
    As of yet, I'm unable to reproduce what you're describing. The URL you've provided views the same in all the browsers I've tried, Chrome (32.0.1700.77) and non-Chrome, Mac and Windows.
    That said, looking at your master page I don't think you've created what you intended. At present there are two full screen slideshows on your A-master. On contains no images and the other contains a single image. Both are set to have thumbnails and the thumbnails container is off the right side of the page.
    If you look at your "Master Slideshow" layer in the Layers panel, you'll see the two slideshows. I think you'll want to delete one of them and, given your design, turn off thumbnails for the remaining one.
    Also, if you don't plan to have multiple images in the full screen slideshow, you'd be better off using a background fill image rather than the slideshow widget.
    I remain a bit puzzled how/why you're seeing different behavior in your instance of Chrome. Have you cleared your browser cache?
    On an unrelated note, if you set the page fill and stroke to none and set the browser fill to the most common color from the garage door image, it will avoid the momentary appearance of a white page on a grey background when your home page first loads. Instead the site visitor would see a blank page that's the most common color from the slideshow image, until that image loads.

  • I am trying to print out information on a Google Maps page. I have the print setting on fit to width but the page does not print that way and some of the page that would normally show on page 2 is missing.

    The page prints out fine on Internet Explorer, but not on Firefox. 2 pages are supposed to print out but only 1 prints. Also it does not fit to width even though that's the setting.

    That file could be set as a Launch Agent or Daemon in your ~/Library or /Library, You could try to look for it or Safeboot your computer and then empty the trash. Safebooting disables Launch Agents/Daemon and Third Party Kernal extensions. Here's the article to Safeboot OS X: What is Safe Boot, Safe Mode? - Apple Support

Maybe you are looking for