Trouble inserting padding in webpage

I built a site in Flash and pulled it into Dreamweaver, gave it a background and pushed it down from the top.  What I want to do is center it in the middle of the page but I can't seem to do it.  I have some options in the "Align" box such as, Top, Middle, Absolute Middle, etc. but none of these seem to do anything.  I'm pretty new to DW so I'm not sure what I've done wrong.  Little help...??
The address is http://www.resolutemedia.net.
Thanks...

You cannot center something that has a width of 100%.  Remove the padding from your div container that surrounds the flash file.  That will only pad the flash file from the div container which is not what you are trying to do.
Now, define a width to your div container around the Flash and then set the margin attribute to: margin: 35px auto;.  That will give you 35px on the top and bottom of the Flash file and auto will center the Flash file horizontally.

Similar Messages

  • Trouble inserting Flash in CS5.5

    I just upgraded to CS5.5 and am having trouble inserting a Flash file into Dreamweaver. When I used CS4, I would open the html file that Flash created in the Publish process. I would copy and paste the top part of that file -- the <script> info into the header of my dreamweaver code. Then in the location where I wanted the Flash file to be I would paste the code from the Flash html that started with <!--url's used in the movie--> and ended with </noscript>.
    However, the files I just created in Flash using all the same Publish settings as I used previously (I think!) look completely different. There is nothing like either of these sections that I previously used to insert the Flash code into Dreamweaver. Here is a comparison of the 2 Flash html files so you can see what I'm talking about.
    Flash html in CS4:
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>Firestone</title>
    <script language="JavaScript" type="text/javascript">
    <!--
    //v1.7
    // Flash Player Version Detection
    // Detect Client Browser type
    // Copyright 2005-2008 Adobe Systems Incorporated.  All rights reserved.
    var isIE  = (navigator.appVersion.indexOf("MSIE") != -1) ? true : false;
    var isWin = (navigator.appVersion.toLowerCase().indexOf("win") != -1) ? true : false;
    var isOpera = (navigator.userAgent.indexOf("Opera") != -1) ? true : false;
    function ControlVersion()
        var version;
        var axo;
        var e;
        // NOTE : new ActiveXObject(strFoo) throws an exception if strFoo isn't in the registry
        try {
            // version will be set for 7.X or greater players
            axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");
            version = axo.GetVariable("$version");
        } catch (e) {
        if (!version)
            try {
                // version will be set for 6.X players only
                axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");
                // installed player is some revision of 6.0
                // GetVariable("$version") crashes for versions 6.0.22 through 6.0.29,
                // so we have to be careful.
                // default to the first public version
                version = "WIN 6,0,21,0";
                // throws if AllowScripAccess does not exist (introduced in 6.0r47)       
                axo.AllowScriptAccess = "always";
                // safe to call for 6.0r47 or greater
                version = axo.GetVariable("$version");
            } catch (e) {
        if (!version)
            try {
                // version will be set for 4.X or 5.X player
                axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.3");
                version = axo.GetVariable("$version");
            } catch (e) {
        if (!version)
            try {
                // version will be set for 3.X player
                axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.3");
                version = "WIN 3,0,18,0";
            } catch (e) {
        if (!version)
            try {
                // version will be set for 2.X player
                axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash");
                version = "WIN 2,0,0,11";
            } catch (e) {
                version = -1;
        return version;
    // JavaScript helper required to detect Flash Player PlugIn version information
    function GetSwfVer(){
        // NS/Opera version >= 3 check for Flash plugin in plugin array
        var flashVer = -1;
        if (navigator.plugins != null && navigator.plugins.length > 0) {
            if (navigator.plugins["Shockwave Flash 2.0"] || navigator.plugins["Shockwave Flash"]) {
                var swVer2 = navigator.plugins["Shockwave Flash 2.0"] ? " 2.0" : "";
                var flashDescription = navigator.plugins["Shockwave Flash" + swVer2].description;
                var descArray = flashDescription.split(" ");
                var tempArrayMajor = descArray[2].split(".");           
                var versionMajor = tempArrayMajor[0];
                var versionMinor = tempArrayMajor[1];
                var versionRevision = descArray[3];
                if (versionRevision == "") {
                    versionRevision = descArray[4];
                if (versionRevision[0] == "d") {
                    versionRevision = versionRevision.substring(1);
                } else if (versionRevision[0] == "r") {
                    versionRevision = versionRevision.substring(1);
                    if (versionRevision.indexOf("d") > 0) {
                        versionRevision = versionRevision.substring(0, versionRevision.indexOf("d"));
                var flashVer = versionMajor + "." + versionMinor + "." + versionRevision;
        // MSN/WebTV 2.6 supports Flash 4
        else if (navigator.userAgent.toLowerCase().indexOf("webtv/2.6") != -1) flashVer = 4;
        // WebTV 2.5 supports Flash 3
        else if (navigator.userAgent.toLowerCase().indexOf("webtv/2.5") != -1) flashVer = 3;
        // older WebTV supports Flash 2
        else if (navigator.userAgent.toLowerCase().indexOf("webtv") != -1) flashVer = 2;
        else if ( isIE && isWin && !isOpera ) {
            flashVer = ControlVersion();
        return flashVer;
    // When called with reqMajorVer, reqMinorVer, reqRevision returns true if that version or greater is available
    function DetectFlashVer(reqMajorVer, reqMinorVer, reqRevision)
        versionStr = GetSwfVer();
        if (versionStr == -1 ) {
            return false;
        } else if (versionStr != 0) {
            if(isIE && isWin && !isOpera) {
                // Given "WIN 2,0,0,11"
                tempArray         = versionStr.split(" ");     // ["WIN", "2,0,0,11"]
                tempString        = tempArray[1];            // "2,0,0,11"
                versionArray      = tempString.split(",");    // ['2', '0', '0', '11']
            } else {
                versionArray      = versionStr.split(".");
            var versionMajor      = versionArray[0];
            var versionMinor      = versionArray[1];
            var versionRevision   = versionArray[2];
                // is the major.revision >= requested major.revision AND the minor version >= requested minor
            if (versionMajor > parseFloat(reqMajorVer)) {
                return true;
            } else if (versionMajor == parseFloat(reqMajorVer)) {
                if (versionMinor > parseFloat(reqMinorVer))
                    return true;
                else if (versionMinor == parseFloat(reqMinorVer)) {
                    if (versionRevision >= parseFloat(reqRevision))
                        return true;
            return false;
    function AC_AddExtension(src, ext)
      if (src.indexOf('?') != -1)
        return src.replace(/\?/, ext+'?');
      else
        return src + ext;
    function AC_Generateobj(objAttrs, params, embedAttrs)
      var str = '';
      if (isIE && isWin && !isOpera)
        str += '<object ';
        for (var i in objAttrs)
          str += i + '="' + objAttrs[i] + '" ';
        str += '>';
        for (var i in params)
          str += '<param name="' + i + '" value="' + params[i] + '" /> ';
        str += '</object>';
      else
        str += '<embed ';
        for (var i in embedAttrs)
          str += i + '="' + embedAttrs[i] + '" ';
        str += '> </embed>';
      document.write(str);
    function AC_FL_RunContent(){
      var ret =
        AC_GetArgs
        (  arguments, ".swf", "movie", "clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
         , "application/x-shockwave-flash"
      AC_Generateobj(ret.objAttrs, ret.params, ret.embedAttrs);
    function AC_SW_RunContent(){
      var ret =
        AC_GetArgs
        (  arguments, ".dcr", "src", "clsid:166B1BCA-3F9C-11CF-8075-444553540000"
         , null
      AC_Generateobj(ret.objAttrs, ret.params, ret.embedAttrs);
    function AC_GetArgs(args, ext, srcParamName, classid, mimeType){
      var ret = new Object();
      ret.embedAttrs = new Object();
      ret.params = new Object();
      ret.objAttrs = new Object();
      for (var i=0; i < args.length; i=i+2){
        var currArg = args[i].toLowerCase();   
        switch (currArg){   
          case "classid":
            break;
          case "pluginspage":
            ret.embedAttrs[args[i]] = args[i+1];
            break;
          case "src":
          case "movie":   
            args[i+1] = AC_AddExtension(args[i+1], ext);
            ret.embedAttrs["src"] = args[i+1];
            ret.params[srcParamName] = args[i+1];
            break;
          case "onafterupdate":
          case "onbeforeupdate":
          case "onblur":
          case "oncellchange":
          case "onclick":
          case "ondblclick":
          case "ondrag":
          case "ondragend":
          case "ondragenter":
          case "ondragleave":
          case "ondragover":
          case "ondrop":
          case "onfinish":
          case "onfocus":
          case "onhelp":
          case "onmousedown":
          case "onmouseup":
          case "onmouseover":
          case "onmousemove":
          case "onmouseout":
          case "onkeypress":
          case "onkeydown":
          case "onkeyup":
          case "onload":
          case "onlosecapture":
          case "onpropertychange":
          case "onreadystatechange":
          case "onrowsdelete":
          case "onrowenter":
          case "onrowexit":
          case "onrowsinserted":
          case "onstart":
          case "onscroll":
          case "onbeforeeditfocus":
          case "onactivate":
          case "onbeforedeactivate":
          case "ondeactivate":
          case "type":
          case "codebase":
          case "id":
            ret.objAttrs[args[i]] = args[i+1];
            break;
          case "width":
          case "height":
          case "align":
          case "vspace":
          case "hspace":
          case "class":
          case "title":
          case "accesskey":
          case "name":
          case "tabindex":
            ret.embedAttrs[args[i]] = ret.objAttrs[args[i]] = args[i+1];
            break;
          default:
            ret.embedAttrs[args[i]] = ret.params[args[i]] = args[i+1];
      ret.objAttrs["classid"] = classid;
      if (mimeType) ret.embedAttrs["type"] = mimeType;
      return ret;
    // -->
    </script>
    </head>
    <body bgcolor="#c9aad0">
    <!--url's used in the movie-->
    <!--text used in the movie-->
    <!-- saved from url=(0013)about:internet -->
    <script language="JavaScript" type="text/javascript">
        AC_FL_RunContent(
            'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0',
            'width', '175',
            'height', '66',
            'src', 'Firestone',
            'quality', 'high',
            'pluginspage', 'http://www.adobe.com/go/getflashplayer',
            'align', 'middle',
            'play', 'true',
            'loop', 'true',
            'scale', 'showall',
            'wmode', 'transparent',
            'devicefont', 'false',
            'id', 'Firestone',
            'bgcolor', '#c9aad0',
            'name', 'Firestone',
            'menu', 'true',
            'allowFullScreen', 'false',
            'allowScriptAccess','sameDomain',
            'movie', 'Firestone',
            'salign', ''
            ); //end AC code
    </script>
    <noscript>
        <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="175" height="66" id="Firestone" align="middle">
        <param name="allowScriptAccess" value="sameDomain" />
        <param name="allowFullScreen" value="false" />
        <param name="movie" value="Firestone.swf" /><param name="quality" value="high" /><param name="wmode" value="transparent" /><param name="bgcolor" value="#c9aad0" />    <embed src="Firestone.swf" quality="high" wmode="transparent" bgcolor="#c9aad0" width="175" height="66" name="Firestone" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer" />
        </object>
    </noscript>
    </body>
    </html>
    FLASH html (different video) in CS5.5:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
        <head>
            <title>AfrWomen</title>
            <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
            <style type="text/css" media="screen">
            html, body { height:100%; background-color: #000000;}
            body { margin:0; padding:0; overflow:hidden; }
            #flashContent { width:100%; height:100%; }
            </style>
        </head>
        <body>
            <div id="flashContent">
                <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="200" height="54" id="AfrWomen" align="middle">
                    <param name="movie" value="AfrWomen.swf" />
                    <param name="quality" value="high" />
                    <param name="bgcolor" value="#000000" />
                    <param name="play" value="true" />
                    <param name="loop" value="true" />
                    <param name="wmode" value="transparent" />
                    <param name="scale" value="showall" />
                    <param name="menu" value="true" />
                    <param name="devicefont" value="false" />
                    <param name="salign" value="" />
                    <param name="allowScriptAccess" value="sameDomain" />
                    <!--[if !IE]>-->
                    <object type="application/x-shockwave-flash" data="AfrWomen.swf" width="200" height="54">
                        <param name="movie" value="AfrWomen.swf" />
                        <param name="quality" value="high" />
                        <param name="bgcolor" value="#000000" />
                        <param name="play" value="true" />
                        <param name="loop" value="true" />
                        <param name="wmode" value="transparent" />
                        <param name="scale" value="showall" />
                        <param name="menu" value="true" />
                        <param name="devicefont" value="false" />
                        <param name="salign" value="" />
                        <param name="allowScriptAccess" value="sameDomain" />
                    <!--<![endif]-->
                        <a href="http://www.adobe.com/go/getflash">
                            <img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" />
                        </a>
                    <!--[if !IE]>-->
                    </object>
                    <!--<![endif]-->
                </object>
            </div>
        </body>
    </html>
    HELP!!!!!

    OK, firstly, you can open the site an Dreamweeaver CS 4 and insert your flash video, but with CS 5.5 Adobe decided that Flash support should be something they should deprecate. And there is good reason.
    Mobile devices don't handle Flash very well. iPhones and iPads simply won't play it and many of the Android devices make a video into a slide show with sound.
    With CS 5.5 though, you can make an HTML5 document that understands the <video> tag. This will allow you to directly embed a video into a website without needing any plugin. There is a complete explanation and tutorial here:
    Webmonkey: Embed Video in your web page using HTML5
    From the article, here's the source:
    <video width="560" height="340" controls>
      <source src="path/to/myvideo.mp4" type='video/mp4; codecs="avc1.42E01E, mp4a.40.2"'>
    <source src="path/to/myvideo.ogv" type='video/ogg; codecs="theora, vorbis"'>
    </video>
    That's it! You can add additional stuff, like an image placeholder and so on, but really, you're looking at four lines of code here. Now, with the Flash stuff, Adobe, which supported Flash, wrote all of the code for you. While that was easy, it was a lot more complicated and, of course, clients on your site had to have the Flash plugin to see the video.
    Your doctype declatation is XHTML 1.0 strict. You will need to change your doctype to HTML5 thusly:
    <!DOCTYPE html>
    <html lang="en">
    Then after your head tag, declare your character set:
    <meta charset="UTF-8">
    Lastly, you will need to make sure that your server understands the ogg Theora MIME type. Download your .,htaccess file from your remote server and add the following lines to the end of that file:
    AddType audio/ogg .oga
    AddType video/ogg .ogv
    AddType application/ogg .ogg
    AddHandler application-ogg .ogg .ogv .oga
    You may also be able to add these MIME types from your server's control panel.
    Then, you're finished with Flash—forever.

  • Trouble Creating Padded Images for iMovie

    i am having trouble creating "padded" images to add to iMovie 09.  I followed the directions here (https://discussions.apple.com/message/10699725?messageID=10699725#10699725?messa geID=10699725) which recommend the following:
    Set up an Automator Workflow to
    1. Ask for Photos (You must select one or more photos and hit Select - you can make this easier by putting them in an album beforehand)
    2. Copy Finder Items (give it a folder to copy to- so you can find them easily)
    3. Pad Images. (put a check mark in "scale image before padding" and set for dimensions of your project.
    Hit Run and a dialog box will come up asking you to select photos. When you are finished, press SELECT and the Automator script will keep running.
    However, each time I run the script I get the following error: The action "Pad Images" was not supplied with the required data."
    My files are .jpg and I am running OS X.  Any suggestions on what I might be doing wrong?

    If you want a quick response it might make sense to try and contact user TessB directly. I say that only as that person was the one that proposed the Automater Workflow workaround, and that's not exactly something here can answer (Maybe the folks in another forum related to Autmator might be able to help). Unfortunately some solutions aren't as generic or easy to use for everyone as they are for the person who has written them up. I call it the "Works for Me" problem.

  • Having trouble inserting a logo into my video

    I am having difficulty inserting a logo into my video. Whenever, I am successful, and I go to play the video, the logo moves out of place. I deleted all of the effects but am still having trouble with it.

    We have no idea what the problem is or how you applied the logo from that brief description!

  • Insert flash in webpage

    Hello everybody
    Iam new to web designing and please help me
    how to insert a flash into the webpage directly without
    embedding the flash
    that is without using <embed> tag so that page becomes
    flash itself otherwise we have to click to activate the flash
    content
    this should not happen the flash content must be
    automatically activated when the web page loads
    what the procedure for this

    Use SWFOject:
    http://blog.deconcept.com/swfobject/

  • Having trouble inserting my images

    Hello! I need to find a solution to this problem as soon as possible, because I'm working on my website design final that's due next Monday (12/08/2014).
    I am having a really difficult time inserting my images. I don't understand why, that's something that should be the easiest thing to do. Whenever I insert an
    image, it appears larger than it should. I've updated my software, and now I don't know how to scale the image.  Whenever I scaled it before, it would always
    squish it.
    So if anyone knows Anything, I would really appreciate any help I can get.
    Thank you!

    I pasted both of the codes for HTML and CSS below. It'll be a miracle if anyone can find a solution. I've been at this for days and I haven't gotten anywhere. I've
    compared the code below with the code used in previous assignments, and I've reviewed it numerous times.. I can't find anything.
    So, good luck!
    And thanks for the help!
    HTML:
    <!doctype html>
    </head>
    <body>
    <div class="gridContainer clearfix">
      <div id="content" class="fluid"><img src="assets/banner-france.jpg" alt="Banner" class="header_div"/>
    <div class="fluid intro_paragraph">
      <p>
      <nav class="fluid menu_bar">
           <ul>
             <li><a href="index.html">Home</a></li>
             <li><a href="things_to_do.html">Things to Do</a></li>
             <li><a href="events.html">Events</a></li>
             <li><a href="accomodation.html">Accomodations</a></li>
             <li><a href="food_and_wine.html">Food and Wine</a></li>
           </ul>
      </nav>
      <h1>The Top Five Things to do in France</h1>
      <p>France is, without a doubt, one of the most fascinating countries in Europe. Every little corner of the country is worth visiting, regardless of season. Listed below are the top five places you will want to see when you visit France.</p>
      <h3>#1 Visit the Eiffel Tower</h3>
      <img src="assets/eiffel-tower.jpg" alt="Eiffel Tower" class="img_float"/>
    <p>The Eiffel Tower was designed by one of France's greatest 19th century engineers, Gustave Eiffel. It was built in commemoration of the French Revolution. The structure took more than two years to complete. It is built of about 12,000 iron pieces, all of which were designed separately to give them the exact shape they needed. The Eiffel Tower welcomes more visiters than any other paid monument in the world, estimating to 7 million a year. The tower has three levels, and there are restaurants on the first and second.</p>
      <p>If you want to plan your visit to the Eiffel Tower, <a href="http://www.viator.com/Paris-attractions/Eiffel-Tower-tours-tickets/d479-a89">click here</a>.</p>
      <h3>#2 Visit the Louvre Museum</h3>
      <img src="assets/paris_attractions2.jpeg" alt="The Louvre Museum" class="img_float"/>
      <p>The Louvre Museum is one of the largest and most important museums in the world. The museum has a collection of over one million works of art - 35,000 of which are on display, spread out over three wings of the former palace. Some of the most famous works of art in the Louvre Museum are the Venus of Milo, the Nike of Samothrake, the Dying Slave by Michelangelo, and of course Leonardo da Vinci's Mona Lisa. </p>
      <p>If you want to plan your visit to the Louvre Museum, <a href="http://www.louvre.fr/en">click here</a>.</p>
      <h3>#3 Visit the Catacombs</h3>
      <img src="assets/catacombs2.jpg" alt="Catacombs" class="img_float"/>
    <p>The Paris Catacombs holds the remains of some six million Parisians, whose bones were transferred from unhygienic and overcrowded cemeteries between the late eighteenth and mid nineteenth centuries. </p>
    </div>
    </div>
    <div class="fluid footer_div"><span class="small_text">Copyright 2002 - 2016<br>
    Last updated on
        <!-- #BeginDate format:Am1 -->December 3, 2014<!-- #EndDate -->
    </span></div>
    </div>
    </body>
    </html>
    CSS:
    @charset "utf-8";
    /* Simple fluid media
       Note: Fluid media requires that you remove the media's height and width attributes from the HTML
       http://www.alistapart.com/articles/fluid-images/
    img, object, embed, video {
      max-width: 100%;
    /* IE 6 does not support max-width so default to width 100% */
    .ie6 img {
      width:100%;
      Dreamweaver Fluid Grid Properties
      dw-num-cols-mobile: 4;
      dw-num-cols-tablet: 8;
      dw-num-cols-desktop: 12;
      dw-gutter-percentage: 25;
      Inspiration from "Responsive Web Design" by Ethan Marcotte
      http://www.alistapart.com/articles/responsive-web-design
      and Golden Grid System by Joni Korpi
      http://goldengridsystem.com/
    .fluid {
      clear: both;
      margin-left: 0;
      width: 100%;
      float: left;
      display: block;
      background-color: #FFFFFF;
    .fluidList {
        list-style:none;
        list-style-image:none;
        margin:0;
        padding:0;       
    /* Mobile Layout: 480px and below. */
    .gridContainer {
      margin-left: auto;
      margin-right: auto;
      width: 86.45%;
      padding-left: 2.275%;
      padding-right: 2.275%;
      clear: none;
      float: none;
    .header_div {
      height: 150px;
      margin-top: 10px;
      background-image: url(assets/banner-france.jpg);
    .nav_div {
      width: 30%;
      float: left;
      border-top-width: thin;
      border-top-style: solid;
      border-right-width: thin;
      border-right-style: solid;
      border-left-style: solid;
      border-left-width: thin;
      text-indent: 3px;
    .nav_ul {
      width: 100%;
      background-color: #A1D7E5;
      list-style-type: none;
      font-family: Segoe, "Segoe UI", "DejaVu Sans", "Trebuchet MS", Verdana, sans-serif;
      margin-left: 0;
    .fluid.nav_div .fluid.fluidList.nav_ul li {
      border-bottom: thin solid #211E1E;
    .intro_paragraph {
      width: 100%;
      float: none;
      clear: none;
      font-family: Segoe, "Segoe UI", "DejaVu Sans", "Trebuchet MS", Verdana, sans-serif;
    .paragraph_text {
      width: 50%;
      display: block;
      float: right;
      vertical-align: top;
      clear: right;
    .footer_div {
      text-align: center;
      font-size: small;
      background-color: #D3C08C;
      font-family: Segoe, "Segoe UI", "DejaVu Sans", "Trebuchet MS", Verdana, sans-serif;
      margin-top: 10px;
    .img_div {
      margin-top: 10px;
      text-align: center;
    .list_headings {
      color: #000033;
      font-family: Segoe, "Segoe UI", "DejaVu Sans", "Trebuchet MS", Verdana, sans-serif;
      font-weight: bold;
      font-size: large;
    h1 {
      /* [disabled]font-family: source-sans-pro; */
      font-size: x-large;
      /* [disabled]font-style: normal; */
      /* [disabled]font-weight: 200; */
    h2 {
      font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
      font-size: large;
    h3 {
      font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
    .img_float {
      float: none;
      border: thin solid #312E2E;
    .img_float_right {
      margin-top: 10px;
      margin-right: 10px;
      margin-bottom: 10px;
      margin-left: 10px;
      float: none;
      border: thin solid #312E2E;
    .img_float_right {
      margin-top: 10px;
      margin-right: 10px;
      margin-bottom: 10px;
      margin-left: 10px;
      float: right;
      border: thin solid #272525;
      background-color: #FFFFFF;
    .menu_bar {
      text-align: center;
      background-color: #DDC88E;
      width: 100%;
      margin-right: 0px;
      text-decoration: none;
      padding-top: 0px;
      padding-right: 0px;
      padding-bottom: 0px;
      padding-left: 0px;
      right: 0px;
    .insert_logo {
      height: 0px;
      width: 983px;
      display: inline;
      margin-top: 10px;
      float: left;
    ul li a {
      width: 100%;
      text-decoration: none;
      padding-left: 4%;
      padding-right: 4%;
    li {
      display: inline;
    ul li a:hover {
      color: #0025FF;
      background-color: #AF913F;

  • Help - Inserting image - distorts webpage

    Hi all
    First post here - I am a novice user of dreamweaver and
    wondering if anyone could kindly answer a query that I cannot
    solve.
    I am currently creating a website in dreamweaver mx2004 using
    tables and I have allocated space for an image to cover most of the
    index page. I insert an image into the space and it looks fine in
    design view but when I preview in my browser - the webpage is
    distorted in that the rest of my images to the side of page are
    spread across vertically making the webpage longer.
    Please help as I cannot work out what the problem is.
    Many thanks in anticipation

    Screenshots do nothing. The answer is always in the code.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "JoeyD1978" <[email protected]> wrote in
    message
    news:fl35l6$a48$[email protected]..
    > Sure, post your html too if you don't mind.

  • Trouble inserting USB plug

    I am having trouble with one of the usb ports on my macbook; when I try to insert the plug from any device, the plug goes in about half way and then seems to get stuck. With the plug only in half way; the device isn't recognized. I haven't tried to apply more force without knowing more. Is it likely something is bent in the port, blocking the plug; is this an easy/hard fix, will I damage the port if I try to "force it" a bit, or have I pretty much lost one of my usb ports. I appreciate any advice.

    If you look into the port, do you see anything? If you want to, shut down the computer, and remove the battery then use a small object--like a toothpick--and poke around in the port to see if that gets blocked by anything. Otherwise, you'll have to bring it to a store and have a Genius take a look.
    ~Lyssa

  • Trouble inserting photos

    Try as I may, I can't get photos that have been taken with an iphone held vertically to insert with the proper orientation - they go in rotated.  Photos taken with the phone held horizontally go in fine.  Any suggestions?

    Here is an online editor you can use.  Go to Image > Rotate Canvas
    http://pixlr.com/editor/
    Nancy O.

  • Inserting link to webpage in flash file

    Ok i created my flash intro animation and at the end of the
    movie i want it to automatically load to a webpage
    http:www.eaglechassis.com/index1.php does anyone know how i can do
    this. Thanks for anyones help in advance

    getURL("
    http://www.eaglechassis.com/index1.php");
    on the last frame of the intro.
    cheers,
    blemmo

  • Trouble inserting text into JEditorPane

    Hello.
    I am trying to use a URL Connection and the read method to produce an HTML page in a JEditorPane.
         purlRec is a data record that contains information relating to the URL in question.
         pis is an input stream create from the URLConnection.getInputStream() method
    private void loadFromURL(UrlRecord purlRec, InputStream pis ) {
    URL url;
    String tmpStr = (String)purlRec.getUrlName();
    String baseUrl = (String)purlRec.getUrlName();
    setContentType("text/html");
    try {
    HTMLDocument doc = (HTMLDocument)getDocument();
    doc.setBase(new URL(baseUrl));
    this.read(is,doc);
    repaint();
    catch (Exception e) {
    System.err.println("Couldn't create URL: " + tmpStr);
    System.out.println("error:"+e.getMessage());
    I get the following when I execute the code. Am I not using this correctly or is there something I am missing? I am using the read from input stream so that I can connnect to url that require authentication. I know that the URL connection works because I am able to write the output of the stream to a text file in a test function.
    Couldn't create URL: http://www.google.com
    java.lang.RuntimeException: Must insert new content into body element-
         at javax.swing.text.html.HTMLDocument$HTMLReader.generateEndsSpecsForMidInsert(HTMLDocument.java:1878)
         at javax.swing.text.html.HTMLDocument$HTMLReader.<init>(HTMLDocument.java:1854)
         at javax.swing.text.html.HTMLDocument$HTMLReader.<init>(HTMLDocument.java:1729)
         at javax.swing.text.html.HTMLDocument$HTMLReader.<init>(HTMLDocument.java:1724)
         at javax.swing.text.html.HTMLDocument.getReader(HTMLDocument.java:125)
         at javax.swing.text.html.HTMLEditorKit.read(HTMLEditorKit.java:228)
         at javax.swing.JEditorPane.read(JEditorPane.java:504)
         at javax.swing.JEditorPane.read(JEditorPane.java:478)
         at com.UrlChecker.panels.HTML.EditorPane._$34246(EditorPane.java:105)
         at com.UrlChecker.panels.HTML.EditorPane.changeUrls(EditorPane.java:142)
         at com.UrlChecker.demo.UrlChecker.changeHtml(UrlChecker.java:131)
         at com.UrlChecker.panels.Report.URLTabView.mouseClicked(URLTabView.java:91)
         at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:208)
         at java.awt.Component.processMouseEvent(Component.java:5096)
         at java.awt.Component.processEvent(Component.java:4890)
         at java.awt.Container.processEvent(Container.java:1566)
         at java.awt.Component.dispatchEventImpl(Component.java:3598)
         at java.awt.Container.dispatchEventImpl(Container.java:1623)
         at java.awt.Component.dispatchEvent(Component.java:3439)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3450)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3174)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3095)
         at java.awt.Container.dispatchEventImpl(Container.java:1609)
         at java.awt.Window.dispatchEventImpl(Window.java:1585)
         at java.awt.Component.dispatchEvent(Component.java:3439)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:450)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
    error:Must insert new content into body element-
    Thank you

    I tried using this, but I get an UNAUTHORIZED Status code (401) indicating request requires HTTP authentication. ( HttpServletResponse error code ). This is why the encoded authentication is used. It works when I try to just read from the url using an InputStream but not when I try passing the same InputStream to the JEditorPane.
    Any Idea of how to use JEditorPane.read(InputStream in , Object desc) or why it would work in one instance and not in the other?
    Thanks

  • HELP - Trouble inserting

    Why does dreamweaver close when trying to insert items such as images, swf etc.
    When i try to insert things such as images or swf files in dreamweaver cs6, the program just closes. I go insert > image (click on it) and it just closes. No crash information etc (windows 7).
    I tried reopening dreamweaver and trying to insert image, but closes again.
    I tried restarting the computer and opeing dreamweaver to insert image, but closes.
    Any suggestions?

    Which version of DW?
    Are you working with Valid HTML Code?
         Code Validation Tools
         CSS - http://jigsaw.w3.org/css-validator/
         HTML - http://validator.w3.org/
    Does this happen in all sites/pages or just one?
    What happens if you make a new page -- File > New > Blank > HTML > Layout [none] and insert an image?
    Nancy O.

  • Trouble Inserting Titles & Still Images

    I've ground through FAQ, etc. and maybe I'm not searching for the right terms - so any help is appreciated.
    Here's my situation:
    * I've been working with a PP (CC) project cutting a long video into pieces, re-ordering, etc.  All was well;
    * I started to dork around with AE, but got called to another project - so I think I did not save/keep the AE work;
    * When I opened my PP project again I cannot:
    ** Insert (add to sequence) title slides I made in PP;
    ** "same" for a PSD I imported from Photoshop;
    ** Cannot drag new Adjustment Layers, Color Mattes, etc. onto the sequence after creating them
    * But I can:
    ** Add more video clips
    ** Move titles, etc. around
    ** Execute the standard drag and drop video work
    ** Take (for instance) an Adjustment Layer and make it a new sequence - then the new "Adjustment Layer" sequence will fit right in
    I don't understand why my sequence is only accepting other sequences.  93% chance of pilot error on this one - but I have pushed every button I could try!
    I then opened a new project and everything worked as expected - so I don't think it's a SW issue - something is gumming up the project.
    Any help is very appreciated.
    Barring a "fix" I tried to open a new project and import the "old video" which caused the same issues -
    Thanks - Jeff

    Mark - great questions, sorry for not thinking about them when I posted.
    When I drag from my "project panel" (lower left) to sequence I get the "grabby hand" with the slashed circle [sorry I don't know the actual terms].
    When I "open in source monitor" then try to drag the icon appears.
    When I "open in source monitor" then use the "Insert" (",") command something different happens - it opens a "gap" in the sequence, but doesn't insert anything - and I've zoomed in as far as my + key allows.
    Now - here's where I may be clueless - just noticed then when I made V3 track active and hit "insert" it opened a gap in V1 and V2 as well - I assume it's because I have the Toggle Sync Lock activated.
    Also - when I create a new sequence within the same project - everything works as expected.
    Is there something within a sequence that would cause this?
    Thanks for any ideas - I'm baffled, but very new to Premeier Pro.
    Jeff

  • Trouble inserting a widget into my web page

    Hello,
    I am using DW CS3. I got the html code for a widget (in this case a small banner) to insert into my web page. Here is the code:
    <div>Find <a id="flipkey_best_of_property" href="http://www.flipkey.com/pine-mountain-club-vacation-rentals/g1553621/">Pine Mountain Club Vacation Rentals</a> on FlipKey</div><script type="text/javascript" src="http://data.flipkey.com/widgets/jsapi/36780/fhb/7be5/"></script>
    I inserted a Div Tag in my web page to contain the code (Class: Body; ID: apDiv2), and then pasted the code into the Div Tag. Though I was in Design View, the html code still showed as html code, not as the small banner I had hoped for. Can someone steer me in the right direction?
    Note: I took a web design course 3 years ago and created this web page at the time. I haven't done any web design since then, and have forgotten many of the details, but I should remember as soon as someone points out my errors.
    Thanks!

    If it's been 3 years, a refresher course may be in order. 
    Start here:
    HTML & CSS Tutorials - http://w3schools.com/
    APDivs as a primary layout method seldom works well. Here is why:
    http://apptools.com/examples/pagelayout101.php
    Learn CSS positioning in 10 Steps
    http://www.barelyfitz.com/screencast/html-training/css/positioning/
    How to Develop with CSS?  (a must read!!)
    http://phrogz.net/css/HowToDevelopWithCSS.html
    New Dreamweaver CSS Templates for beginners
    http://www.adobe.com/devnet/dreamweaver/articles/dreamweaver_custom_templates.html
    New DW Starter Pages
    http://www.adobe.com/devnet/dreamweaver/articles/introducing_new_css_layouts.html
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb

  • Trouble inserting photos into iMovie

    I am trying to import some photos into iMovie that I copied from a website. When I try to insert them from a file on my desktop, where I saved them, I only get a portion of the photo. I went back to the folder and opened each picture outside of iMovie and they are complete pictures of high resolution. When I insert them, they turn out to be a part of the photo in low resolution. Ideas?

    You might also try dragging the folder into iphoto and see if they will import there. Then access them from within imovie. If iphoto won't see them then you will need to convert them like was already suggested.

Maybe you are looking for

  • Is it possible to lock the keyboard of a client from a server using java

    please explain wheterit is possible to lock the keyboard of a client from a server using java

  • Create attributes for BP in CRM

    Hi, I am creating a new BP in CRM and I need to add the marketing attributes to the BP.  I am using the below BAPI's but the marketing attributes is not working depsite it returning the assignemtn created message, and despite otehr future GET bapis'

  • No longer able to move individual windows to different desktops.

    Recently ran into an issue, where I couldn't not move open applications between windows.  For example, I have iMail running in Desktop 1, and wanted to copy a single piece of email to Desktop 2, where I have a web browser running.  In another example

  • Error connecting to shared variable OPC item

    I have a DSC application that has a bunch of shared variables.  Some of those variables are bound to an OPC server(Eurotherm).  When I place controls or indicators in a VI and bind them to the shared variable, some of them get the "green light" and s

  • Doubt in this program

    Hi folks, I had one small doubt in the below program...      import java.io.IOException; import java.io.PrintWriter; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import ja