Dreamweaver Question

Discussion in 'Web Design and Development' started by Aperture, Jul 17, 2006.

  1. Aperture macrumors 68000

    Aperture

    Joined:
    Mar 19, 2006
    Location:
    PA
    #1
    Hi. I just downloaded Dreamweaver (Trial:D) and am trying to use it to create a simple HTML file with my Flash Movie in it. I inserted the movie and am trying to get it to appear in the center of a browser window. So, when I view it in a browser the flash in completely centered on the page. Both up/down. I guess its a pretty noobish question.:p Ok, thanks!

    Kevin
     
  2. slooksterPSV macrumors 68030

    slooksterPSV

    Joined:
    Apr 17, 2004
    Location:
    Nowheresville
    #2
    Let's see:
    <table width="100%" height="100%" style="position:absolute; top:0px; left:0px;"><tr><td valign="middle">
    <center>flashmovie here</center></td></tr></table>
     
  3. angelneo macrumors 68000

    Joined:
    Jun 13, 2004
    Location:
    afk
    #3
    Centering horizontally is pretty straight forward. Just select your flash clip and click on the "align center" in the properties panel in Dreamweaver.
     
  4. slooksterPSV macrumors 68030

    slooksterPSV

    Joined:
    Apr 17, 2004
    Location:
    Nowheresville
    #4
    Yeah, and to center it vertically, you have to create a table that is absolutely at 0,0 on the page, then make a row and a column <tr><td> respectively, and with the column (I think TD stands for table data, like cell data) and valign that, vertical align, to the middle of the page. How I showed previously. Oh and you have to use style's (CSS styles), that's why its <table style=""> anyways, if you don't know HTML and CSS, learn it, that's the only way you can make almost flawless to flawless pages.
     
  5. Give me money macrumors newbie

    Joined:
    Apr 4, 2006
    Location:
    Canberra
    #5
    Dreamweaver....NO! EVIL! CRAP!

    I use a free app. called Nvu or RapidWeaver allot better and nicer to use

    with RapidWeaver you use templates but you can make your own but I'm still trying to learn that part.
     
  6. x704 macrumors regular

    x704

    Joined:
    Apr 15, 2006
    #6
    Any HTML/CSS code that I have seen spit out by a website editor is enormously redundant. If I were you I would do it all by hand like me, that way it is easier to read and edit if you don't have the editor.
     
  7. slooksterPSV macrumors 68030

    slooksterPSV

    Joined:
    Apr 17, 2004
    Location:
    Nowheresville
    #7
    A lot of times its better to just code it by hand because with the WYSIWYG sites, there are errors that don't display things properly - even if its coded almost perfect - knowing how to hard code it is better than trying to fumble with an editor like NVU, RapidWeaver, iWeb, Dreamweaver, GoLive, etc.
     
  8. mactib macrumors member

    mactib

    Joined:
    Jul 21, 2006
    #8
    with dreamweaver, when you are viewing the website in the split mode..i.e. where you can see both the design and the coding mode....the flash movie or an image file will not show in the center (in the design mode).but if you preview it in a browser..it should be in the center..otherwise just set up a CSS stylesheet for the image and in the positioning options..center it..
    Good Luck
     
  9. kaboutertje macrumors regular

    kaboutertje

    Joined:
    Jul 7, 2006
    Location:
    Amsterdam, Netherlands
    #9
    Offcourse nonetheless dreamweaver is a great app, especially if you don't feel like learning html/css. Knowledge of html will make designing websites easier (it isn't that hard), but I think these WYSIWYG programs give a lot of people a chance to make a website who previously weren't able too.
     
  10. crees! macrumors 68000

    crees!

    Joined:
    Jun 14, 2003
    Location:
    MD/VA/DC
    #10
    I do this on my site (below: RM)

    Example:
    http://blog.deconcept.com/swfobject/fullpage.html

    Info:
    http://blog.deconcept.com/swfobject/
     

Share This Page