Stop centered background image from getting cut off by a shrinking window

My problem can be seen at cortw.public.iastate.edu
my background image is centered to the top of the screen. When the browser window shrinks, I want the background image to stop moving when it reaches the edge of the screen. Currently, the image continues to move past the edge of the window.  I want to create an affect similar to apple.com and Facebook.com
I have little experience coding. Any help would be greatly appreciated!

Your CSS is seriously flawed.  Replace what you have now with this CSS code and it will work better:
body {
padding:0;
width: 980px;
margin:0 auto;  /**centered on screen**/
color: #333;
background: #FFF url(background.jpg) no-repeat;
/**menu**/
#apDiv2 {
margin:55px 0 0 350px;
For best results, don't use positioning.  You don't need it.  Use CSS margins, padding and floats to align elements on screen.
Example: (View source in browser to see the code)
http://alt-web.com/TEMPLATES/2-col-fixed-layout.shtml
Nancy O.

Similar Messages

  • How to stop browser background image from scrolling?

    So is there a way (an easy way) to stop browser background image from scrolling with the page?
    Thanks
    m

    If it's a single image, add this code to center the page horizontally:
    parent.document.body.style.backgroundPosition='50% 0%';
    http://www.wyodor.net/_Demo/tmf/Duckmenu.html
    http://www.wyodor.net/_Demo/duckmenu/duckassets/Spoorbackground.gif

  • Imported image sequences get cut off half-way through

    Hi there! I'm trying to import an image sequence (jpeg) into Premiere Pro CS4 4.2.1 and having trouble getting the clip to play in entirety. My sequence is 24 fps and the footage I'm bringing in is a 5-second piece interpreted at 12 fps. (It was shot at 12 fps via Dragonframe software, on 1's). Unfortunately, the clip gets cut off half-way through. If I play it at 24 fps it's all there but much too short of course, and the wrong speed. If I play it back at 12 fps, only the first half or so of it shows up. All the files are numbered correctly, so there shouldn't be a cut-off. I feel like this might be some obvious problem, but google-and-forum searches have yielded nary a result. Anyone run into this or be able to tell me what I'm doing wrong?
    Background info: I'm on a Dell Inspiron 1525, Windows Vista, 32-bit operating system, using Premiere Pro CS4 4.2.1, importing jpegs as an image sequence/numbered stills. Not running any other software, codecs, playback engines etc. to my knowledge.
    Many thanks!

    Thanks, John and Jim.
    I went in to change the Indeterminate Media Timebase to 12, but there's no such number option in CS4. The lowest is 23.9-something, and 24 is the next one up. After bringing the sequence in and playing it in the little preview box in the upper left-hand corner, everything's there, but bringing it into the time-line cuts it off. Is this a glitch? Any other known ways around it? Worst comes to worst I guess would be importing the sequence in two halves.

  • Interactive Image - Text Gets Cut Off

    Please see image - When second line (unbolded text) is not as lengthy as first line (bolded text) it cuts off. Is this a glitch or can I fix this somehow?

    The first thought is did you save evenything.  I have tried to reproduce your actions - but with a nor text box.. I have no shift in colour.
    Are you  using a standard text box?
    The next thing I see is you  appear to have chosen Apples free template "Editorial" and use it in its standard form.
    Although text box's are not controlled by teh default  template settings,, its advisable to first decide your colour scheme and basic layout in the template - Apple Changes to everything you changed - even of it does request you to.
    The thumb shows the text  box seems to  overlay a photo galleryor some other widget.
    Are you aware that even the basic template sits in layers stacked front to back if any object  on your screen is not  full size, then its possible another layer is cut off ie the content is forced  to flow under a layer which sits on a higher lever.
    In iBA select a layer that is "cut off" and select ARRANGE in the top menu bar and click on Move to front. Check if your  lost content appears. It may be one or more layers are active at levels which block your content.
    Using a basic free template and  then changing content in any way  just on  your work page - can often result  in the default setting overriding your choice in preview.

  • JPG image shows up fine in layout but a section gets cut off a little at the bottom in exported PDF

    I've got a JPG inserted at the top of the page and there are text boxes below it.  In the layout everything looks fine, nothing is overlapping or getting cut off.  But when I export the image (best quality) as a PDF, a few of the letters in the JPG look cut off at the bottom.  The image looks like it's aligned straight so I'm not sure why it's only showing some of the letters in the middle section look like the bottoms have been chopped.  Any ideas what the problem is and how to fix it?  Thanks!

    urghhh not working still. all of my child folders are in the root folder...sorry for the confusion. the only files in the Template folder are the parent templates. i really don't know what's causing this. i've checked my css file..it's properly linked to the main templates. everything appears perfectly in FF so i'm assuming that if it were a general prob, the pages shouldn't have shown in FF at all. the index pages previews fine in IE and the old pages do as well, except for a few distortions bc i've changed the css rules. but now i also realize that the html file from which created the template isn't showing in IE as well but only in FF so the prob might have started from there but why?? i've checked everything...at least so i think.

  • In using Mail between my Yahoo emails i kep getting cut off telling me that my present password no longer works. This is more than annoying since i transfer files between various Yahoo accounts for my filing purposes. Help me stop this abuse. Please.

    In using Mail and moving between my Yahoo emails i keep getting cut off telling me that my present password no longer works. But i have been getting my work done and suddelnly my password no loner is acceptalbe even upon re-entering it many times.This is more than annoying since i transfer files between various Yahoo accounts for my filing purposes. Help me stop this abuse. Please.

    Ah yes school boy error there out of frustration and discontent..
    My issue is with music/apps/films etc not downloading from iTunes / App Store.
    They initially fail and message is displayed stating unable to download / purchase at this time, yet if I retry it says I've already purchased (?) or alternatively I go to the purchased section and there they are waiting with the cloud symbol..
    However some items get frozen in the download window and cannot be retried or deleted. Message appears stating to tap to retry, but even if you stole every bath and sink in the uk you'd still not have enough taps.
    I post here as the iTunes guys are useless in there 'help' and have only advised posting here or phoning apple, at my expense, to explain a problem that could be rectified by forwarding my original email to a techie. However the tech team apparently don't have an email address as they're from ye olde Middle Ages..!
    Anyways I digress.
    So I tried sync to pc, but instead of showing the file as ready to listen/use/view, the iCloud symbol shows and I'm back to square one as the item is unable to download..
    At frustration station waiting for a train from pain...
    All my software is up to date, and had all worked fine prior to the last big iOS update that resulted in all the changes in display and dismay.
    Answers in a postcard :-)
    Much love

  • Text getting cut off when printing to PDF from Excel

    Hello,
         I've seen a lot related to this subject but nothing that shows a real solution.
         Using Excel 2003-sp3 and Adobe Acrobat v.9 Standard, the right half of the last character in the string gets cut off. It prints from excel fine.
         It's not always the text that is the right-most on the page either. An affected PDF file is attached - note the cut off "S" on the last line (NET ASSETS OF GOVERNMENTAL ACTIVITIES).
         Any assistance is appreciated.
    Thanks,
    Kevin Murphy

    please delete me from your mailing list.  tks.
    Date: Wed, 10 Feb 2010 11:20:28 -0700
    From: [email protected]
    To: [email protected]
    Subject: Text getting cut off when printing to PDF from Excel
    Hello,
         I've seen a lot related to this subject but nothing that shows a real solution.
         Using Excel 2003-sp3 and Adobe Acrobat v.9 Standard, the right half of the last character in the string gets cut off. It prints from excel fine.
         It's not always the text that is the right-most on the page either. An affected PDF file is attached - note the cut off "S" on the last line (NET ASSETS OF GOVERNMENTAL ACTIVITIES).
         Any assistance is appreciated.
    Thanks,
    Kevin Murphy
    >

  • I'm running Adobe 9 pro on snow leopard and when I save or print from word for mac 14 the bottom gets cuts off

    I'm running Adobe 9 pro on snow leopard and when I save or print from word for mac 14 the bottom gets cuts off. Can someone help?

    Ah! You're creating a PDF out of Word through Acrobat. The cutoff is most likely being affected by the printer chosen.
    When you call up the print dialogue in Word, check to see what printer is being used. If it's a typical inkjet printer, Acrobat is using the print margins of that printer as the cutoff area. Since most such printers can't print to the last inch and half or so of the paper, that's where it would be cut off.
    Near the bottom, under the preview of the document, click on the Page Setup button. It doesn't really matter which printer you select here. Under Paper Size, choose Manage Custom Sizes. Under the Non-Printable Area heading, choose the same printer and set the paper size you're using.
    Note that the unprintable margins for that printer will be filled in automatically. That's what's being cut off. Click the + button to create a modified version. The default will be "Untitled". Give it a new name if you want. Then set all of the margins to zero. Click OK. Now you'll have that as a choice under Paper Size. Doesn't matter that the actual printer can't use this setting since you're going to a PDF. Click OK to get back to the main Word print dialogue.
    Now choose Save as Adobe PDF. It should give you an exact duplicate of what's on screen in Word since as far as Acrobat is concerned, your "printer" has no unprintable margins.

  • How do I get my watermark not to get cut off when printing from aperture?

    When I export an image that I have put my watermark on and print it the water mark gets cut off in the printing

    Aperture should scale watermarks down to fit the exported image.  Perhaps it is scaling to one dimension and not both?
    Have you tried resizing your watermark?  I suggest creating a watermark for each commonly used export size.  I use a wide and not tall watermark, in these widths (in pixels):
    - 320
    - 640
    - 1024

  • Printing in Adobe Reader after exporting from InDesign gets cut-off

    I have exported a few documents form InDesign to PDF. When I print the documents, some parts get cut off (top section or bottom section) but there is still room on the paper. I'ts like the printer decides not to print those sections. I am printing on 5x7inch paper and all my documents show their sizes as 5x7inches.

    Turns out the issue was with Acrobat.
    See resolution here.
    http://forums.adobe.com/message/4496809#4496809

  • When uploading videos to iWeb, the video screen gets cut off at the top. It only happens in Firefox, but not in Safari.

    When uploading videos to iWeb, the video screen gets cut off at the top. It only happens in Firefox, but not in Safari. Has anybody else had this problem?

    I'm using pure HTML5 for mobile websites although you need to provide an OGG file for Firefox. See the movie page on this site...
    http://mobile.ezmacwebdesign.com/
    If you don't have an iPhone, grab the browser handle and drag it to the left to reduce the width to see how it responds to mobile devices' fixed width browsers .
    This will play in all modern browsers and on mobile devices. You can use QuickTime Pro for the OGG or OGV conversion or get the freeware Miro Video Converter...
    http://www.iwebformusicians.com/Website-Movie-Video/Easy-Movie-Player.html
    If you only want to upload an MP4, you can use a flash fallback player and this will cover Firefox and those geriatrics that still use older versions of Internet Explorer....
    http://www.iwebformusicians.com/Website-Movie-Video/Flow-Player.html
    http://www.iwebformusicians.com/Website-Movie-Video/Fallback-To-Flash.html
    http://www.iwebformusicians.com/Website-Movie-Video/JW-Media-Player.html
    If you use any of the four fallback players above, take advantage of the fact that you can add a poster image and stop the video file from preloading. This makes for a faster page download time.
    You can also achieve this using HTML5 by adding preload="none" and poster="URL to the poster image" into the code shown on this page...
    http://www.iwebformusicians.com/Website-Movie-Video/HTML5-Video.html

  • HT1918 When I try to download a free app after log in the iTunes gets cut off with a msg update security question where do I do this?? I can't download anything

    When I try to download a free app after log in the iTunes gets cut off with a msg update security question where do I do this?? I can't download anything

    If you have a credit card on file on top of your gift card then it is asking you to confirm the security code for the card, which for a Visa or MasterCard is 3 digits located on the back, or AMEX has 4 digits on the front.  This happens just to ensure that you are the account holder, and would happen from time to time whether it was a free or paid app, even if you have a credit through your gift card.  This doesn't mean that your credit card will be charged.

  • I am running on OSx 10.6.8 using a HP officejet 6000 printer. On a 8.5x11 paper, I cannot print closer than 5/8" at bottom. Images or type cuts off at that point. HP says it's an mac problem. I tried changing evry possible print setting. Am I missing somt

    Running on OSx 10.6.8 using a new HP Officejet 6000 printer. How can I get to within 1/8" on all sides of an 8.5x11 sheet of paper. Images and copy cuts off at 5/8" at bottom. HP says it's a mac problem, not an HP problem. I tried every combination of print settings. Nothing has solved the problem. Have I missed something?

    Yes you are unfortunately you as the consumer are caught in the middle. I totally disagree with what HP told you, they supply the print drivers to Apple, Apple doesn't write printer drivers that I know of. Look in the print settings to see if you can go below 5/8", I know I can with my HP printers (Laserjet 1012, Color Laserjet 2600N, OfficeJet 7410 & OfficeJet 7700 series) so I'm sure the issue is specific to the OJ6000 series.

  • Tops of Signatures get cut off...

    Can anyone tell me why or, better yet, how to fix the following issue I keep having?
    When using Adobe Reader and the "Sign>I Need To Sign>Place Signature" function with "Signature Style 4" the top of some of the letters of signatures gets cut off (see screenshot below). 
    I cannot find a way to rejustify the text nor am I able to enlarge only the box that the text is located in.  The single enlarging feature for the box is a diagonal enlargement tool which inherently also enlarges the text when it is used.  So it defeats the purpose of what I'm trying to fix and only makes the issue into a larger size.
    Any assistance in correcting this issue is greatly appreciated!
    --CR4

    There are several situations where this could happen.
    1) If you have 4:3 footage (standard def) in a 16:9 project (widescreen) and select CROP in the Rotate, Crop, Ken Burns Tool, then it will cut off the top and bottom of your clips to make them fill the screen. If you select FIT instead of CROP, it will letterbox (add black bars) so you see the whole clip.
    2) This can also happen when you automatically apply image stabilization. Stabilization works by zooming in. You can turn off stabilization in the Clip Inspector.
    3) If you have iPhone clips and the iPhone was held vertically, then this will be an issue for you, because iMovie always sets the aspect ratio to match a TV screen, so the horizontal dimension will always be the longest. For best results, shoot all movies in landscape mode on your iPhone. If you have already shot in Portrait Mode, I suggest using FIT rather than CROP so you do not cut off the heads.

  • I got a text saying that if I don't pay my bill, my service is going to get cut off by the end of the day. I don't have the funds to pay it in full, so I paid half the amount. Would that suffice? Or would I have to pay it in its entirety to save my accoun

    I got a text saying that I don't pay my bill, my service is going to get cut off by the end of the day. I don't have the funds to pay it in full, so I paid half the amount. Would that suffice? Or would I have to pay it in its entirety to save my service from being cut off?

    As it was pointed out making prior arrangements could of helped extend the time you need to get your account back in order..
    But if you have to have the phone and its the only thing you have to make calls, I would try other means ( Family, Friends, or other )  to get the rest of the balance payed and you can pay at a Corporate store using the stores Kiosk machine.!   You can pay with Cash, Credit or I think with a  check  but using a check I'd ask the Local store how the policy is on that..
    Hope that Helps.!  Good luck..

Maybe you are looking for