Can I center 2 divs over each other??

OK, I've built a website completely in Flash and I'm trying
to lay it out with dreamweaver so that when viewed on 800x640
resolution maxed browser window it will fit snug without any
horizontal scrollbar (the SWF's is fit to this standard); and when
viewed on 1024x768 maxed window it will be centered in the window
PLUS have a background on either side (So this background should
not appear in the 800x640 window). If that isn't clear compare
http://www.gamespot.com.
Right so my idea was just to put the SWF in a div and this
background PNG in a div and center them both, while making the PNG
width=100%.
Well that doesn't seem to work. I guess you can't center two
divs over each other?? The only way I can make one overlay on the
other is by giving it an absolute position, but then of course it
isn't centered any more.
Any suggestions?

Well, no, that's not what I meant.
Background images don't do 100%. Using CSS like this -
body { background-repeat:no-repeat;
background-position:center; }
will a) prevent the image from tiling, and b) will place it
in the center of
any size viewport. Is that what you wanted?
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"Joniba" <[email protected]> wrote in
message
news:en3a6r$jgr$[email protected]..
> Yeah, sorry I'm just learning all this, so now I know
how to (I didn't
> when I
> posted the message). So I guess I could just center the
background image
> with
> no-repeat, and if it's 100% it anyway shouldn't repeat
(?). Is that what
> you
> meant?
>

Similar Messages

  • How can i get my items to stay in place and not cross over each other when readjusting the browser s

    How can i get my items to stay in place and not cross over each other when readjusting the browser size.
    Basically on my site when i go from a small screen to a big screen everything doesn't adjust to the screen size. I don't know what im missing
    Here's the link to the page all the pages & they all do it
    http://theatricalworkslive.com/
    Thanks in advance

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of the test is to determine whether the problem is caused by third-party software that loads automatically at startup or login, or by a peripheral device. 
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards. Boot in safe mode and log in to the account with the problem.  Note: If FileVault is enabled, or if a firmware password is set, or if the boot volume is a software RAID, you can’t do this. Post for further instructions.
    Safe mode is much slower to boot and run than normal, and some things won’t work at all, including wireless networking on certain Macs. The next normal boot may also be somewhat slow.
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin. Test while in safe mode. Same problem? After testing, reboot as usual (i.e., not in safe mode) and verify that you still have the problem. Post the results of the test.

  • Since downloading the most current iTunes software I can no longer print the insert (label) for a jewel case.  The songs are printed over each other and can not be read.  Any suggestions?  Thanks.

    Since downloading the most current iTunes software I am no longer able to print an insert (label) for a jewel case.  I click on print, choose jewel case and then it doesn't matter which option I choose for the insert it will only print the songs over each other in a 1 inch section so that it can not be used or read.  If instead of clicking on the jewel case I click on list it works fine and prints an appropriate list.  I have always updated the iTunes software the first time I am offered to do so and I have never had a problem printing the jewel case inserts.  Since this issue is not about a piece of hardware iTunes help will not help me. 

    Did you ever get a response?
    If you so how did you correct the problem?
    I have the exact problem you had.
    Please let me know.
    Thank you
    <Edited by Host>

  • Two different projects spliced together over each other some how?

    Greetings everyone,
    I thought forum users might be interested in this one. I don't use the forum often so I don't know the history but has anybody ever had two different projects spliced together over each other some how? For example, I was tweaking a project and left it alone for several months. I came back today to work on it and clips from other projects were in it some how. Also the audio from the new clips were in the new project and overriding the existing project. Does anybody know how to restore the two and make them separate them without losing any info. from either one? The thing's a mess. I had 1 video track w/ some subtitles, a voice over, and some music in the background. Now it has two video clips, and two of everything else. It's crazy. I don't think it's a virus or anything. Nothing else on my machine is acting strange. I hope nobody else has experienced this yet can help.
    Peace

    If you have a backup external drive and Time Machine, I would suggest the following:
    Locate this specific clip in your Finder. Highlight it and rename it "old", or something similar.
    Launch Time Machine.
    Go back to a date in time when this clip was as you properly edited it.
    Again, make sure Finder is still open and highlight the clip.
    Click "restore" in Time Machine.
    Open iMovie and you will see your project as you had it all those months ago.
    This works for me when I have an iMovie project behaving badly.
    iMovie is a great application: but just like us, it has good days and bad days.
    Dan

  • Chart series lines going over each other

    All i have a chart with 3 series, how do i get it so that the lines are all separate, at the moment they go over each other and i can't see each of the three, i know that some of the values are the same, and some are near to each other, but how do i spread them out.

    do not know if you need the solution, but you can try to give a min / max value of the y-axis to spread the line out? Go to the "Chart attribute" page and in the section "Axes Settings" you can enter a min and max value for the y axis.

  • When I Print a cd jewel case the song list is printed over each other in 11.0, what's the fix?

    When printing a cd jewel case the song list prints over each other in i-tunes 11.0. Is there a fix for this?

    This is Driving me Crazy!!  I have a brother MFC-J615W and just like in the above discussions with Windows 7 64bit, The Title Prints fine, The Title in the lower other corner prints fine and the Song Listing prints all over itself and can't be read.  How can I get help?  I Tunes 11.0.2.26...

  • Png files are over each other in the iphoto import window

    When i connect my iphone to the mac to import photos in iphoto, the png files are over each other in the iphoto import window. Jpegs are also showing up in the iphoto grid with new photos but each box contains 1 photo, which is normal. With png pictures, iphoto puts up to 3 pictures on top of each other in each box.
    Anybody has seen this before?
    Kind regards,
    Jeff Dehaes

    oops, sorry, re-installed iphoto and it works again, they weren't even png's just jpegs...
    Problem solved.

  • I am trying to transfer files from MacBook Pro to new MacBook air using Migration assistant via WiFi connection - the two computers can't seem to find each other

    I am trying to transfer files from MacBook Pro to new MacBook air using Migration assistant via WiFi connection - the two computers can't seem to find each other.
    Any ideas?
    Barry

    Try this article - http://support.apple.com/kb/HT4889.
    If it doesn't help, post back in this thread.
    Best of luck,
    Clinton

  • Can two RMI Servers talk each other

    Can two RMI Servers talk each other ?
    For it to happen, does one of them be dependent on another ?

    1. Absolutely.
    2. No

  • 2 users on imessage with the same apple id but setup so they messages can't be seen by each other

    My kids are using my itunes account and they both just recently got ipod touches.  They both use imessage but they can see each others messages.  Is there a way to set it up so they can't see the messages for each other.  I've got them setup with different email accounts so the emails are going to the right accounts, just need to separate the messages now.  Please help me.  Thank you.

    This is not an area where I have any expertise, but you may want to consider using separate Apple IDs and using the recently released Family Sharing capabilities which still allow you to share your music and apps.
    http://www.apple.com/ios/whats-new/family-sharing/
    https://www.apple.com/support/icloud/family-sharing/

  • Can these two attributes conflict each other?

    A Data Guard question: Can MAX_FAILURE and NET_TIMEOUT attributes conflict each other if we configure them simultaneously on a same LOG_ARCHIVE_DEST destination?
    Is there any overlap to them?

    Is it easier to ask someone else to look up the
    answer for you than to look it up yourself?
    http://www.oracle.com/pls/db111/homepage
    I encourage you to read it for yourself. You might
    just learn something else of value.
    Read the Doc - A Poem
    I need a guru who can do
      In one statement - a line or two,
    To write for me the fix i need
      to make me a hero, o yes indeed.
    I hack and I paste, can't show my true code
      But using your powers I'm sure you will know
    What is my issue, time is flying -  Tick-Tock...
      What do you mean, just go read the doc? RTFM - right? ;}

  • How to automatically superimpose pairs of images over each other?

    I would like to find a way to automatize image superposition. The images are all located in one FolderX and the consecutive image of an image should be copied as second layer in the previous image and be saved under another name in another FolderY. e.g. picture 1 (green) + picture 1 (red) = picture 1 (green+red)
    Folder X:
    picture 1 (green)
    picture 1 (red)
    picture 2 (green)
    picture 2 (red)
    picture 3 (green)
    picture 3 (red)
    Thus the script should yield:
    Folder Y:
    picture 1 (green+red)
    picture 2 (green+red)
    picture 3 (green+red)
    At the moment Iam getting along by combining “AutoIt” with a PS action. But the problem is that I cannot use the computer during the processing. I have never worked with JavaScript but if somebody could give me some advice it would probably work out. I have the ExtendToolScriptKit and would like to write it with that program. So my first question is how can I define in the script that pairs of pictures are loaded into PS? I thought of something like this but Im absolutely not familiar with the syntax:
    For i = 1 to 3, step 1
    var X = 1 ; X defines the current picture that should be processed
    var FirstPicture = Picture”X” (green)
    var SecondPicture = Picture”X” (red)
    open (C:\FolderX\FirstPicture.tif)
    open (C:\FolderX\SecondPicture.tif)
    execute action 1 ; an action written in PS to copy image one as new layer into second image
    save as FirstPicture (green+red) in C:\FolderY
    close all images
    X = X+1 ; to process next picture
    next
    thanks for your help,
    Finn

    As an example see this thread....
    http://ps-scripts.com/bb/viewtopic.php?f=9&t=3222&p=14459&hilit=load+files+into+stack&sid= e0c8e9920266810e2cd4dc3c4980400a#p14459

  • I am trying to transfer my itunes library from my macbook to my macbook air through migration assistant but both computers can't seem to find each other, can anyone help?

    can someone help me transfer my itunes library from my macbook to macbook air, i have tried migration assistant but neither computer seems to find the other.  thx, michael

    In your case, it would be better to have transferred the library to an external drive from the PC. Then, connect it to the iMac and put the library onto the Music folder.
    You used Migration Assistant, and it creates a new user with the transferred data.
    Open  > Log Out, and log in the new user. Then, open a Finder window, choose Music in the sidebar and you will see the iTunes library. Now, you have to move the iTunes library to /Users/Shared (select Go menu -in the menu bar- > Go to Folder, type that and copy the iTunes library to it). Finally, log in the other user, go to the same folder and move the library to the Music folder.
    After doing that, open System Preferences > Users and Groups, choose the user created by Migration Assistant and press the - button to remove it. This is easier if you have an external drive

  • External SWF sounds playing over each other

    Hello all,
    Does anyone have any clue on how to unload an external swf with all its sounds?

    if you're using cs4 publishing for fp10 you can use unloadAndStop().  otherwise, you must explicity stop the swf's sounds (or more crudely stop all sounds using SoundMixer.stopAll() ) and then apply the loader's unload() method.

  • My wife tracks our kids on her I pad calendar by color coding each child. When she syncs with my  calendar they lose their color. Can we sync and see each others calendar and keep the different colors

    Can you sync calendars and keep the color coded entries of the original calendar

    When you say she syncs with your calendar, do you mean she shares your calendars through iCloud, she subscribes to your calendar, or something else?
    You can color-code your view of a shared or subscribed calendar the same way you color-code one of your own calendars. In the Calendar app, tap the Calendars button at upper left, tap the ">"-in-a-blue-circle next to the calendar, and select a new color.

Maybe you are looking for