Centering a file in the browser vertically with CSS

I remember there was an issue doing this with tables and I am
wondering
if this is also hard to to with CSS. I would like to center a
flash
file, both vertically and horizontally. I have it centered
horizontally
but not vertically. This is what I have so far.
body {
background-color: #fff;
margin: 0;
padding: 0;
#container {
width: 800px;
margin: 0 auto;
background-color:25231a;
My flash file is inside of the container in the html file.
What do I need to do, to get this centered vertically as
well?
I tried this, but with no luck.
#container {
width: 800px;
margin: auto;
background-color:25231a;
Thank you for any help!
Brian

If I don't hear anything positive from Adobe about fixing it,
I am going to
be much more vocal.
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
==================
".: Nadia :. **AdobeCommunityExpert**"
<[email protected]> wrote in
message
news:[email protected]...
> It is getting more and more difficult to support such
posts. I don't have
> that much time to copy and paste a link,find it's wrong
and then have to
> copy and paste again...........
>
>
> --
> Nadia
> Adobe� Community Expert : Dreamweaver
> --------------------------------------------
>
http://www.csstemplates.com.au
- CSS Templates | Free Templates
> --------------------------------------------
>
http://www.perrelink.com.au
- Web Dev
>
http://www.DreamweaverResources.com
- Dropdown Menu Templates|Tutorials
>
http://www.adobe.com/devnet/dreamweaver/css.html
> -------------------------------------------------
>
>
> "Murray *ACE*" <[email protected]>
wrote in message
> news:[email protected]...
>>I will no longer support posts that contain broken
links like that.
>>
>> --
>> 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
>> ==================
>>
>>
>> ".: Nadia :. ACE :."
<[email protected]> wrote in message
>> news:[email protected]...
>>> OMG - nothing against you Excavatorak, but links
posted via the web
>>> forum interface come through as an absolute mess
on the nttp forum :\
>>>
>>>
>>> --
>>> Nadia
>>> Adobe� Community Expert : Dreamweaver
>>> --------------------------------------------
>>>
http://www.csstemplates.com.au
- CSS Templates | Free Templates
>>> --------------------------------------------
>>>
http://www.perrelink.com.au
- Web Dev
>>>
http://www.DreamweaverResources.com
- Dropdown Menu Templates|Tutorials
>>>
http://www.adobe.com/devnet/dreamweaver/css.html
>>>
>>>
>>>
>>>
>>>
>>> "Excavatorak" <[email protected]> wrote
in message
>>> news:[email protected]...
>>>> <a target=_blank
class=ftalternatingbarlinklarge
>>>> href="
http://www.jakpsatweb.cz/css/css-vertical-center-solution.html">http://www
>>>>
.jakpsatweb.cz/css/css-vertical-center-solution.html</a>
>>>> <a target=_blank
class=ftalternatingbarlinklarge
>>>> href="
http://milov.nl/code/css/verticalcenter.html">http://milov.nl/code/css/ver
>>>> ticalcenter.html</a>
>>>>
>>>>
>>>
>>>
>>
>>
>
>

Similar Messages

  • Drag-n-drop a file on the Browse button?

    Hi,
    Recently discovered I can drag-n-drop a file onto the Browse button in web applications prompting for file upload. Would like to find out more details about this capability. When was it implemented? What are the details of the implementation? Is it a standard capability I can count on for my application use?
    -Scott

    http://techreport.com/news/18147/firefox-3-6-supports-drag-and-drop-uploading
    https://hacks.mozilla.org/category/drag-and-drop/by/comments/as/complete/
    https://wiki.mozilla.org/Firefox/Feature_Brainstorming:Form_handling_and_text_areas
    Above link tells you about drag n drop feature of firefox along with video

  • Hello Anybody, I have a question. Can any of you please suggest me how to make an xml file from the database table with all the rows? Note:- I am having the XSD Schema file and the resulted XML file should be in that XSD format only.

    Hello Anybody, I have a question. Can any of you please suggest me how to make an xml file from the database table with all the records?
    Note:- I am having the XSD Schema file and the resulted XML file should be in that XSD format only.

    The Oracle documentation has a good overview of the options available
    Generating XML Data from the Database
    Without knowing your version, I just picked 11.2, so you made need to look for that chapter in the documentation for your version to find applicable information.
    You can also find some information in XML DB FAQ

  • Trying to backup one of my iPhoto libraries I keep getting a error message that basically says that the file could not be backed up because there is another file on the external drive with the same name, etc. There is no other file.

    While trying to copy one of my iPhoto libraries to an external hard drive I get the following error message "You can’t copy “iPhoto Library old” because it has the same name as another item on the destination volume, and that volume doesn’t distinguish between upper- and lowercase letters in filenames." There is no other file on the external drive with this name. I have asked this question before and was told that there are some duplicate photos (files) in my library and I needed to go to "show file contents" and look at certain files to find duplicates and delete the duplicates. I did all of this and the library will still not copy and always stops copying in the exact same place on each attempt. Any help would be greatly appreciated.

    You've been deleting your actual Photos.
    Don't change anything in the iPhoto Library Folder via the Finder or any other application. iPhoto depends on the structure as well as the contents of this folder. Moving things, renaming things, deleting them or otherwise making changes will prevent iPhoto from working and could even cause you to damage or lose your photos.
    Best way forward now is to recover the surviving Originals from this library and start over from scratch.
    Regards
    TD

  • What can I do to rectify the situation in which Firefox will not open pdf files in the browser, even though I have already used all the help suggestions to no avail?

    I have tried everything Mozilla has suggested. Still when I click on a pdf, I get the message that the browser cannot open a pdf. I have gone through the help protocol, and it does not work.
    I have uninstalled Firefox and reinstalled it, and still not able to open pdf files within the browser.
    What else do I do, except go to IE or Chrome and just leave Firefox completely???

    A possible cause is the presence of a PDF plugin from an older Adobe Reader plugin in the plugins folder in the Firefox program folder.
    See [[Troubleshooting plugins]]
    See also:<br />
    http://kb2.adobe.com/cps/405/kb405461.html - The Adobe Acrobat/Reader cannot be used to view PDF files in a browser<br />
    http://kb2.adobe.com/cps/836/cpsid_83688.html - I can’t view a PDF document in my web browser<br />

  • I'm trying to invoke EXCEL or POWERPOINT file into the browser IE 6.0.  The

    I'm running TOMCAT locally on my PC (running Windows NT).
    I'm trying to invoke EXCEL or POWERPOINT file into the browser IE 6.0.
    The output is coming out all scrambled (almost like ASCII code or something),
    where it seems like the applications are not firing up.
    However, an MSWord file shows up fine. So I go to the WEB.XML file in the TOMCAT\CONF
    folder and notice that a MIME type has been set up for MSWord and not the other two.
    I set one up for EXCEL and POWERPOINT but the XLS or PPT files still don't work.
    So, just for kicks, I comment out the MSWord MIME definition but the MSWord file still worked!!!
    I can't figure out what's going on here.
    I'm stopping and starting the TOMCAT service each time I make changes to the WEB.XML file,
    but it seems like none of the changes are taking affect.
    I install all the viewers for MS-Word, ppt, and excell.
    But in Netscape it works fine.

    To support various file formats in IE browser while using window.open like .doc, .docx, .ppt, .pptx, .xls, xlsx etc.,
    The following code can also be used to force any format to get launch outside IE
    For these first configure a filter in web.xml and then include the filter class in given path
    <filter>
    <filter-name>MimeFilter</filter-name>
    <filter-class>com.srk.MimeFilter</filter-class>
    </filter>
    <filter-mapping>
    <filter-name>MimeFilter</filter-name>
    <url-pattern>*.xls</url-pattern>
    </filter-mapping>
    <filter-mapping>
    <filter-name>MimeFilter</filter-name>
    <url-pattern>*.xlsx</url-pattern>
    </filter-mapping>
    <filter-mapping>
    <filter-name>MimeFilter</filter-name>
    <url-pattern>*.ppt</url-pattern>
    </filter-mapping>
    <filter-mapping>
    <filter-name>MimeFilter</filter-name>
    <url-pattern>*.doc</url-pattern>
    </filter-mapping>
    <filter-mapping>
    <filter-name>MimeFilter</filter-name>
    <url-pattern>*.docx</url-pattern>
    </filter-mapping>
    <filter-mapping>
    <filter-name>MimeFilter</filter-name>
    <url-pattern>*.pptx</url-pattern>
    </filter-mapping>
    and then include the filter class in the declared path
    import java.io.*;
    import java.util.logging.*;
    import javax.servlet.*;
    import javax.servlet.Filter;
    import javax.servlet.http.*;
    public class MimeFilter implements Filter {
    public void doFilter(ServletRequest request, ServletResponse response,
    FilterChain chain) throws IOException, ServletException {
    HttpServletResponse httpResp = (HttpServletResponse) response;
    HttpServletRequest httpReq = (HttpServletRequest) request;
    String fileUrl = httpReq.getRequestURI();
    if(fileUrl.lastIndexOf(".xls")!=-1)
    fileUrl = fileUrl.substring(fileUrl.lastIndexOf("/")+1);
    httpResp.setContentType("application/vnd.ms-excel");
    httpResp.setHeader("Content-disposition", "attachment; filename="+fileUrl);
    if(fileUrl.lastIndexOf(".ppt")!=-1)
    fileUrl = fileUrl.substring(fileUrl.lastIndexOf("/")+1);
    httpResp.setContentType("application/powerpoint");
    httpResp.setHeader("Content-disposition", "attachment; filename="+fileUrl);
    if(fileUrl.lastIndexOf(".doc")!=-1)
    fileUrl = fileUrl.substring(fileUrl.lastIndexOf("/")+1);
    httpResp.setContentType("application/msword");
    httpResp.setHeader("Content-disposition", "attachment; filename="+fileUrl);
    chain.doFilter(request, response);
    public boolean isLoggable(LogRecord record) {
    return false;
    public void destroy() {
    public void init(FilterConfig arg0) throws ServletException {
    Please let me know your feedback.

  • How to upload data in the pdf file to the R/3 with fileupload element ?....

    Hi Experts,
    I need to upload the data in the pdf file to the R/3 with fileupload element.
    But I am not able to get the correct data(it is confusion code) in the pdf file when I debug the programe. However, I am able to get the data if the data is in the txt or excel file.
    Do you give some hint for this problem ?
    Thanks & Regards,
    Tao

    Hi, experts,
    The version of R/3 : ABAP: 10, BASIS:11.
    Best regards,
    tao

  • Can't open PDF files in the browser. I've tried every fix mentioned and it still doesn't work!!!

    I have Windows XP. Using firefox as my browser. Suddenly, I can't open PDF files in the browser. I've tried all the fixes mentioned. Nothing works!!! Checked the plugin settings, checked Adobe Reader settings.

    I already fixed it. I never exited out of Firefox before deleting the mime file. it works now.

  • Can't get Firefox to NOT open PDF files in the browser

    I would like Firefox to always ask whether I want to open or save a PDF document. Instead, it always displays the file in the browser and pops up a toolbar. In Tools/Options/Applications pdf files are not listed. However "PDF Xchange Viewer Document" (my default PDF viewer) is listed and the action is set to "Always ask"; yet it never asks. Why?

    Such actions are usually linked to a specific MIME type and if Firefox doesn't obey and ask what to do then you may have created this action for the wrong MIME type.
    *http://kb.mozillazine.org/File_types_and_download_actions

  • Trying to open a file in the browser and Adobe reader/acrobat says to quit and try again (1:9) HELP

    trying to open a file in the browser and Adobe reader/acrobat says to quit and try again (1:9)
    Do this over and over and even reinstalled several times to no avail. Mac running the latest Mt. Lion
    HELP

    click file > place formats to import graphic files.
    http://helpx.adobe.com/indesign/kb/supported-file-formats-indesign-cs5.html

  • HT3775 Is the Codec listed adjacent to the file format the Codec used with that file format?

    Is the Codec listed adjacent to the file format the Codec used with that file format?

    Is the Codec listed adjacent to the file format the Codec used with that file format?

  • How to compress HDV files in the browser.

    I want to compress HDV files in the browser to DV 16/9 without having to drag them all into the timeline and combined and compress them all into one file.

    The Sony HDV X1 camera can convert your HDV footage to a variety of DV configurations. I would highly recommend this route to avoid the system performance penalties of working in native HDV. Also the camera gives you a much better HDV to DV conversion than FCP 5 (at the moment).
    The only benefit of staying HDV is if you are mastering to HD.

  • I removed chrome 10 and newly installed FF4 final, and I can't read PDF files within the browser. There was no problem in Chrome.

    I removed chrome 10 and newly installed FF4 final, and I can't read PDF files within the browser. There was no problem in Chrome. I can't even see the acrobat reader plugin in the plugins page. Acrobat 10 is already installed in my PC. Every time I try to read a PDF file on the web, FF tries to download it instead.

    As recommended above by Bernd Alheit, I posted this on the Adobe Reader forum. There, I received the advice to repair the installation under the help menu, which I did and it fixed the problem.
    Similar to your solution but found it's a fix found under "HELP" menu and not Add/Remove.
    Thank you.

  • Select statement from a join file deletes the primary records with MS Expl.

    Hello,
    is reality,
    Select statement from a join file deletes the primary records with MS Explorer 6, Firefox not, this with a normal data provider or with a normal "select..." statement.
    This is very strange, I should have a.a.s.p. a solution or workaround
    Thanks, Franco.
    Message was edited by:
    fbiaggi

    Please see the following excerpt from the online documentation.
    http://docs.oracle.com/cd/E11882_01/server.112/e22490/ldr_modes.htm#SUTIL1332
    Enabled Constraints
    During a direct path load, the constraints that remain enabled are as follows:
    NOT NULL
    UNIQUE
    PRIMARY KEY (unique-constraints on not-null columns)
    NOT NULL constraints are checked at column array build time. Any row that violates the NOT NULL constraint is rejected.
    Even though UNIQUE constraints remain enabled during direct path loads, any rows that violate those constraints are loaded anyway (this is different than in conventional path in which such rows would be rejected). When indexes are rebuilt at the end of the direct path load, UNIQUE constraints are verified and if a violation is detected, then the index will be left in an Index Unusable state. See "Indexes Left in an Unusable State".

  • How can i stop the Action Wizard from putting the original file into the Source folder with my changed documents?

    How can i stop the Action Wizard from putting the original file into the Source folder with my changed documents?

    [discussion moved to Creating, Editing & Exporting PDFs forum]

Maybe you are looking for

  • Why do pictures appear in the wrong position in Firefox but in right place in Internet Explorer?

    I am running Internet Explorer 8 and Firefox 3.6.6 and have been looking at the following website www.finningley.org and on the home page there is a picture of an aeroplane that appears in the correct place on Internet Explorer but is over the text i

  • BarCode Using XMLPublisher

    Hi, I am trying to want to embed BARCODE into the PDF Generated XML Publisher Report. I have Used the IDAUTOMATION Utility for this purpose and also refered to xml Publisher blob http://blogs.oracle.com/xmlpublisher/2007/05/09 If I try to compile Jav

  • File dis-ambiguation

    Situation as follows: Customer uses the same filename (say 'purchaseOrder') to represent two quite distinct text files. One text file ('purchaseOrder') we'll call a 'type 1' purchase order, and another 'purchaseOrder' being a 'type 2' purchase order.

  • Problems with WRT-320N

    I recently left town for about a week and when I came back and attempted to stream media to my PS3, the performance was abysmal.  I restarted my media server but this did not fix things.  A reboot to the WRT-320N was necessary to restore performance.

  • N97 saying sim is full

    Hi Just received my new N97 on Friday and still trying to get used to it.  The text message envelope will not stop flashing on the home screen.  We have tried deleting all the sent messages and inbox messages (there weren't many) but it is still flas