Background image to be aligned with the top of the browser window.

I have a background image that I have centered, but I also want to flush to the top.

*

{

margin: 0px;

padding: 0px;

}

{body

background: #4992 b 2 url(images/blue.jpg);

font: 14px Arial, Helvetica, without serif.

color: #464646;

margin: 0 auto;

padding: 0px;

background-repeat: repeat no.;

background-position: center;

}

This is part of my css... is there something that I am missing?

{body

background: #4992 b 2 url(images/blue.jpg); top Center no-repeat;

font: 14px Arial, Helvetica, without serif.

color: #464646;

margin: 0 auto;

padding: 0px;

}

Nancy O.
ALT-Web Design & Publishing
Web | Graphics | Print | Media specialists
www.Alt-Web.com/
www.Twitter.com/ALTWEB
www.Alt-Web.blogspot.com

Tags: Dreamweaver

Similar Questions

  • Get div to auto may not resize with the browser window

    I'm trying to get a div with a paragraph of text will resize automatically when the browser window is resized.

    I've seen what happens automatically, when I had no style applied to the < div > tag, but because I have my content centered using a < div > Interior inside a container fixed-width < div >, the inner div is now fixed so despite not having a fixed width.

    Here is the page I'm trying to settle (the box with the text is the < div > inner circle in question):

    http://beta.deltsig.com/about.html

    Here's a test page showing what I want the text to do when the window is resized:

    http://beta.deltsig.com/test.html

    And here's the CSS of the inner divs and container:

    {#div-container}

    Width: 768px;

    text-align: center;

    left margin: auto;

    margin-right: auto;

    }

    .div-redtint-flexsize {}

    padding: 1px 20px 20px 20px;

    text-align: left;

    background-color: #f3e4e4;

    -moz-box-shadow: 0 0 7px rgba (0, 0, 0,. 7);

    -webkit-box-shadow: 0 0 7px rgba (0, 0, 0,. 7);

    box-shadow: 0 0 7px rgba (0, 0, 0,. 7);

    }

    I tried to add different styles of width to the CSS, but nothing had no effect.

    It's a style that I have to change in the container div?

    You cannot have two meanings.  Your page is fixed (px or em based) or liquid (% based).

    A container fixed width parent does everything inside it fixed.

    If you want to try to work with liquid layouts, go to file > New > blank page > HTML > layouts and select one of the liquid patterns from the 3rd Panel.  Creating success.

    Nancy O.

  • WebViewer scale with the browser window

    Is there a way to start the sensible scaling of the page layout in the WebViewer (proportionally scale upward and down depending on the size of the browser window)?

    Problem: folios portrait oriented are often grown under the window of the browser. You must scroll down to see the entire page. First scroll to the end of the page, then clicking to access the page following is confusing.

    Any ideas?

    Thank you

    Ulrich haha

    Here is a link to a devnet article describing how to develop embedded Web viewer to fit inside a web browser window, even if it is resized. Note that the embedded Web Viewer that is hosted on your web server in the Organization, rather than on the content hosted at contentviewer.adobe.com.

    Resizing of the integrated Web Viewer | Adobe Developer Connection

    Brian

  • How to have a background image transparent web page to the browser

    I used a color gradient background image on my scene for my Web site.

    Managed to load the same background on the background of the browser.

    However, the result is not satisfactory that I can see the limits of background image site against the background of the browser.

    How can I get around this? Or y at - it a code that allows me to change my transparent Web site background so that I do not have a background of the browser?

    Tried to post using the window Mode: Transparent windowless, but does not work.

    Pls help...

    Thank you!

    You can try to remove the background image on the Flash file, and then will the WMODE = transparent route.

  • Images of full size in the browser window?

    Hello


    I have problems trying to replicate a combination of things that I saw on a website (build in Adobe Muse). Web site - www.tatianapavlova.me


    I'm quite new to dream so please bear with me if it's all relatively simple substance. I looked through a few hours of YouTube videos and not managed to get close to an answer to my problem.

    I want to be able to reproduce the scalability of the slideshow, but also have the opportunity to see 'portfolio' of the Web site as soon as I start to scroll from the slide show, regardless of the size, I did my browser window.

    I've included a few screen grabs to illustrate my point a little better that I probably explained above. In IMG1 you will see that my browser window is about half the height of my screen, but as soon as I start scrolling down, I can see the whites of the portfolio section. IMG2 my browser window is almost the size of my screen, but I can still see only the background of slide show of images until I scroll down.

    I guess it's a kind of widget that needs to be added to the page to allow the slide show to do this, however as stated I don't know who he is.

    Once again, my apologies if this is relatively easy, I am new to the program.

    All the advice/help is welcome and appreciated

    Thank you!

    IMG1.jpgIMG2.jpg

    Check out this video for more details:

    https://www.YouTube.com/watch?v=gZI_K1TXqOM

    Thank you

    Sanjit

  • How to create a navigation that resizes with the browser window

    Hello

    I came across this site http://www.smetana.net/. Inside the navigation components resizing with the change of size browser window, but the content remains the same size. I would like to build something similar for my site but I don't know how it's done. I'm willing to work, but I need a direction

    Thank you

    Ravital

    The following links are for the tutorials dealing with various aspects of the Flash design Adaptable fullscreen

    http://www.tutorio.com/Tutorial/liquid-Flash-layout

    http://www.gotoandlearn.com/play?ID=31

    http://www.developphp.com/Flash_tutorials/show_tutorial.php?TID=128

  • How to lock the two images on BOTH edges of the browser?

    Hello

    I'm building a sensitive site and need to lock the images on BOTH edges of the browser window. I looked for relevant discussions and found a way to block the image to the left of the window by changing the settings of the site properties by setting "align left" rather than "center align".

    Help and advice on this is greatly appreciated.

    Thank you

    Dmitry

    Screen Shot 2016-06-01 at 20.54.15.png

    While I was waiting for someone to help me I have found the answer. On the stop at the top sign are arrows pointing inwards. You click on them to extend your page. Problem solved.

  • SWF files that can evolve with the browser

    I downloaded a file with dreamweaver as a stand-alone window swf and it works fine.  How can I get the SWF to a scale large or small that the user must adapt to their browser window, large and small?  I would get the swf file as well as the browser window.  I posted this in dreamweaver, but I was told that it is a problem of action script.

    I found a simple solution, and I think that's what you're looking for.

    1. in Flash, go to file > publishing settings

    2. click on the HTML tab

    3. where is says Dimensions, select percentage

    4. Although it is probably by default, make sure that the width and height are both set to 100.

    5. click OK, then go to file > publish

    Now your film must evolve with the browser window.

    If you do not have Flash, you can simple work with this sample code below:


       
       
       
       
       
       
    align = "middle" allowScriptAccess = "sameDomain" allowFullScreen = "false" type = "application/x-shockwave-flash".
    pluginspage ="http://www.macromedia.com/go/getflashplayer" / > "

    Notice how the width and height are set to "100%"? That's all you need.

  • Please help: content still is not fixed with background image when I resize the browser window

    I am designing a Web site and want my content appear in the same location relative to the background image, regardless of whether or not the browser window is resized. How can I do this? (the content always moves when I preview the page)

    You can pin the object on the page so that it remains in the same position with any size of the screen.

    Thank you

    Sanjit

  • Adjust the width of the image and position automatically with the size of the browser.

    Hi, I am trying to place an image on the left edge of the browser window, and the width of the image is 50% the size of browser window. Similar effect can be found on this Web site. Lenzing Instruments

    Note that, like the browser zoom out, the image is half of the width of the browser window and align the right edge of the browser.

    I am new to Muse. Not sure if it is possible to achieve this effect in Muse. I know that Muse adjustable width 100% image browser window, but how about 50%, 75% of the other user-defined proportion?

    Any help will be appreciated!

    By saying that I mean that you can use the features available where pine will set the location of the content, full-width makes the background or the flexible content with edges of browser. Not all items will be covered to significant effect.

    Thank you

    Sanjit

  • Illustrator aligns with the pixel &amp; changes the path?

    I work with paths are for some reason strange and annoying, snaps to the pixel grid. I have even the 'Snap to Pixel' off and the traces are changed by the Illustrator so they dynamic enters the pixel grid. I've never experienced this before where illustrator actuall moving anchor points where he wants. Here is an example of what is going on (this happens in the raster preview and normal preview):

    Here is a vector path on a grid created to show where the pixels are:

    preview_02469.png

    I select the object swap FILLING in the RACE and immediately you can see that illustrator changed the location of the paths:

    preview_02470.png

    I share the RACE to FILL and it alters the paths still more!

    preview_02471.png

    Here's another example:

    The paths are not clearly aligned with the pixel grid, but illustrator is trying everything possible to make the line of pixels to the top. (This image has "Quick align inside" and is previewing rasterized).

    preview_02467.png

    Same thing but pixel not preview. Super weird behavior:

    preview_02466.png

    Will there be some sort of setting in the preferences of masters that is causing this behavior? I did this wink on the grid and snap to pixel is turned off and rest nothing will do. Anyone encountered this?

    Thank you!

    I'm assuming that CS5 because you are talking to match the pixel grid. Is this correct?

    Possible bug, but...

    I can easily reproduce this problem with a small graphic and align on grid of pixels. If I disable snap to grid of pixels (in the transformation Panel) the problem disappears.

    Note there must be a very small chart for the question to stand.

    Are you sure you want to align the grid of pixels off?

    If so, you might try trashing your file.

  • Background image to fit the browser window

    Hi all
    I would like a background image to fit the browser window with a section of content it contains / above it. I can't do too much work, but I've done a mock up for you give an idea on http://www.greenpatch.co.uk/test/test.html! The basis for the content CSS is as follows:
    #container {}
    Width: 770px;
    margin-right: auto;
    left margin: auto;
    border: thin solid #FF0000;
    top of the margin: 207px;
    }
    #header {}
    Width: 770px;
    height: 120px;
    background: url(images/newbackground.jpg) no-repeat;
    border-bottom: thick Ridge #006633;
    }
    {#contentwrapper}
    Width: 768px;
    float: left;
    }
    #left {}
    float: left;
    Width: 212px;
    }
    #right {}
    float: right;
    Width: 525px;
    padding: 10px 20px 50px 0px;
    }
    #footer {}
    Width: 770px;
    padding-top: 8px;
    Clear: both;
    padding-bottom: 8px;
    border-top: Ridge average #006633;
    background: #669966;
    }

    Any suggestions much appreciated. Thank you in advance.

    Note Although the distortion. You can use this method if you must, but I
    invites you to put some min and max limits on the size of your page. Otherwise,.
    It will look all just horrible on the ultra wide screens or 3 components.

    --
    Nancy O.
    ALT-Web Design & Publishing
    www.Alt-Web.com

  • Align the top of the browser window

    Hey all

    Yeseterday was difficult to center the content of a page, Murray thanks for helping me on this one. Now back to my original problem - get my content to be flush with the top of the browser window.

    Here is the link:

    http://darcystrial.apollak.FastMail.FM/index_trial3.html

    Have tried to add in the top div on the page:

    Like this:

    < div style = "width: 658;" margin: 0 auto; text-align: left; top: 0; ' > '.

    (Does nothing)

    and this

    "< div style =" position: absolute; Top: 0px; Width: 658; margin: 0 auto; text-align: left; position: top: 0; ' > '.

    (mucks upward centering)

    All the ideas!

    Ash

    PS - I know that my code needs a lot of storage in other places...

    Hello

    If the browser does not use it by default to zero is the margin for the body.

    Change this:

    body, td, th {}
    do-family: Arial, Helvetica, without serif.
    do-size: 11px;
    color: #E8E8E8;
    vertical-align: top;
    Clip: rect (auto, auto, auto, auto);
    }

    To do this:

    body, td, th {}
    margin: 0;
    padding: 0;
    do-family: Arial, Helvetica, without serif.
    do-size: 11px;
    color: #E8E8E8;
    vertical-align: top;
    Clip: rect (auto, auto, auto, auto);
    }

    Take care
    Tim

  • Align with the graphic point nearest

    I have a chart xy with several points. The graph is controlled by a mouse press event, when the user clicks on the chart, he draws a red circle at the point of click. My question is how I would get this to align with the closest point?


  • How to set or keep a background image in my application at the beginning of the application that is, after clicking on the application icon.

    How to set or keep a background image in my application at the beginning of the application that is, after clicking on the application icon.

    I have developed a BB 7.0 BONE HTML5 / web app in which I want to include background image.

    Please guide me.

    Take a loot of rim: loadingScreen on config.xml http://developer.blackberry.com/html5/documentation/rim_loadingscreen_element_834680_11.html

Maybe you are looking for