Problem with gradient background

When I post my code for the gradient background and view it on the web, I generate a gap of 15 pixels between the stage and the bar tabs on Firefox. Then saw you see the tab bar, then the default color for the background of the scene, and then the phase gradient background. How can I get rid of the gap?
To see the effect, please go to www.arealtaxcut.com/index000.html---ici is the code:


I have add the HTML < Center > < / center > in the .html file.

appeal of CSS in the body tag:has worked in the whole document to the left, but there remained the question of spacing at the top. After further research, this is what I came with and it works like a charm.

Rob Dillion Merci for (1) your answer quick and (2) for pointing me in the right direction. Very useful.

Tags: Adobe Animate

Similar Questions

  • problem with the background intelligent transfer service

    My computer is current only. I checked to see if a problem happens and ran the following messages:
    Potential of database of Windows Update Error 80070002 detected 0 x
    Windows Update needs to be repaired
    Problem with (BITS) Background Intelligent Transfer Service
    I'm using Windows 7 Home Basic Edition
    Service Pack 1
    64-bit operating system

    reference http://support.microsoft.com/kb/910336

  • Problems with gradient fill.

    Problems with gradient fill. Do not know how to choose the gradient circles between outer circles still especially when there are more than 3 colors.

    Screenshot_2014-11-23-21-52-16.jpg

    Hello

    It should be a little easier than trying in landscape orientation. Who help me?

    Thank you

    Ignacio

  • Problem with css background

    Hey guys, I have a problem with a code. I have some divs nested inside a container for body copy dive, but I have a problem with the background of the div container behind the nested divs. I have this problem with the background, when am I going to float the nested divs.

    Here's a copy of my html code as well as a copy of my related css stylesheet.

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Welcome to Optimus Lens</title>
    <link href="style.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript">
    function MM_swapImgRestore() { //v3.0
      var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
    }
    function MM_preloadImages() { //v3.0
      var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
        var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
        if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
    }

    function MM_findObj(n, d) { //v4.01
      var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
        d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
      if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
      for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
      if(!x && d.getElementById) x=d.getElementById(n); return x;
    }

    function MM_swapImage() { //v3.0
      var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
       if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
    }
    </script>
    <style type="text/css">
    #sector {
         background-repeat: no-repeat;
         background-position: left;
         width: 869px;
         margin-top: -51px;
         margin-right: auto;
         margin-bottom: 0;
         margin-left: auto;
    }
    #oag {
         width: 574px;
         margin-left: 23px;
         float: left;
         /* [disabled]position: relative; */
    }
    #small_col {
         width: 279px;
         margin-right: 23px;
         float: right;
         /* [disabled]position: static; */
    }
    </style>
    </head>

    <body onload="MM_preloadImages('images/home_over.jpg','images/our_mission_over.jpg','images/products_over.jpg','images/news_over.jpg','images/order_over.jpg','images/contact_over.jpg')">
    <div id="CONTAINER">
           <div id="header"><img src="images/header_top.png" width="916" height="39" />
           <img src="images/header_logo.jpg" width="916" height="95" />
          <img src="images/header_image.jpg" width="916" height="266" />
           <img src="images/header_bar.jpg" width="916" height="9" />
    </div>
     
          <div id="menuContainer">
       
         <!-- NAVIGATION -->
            
                    <ul>
                    <li>
                    <img src="images/fold_left_top.png" width="22" height="35" /><img src="images/menu_left.jpg" width="197" height="35" />
                    </li>
                    <li>
                        <div class="menu n1"><a href="index.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('home','','images/home_over.jpg',1)"><img src="images/home_up.jpg" alt="home" name="home" width="66" height="35" border="0" id="home" /></a></div></li>
                    <li>
                      <div class="menu n2"><a href="mission.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Our Mission','','images/our_mission_over.jpg',1)"><img src="images/our_mission_up.jpg" alt="Our Mission" name="Our Mission" width="124" height="35" border="0" id="Our Mission" /></a></div></li>
                    <li>
                        <div class="menu n3"><a href="products.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Products','','images/products_over.jpg',1)"><img src="images/products_up.jpg" alt="products" name="Products" width="98" height="35" border="0" id="Products" /></a></div></li>
                    <li>
                        <div class="menu n4"><a href="news.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('News','','images/news_over.jpg',1)"><img src="images/news_up.jpg" alt="News" name="News" width="77" height="35" border="0" id="News" /></a></div></li>
                    <li>
                        <div class="menu n5"><a href="order.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Order','','images/order_over.jpg',1)"><img src="images/order_up.jpg" alt="Order" name="Order" width="77" height="35" border="0" id="Order" /></a></div></li>
                    <li>
                      <div class="menu n6"><a href="contact.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Contact','','images/contact_over.jpg',1)"><img src="images/contact_up.jpg" alt="Contact" name="Contact" width="80" height="35" border="0" id="Contact" /></a></div></li>
                    <li>
                      <img src="images/menu_right.jpg" width="197" height="35" /><img src="images/fold_right_top.png" width="22" height="35" /> </li>
                    </ul>
       
          </div>
           <div id="header_bottom"><img src="images/fold_left_bottom.png" width="22" height="38" /><img src="images/header_bottom.jpg" width="916" height="38" /><img src="images/fold_right_bottom.png" width="22" height="38" />
        </div>

         <div id="bodycopy">
           <div id="sector">
          <img src="images/home/sector_top.png" width="869" height="341" alt="sector frames" />
          </div>
         
           <p> </p>
         
           <div id="oag">
          <img src="images/home/oag_join.png" width="574" height="281" alt="save with oag" />
          <p> </p>
          <img src="images/home/bottom.png" width="574" height="132" />
          </div>
         
          <div id="small_col">
          <img src="images/home/optimize_small.png" width="279" height="132" />
          <p> </p>
          <img src="images/home/intuition_small.png" width="279" height="132" />
          <p> </p>
          <img src="images/home/intuition_small.png" width="279" height="132" />
          </div>
         </div>

        <div id="footer"><img src="images/footer.png" width="916" height="52" />
      </div>
    </div>
    </body>
    </html>

    body {
         margin: 0px;
         background-image: url(images/background_fade_04.jpg);
         background-repeat: repeat-x;
         background-position: top;
         background-color: #DCDCDC;
         font-family: Arial, Helvetica, sans-serif;
         font-size: 13px;
    }
    #box1 {
         background-image: url(images/bodycopybox_01.png);
         background-repeat: no-repeat;
         background-position: left;
         height: 54px;
         width: 869px;
         margin-top: 0;
         margin-right: auto;
         margin-bottom: 0;
         margin-left: auto;
    }

    #box2 {
         background-image: url(images/bodycopybox_02.png);
         background-repeat: repeat-y;
         background-position: left;
         width: 869px;
         margin-top: 0;
         margin-right: auto;
         margin-bottom: 0;
         margin-left: auto;
    }
    .bodycopybox {
         padding-right: 40px;
         padding-left: 40px;
    }
    .bodycopyboxheader {
         padding-right: 40px;
         padding-left: 40px;
         font-weight: bolder;
         font-family: Arial, Helvetica, sans-serif;
         font-size: 14px;
         color: #21368b;
    }



    #box3 {
         background-image: url(images/bodycopybox_04.png);
         background-repeat: no-repeat;
         background-position: left;
         height: 31px;
         width: 869px;
         margin:0 auto;
    }

    #box4 {
         background-image: url(images/bodycopybox_03.png);
         background-repeat: no-repeat;
         background-position: left;
         height: 31px;
         width: 869px;
         margin:0 auto;
    }

    p {
         margin: 0px;
    }

    #header_bottom {
         width: 960px;
         margin:0 auto;
    }

    #CONTAINER {
         width: 100%;
         margin:0 auto;
    }
    #header {
         width: 916px;
         margin:0 auto;
    }
    #menuContainer {
         width: 960px;
         margin:0 auto;
         height: 35px;
    }
    #menuContainer ul{
         list-style:none;
         height:35px;
         margin:0;
         padding:0;
    }
    #menuContainer li{
         float:left;
         height:35px;
         margin:0;
         padding:0;
    }
    #menuContainer li a{
         text-align:center;
         float:none;
         height:35px;
         margin:0;
         padding:0;
    }
    div.menu{position:relative;}
    .n1{
         width:66px;
         float:left;
         display:inline-block;
         clear:both;
    }
    .n2{
         width:124px;
         float:left;
         display:inline-block;
         clear:both;
    }
    .n3{
         width:98px;
         float:left;
         display:inline-block;
         clear:both;
    }
    .n4{
         width:77px;
         float:left;
         display:inline-block;
         clear:both;
    }
    .n5{
         width:77px;
         float:left;
         display:inline-block;
         clear:both;
    }
    .n6 {
         width:80px;
         float:left;
         display:inline-block;
         clear:both;
    }
    #bodycopy {
         background-color: #FFFFFF;
         width: 916px;
         padding: 0px;
         margin-top: 0;
         margin-right: auto;
         margin-bottom: 0;
         margin-left: auto;
    }
    #footer {
         width: 916px;
         margin:0 auto;
         padding: 0px;
    }

    Hey guys, I have a problem with a code. I have some divs nested inside a dive of container for the body copy, but I have a problem with the background of the div container behind the nested divs. I have this problem with the background, when am I going to float the nested divs.

    I come to this quote.  The background of this div container is set to white (#FFF).  The other 3 that are nested inside have no defined background.  There are images placed inside them, but nothing of what happened to the bottom, so if it is empty it should inherit the parent container which is white.

    Can you show us a screenshot or view the page online for testing?

  • Problems with a background image using as a model in gradient mesh

    So, basically, I am DETERMINED to learn how to use the gradient in 5.1 mesh.  I tried to do this well known exercise of red pepper (I will give the URL if someone did not.) Everything was fine until I actually tried to use the jpg background pepper itself in mode plotted as a template. The idea is to pick up the colors of the model of the pepper and then use them as color gradient mesh. No matter how I tried to make fool that just would not work. Here is a copy of a post that someone else is on this exact issue in 2012:

    If you are working on a gradient mesh and use image model as a guide, you want to work in the outline preview, so you can see the art underlying to determine wht you establish and also it allows then to use the Eyedropper to sample the color of the actual photo, so it can be translated to the mesh and you can simply switch to preview mode to check your progress.

    Very handy when you are working with gradient meshes if you use and which underlies the model to translate into art.

    (I can find the author and the URL for the quote if necessary)

    That sounds good, but sampling of the color of the photo and then actually use it on the mesh gradent points just don't seem to work for me. If they did the job for the tutorial of pepper, then there clearly must be a way! But I was not able to find it, and I spent an insane amount of time on it. any suggestions appreciated!

    RealAnise wrote:

    the mesh layer and the embedded layer are going in and out of mode plotted as a single unit. I tried each selected, locking and unlocking each, dating back to the modes associated, etc.. I can not even put just a layer mode plotted.

    Make sure you have two separate layers (not two sublayers within the same layer). To put just the layer of mesh in tracks mode, command (window: Ctrl)-click on the eyeball. See screenshot:

  • Problem with the background and the development

    Hi people!

    I have a little problem with my request, in this application, I have a background (bitmap) and 6 icons (bitmap) focusable.

    OK all going well but the problem is when I move the focus and the first and the last icon gets a white Home > _

    I don't know how to explain it better, but is simple, for example im on the first icon from the left and move to the left, another time and this Dungeon icon the focus but the focus changes to white, on the last icon is the same movement as the focus to the right (the last icon is on the right) and the focus change again in white... , where to move the focus icon back to normal.

    Usually, the icons have image development, I added this to the bitmapfield and eliminated the blue accent.

    protected void (_g, Boolean _on Graphics) drawFocus {//do nothing}

    Hello

    Replace your inside your BitmapField drawFocus() method (free and Ocupado) as below:

    protected void drawFocus(Graphics _g, boolean _on)
    {
         paint(_g);
         invalidate();
    }
    

    Concerning

    Bika

  • I have a problem with the background update

    I pushed on Adobe Acrobat Reader DC via MSI for all my workstations that are Windows 7 machines.  The installation went without any problems, but I didn't know that the program updates automatically and it is in the diary of the events of these errors.  Product: Adobe Acrobat Reader DC - update '{AC76BA86-7AD7-0000-2550-AC0F084E7200}' could not be installed. Error code 1625. Windows Installer can create logs to help solve the problems with the installation of software packages.  Is there a way I can either A) disable these automatic updates or B) force these updates to cross even without administrator privileges?

    Hi orangejake1990,

    Disable you updates in Acrobat Reader ms, please refer to this link Windows updates.

    Otherwise, you can manually download the updates Adobe - Adobe Reader: for Windows & push.

    Kind regards

    Nicos

  • PROBLEM WITH BITS (BACKGROUND INTELLIGENT TRANSFER SERVICE) AND WINDOWS ~ $BT IS NOT CREATED EVEN AFTER ALMOST 25 DAYS OF RESERVE WIN 10 COPY THROUGH "GWX.

    Hey, I heard that the problem was actually the service "background intelligent transfer service" has been collapsed don't know when and how it was stopped. I STARTED THE YESTERDAY(12-OCT-2015) SERVICE AND SET IT TO AUTOMATIC (PREVIOUSLY HAS BEEN SET TO MANUAL). THAT IS WHY I HAVE NOT FOUND THE WINDOWS ~ $BT FOLDER SINCE I RESERVED(18-SEP-2015). I CAN'T EVEN TODAY (13 OCTOBER 15). I HAVE a PROBLEM HERE, THAT PIECES OF ROUND BUT AFTER 2 OR 3 BOOTS, IT BECOMES AUTOMATICALLY ARRESTED AND SET to AUTOMATIC (DELAYED START), that - what THIS MEANS? HOW TO MAKE IT (BITS) ON FOREVER. PLEASE HELP PLEASE HELP? WILL NEVER GET MY FREE COPY OF WINDOWS 10 THROUGH 'GET WIN10 APP '. PLZ ANSWER. PLEASE.

    Hello

    Thanks for posting your query to the Microsoft forum.

    I appreciate your efforts to try to solve the problem and I will definitely help you with this.

    BITS may stop if there is corruption in the Windows files, we can try these methods to solve them.

    Method 1: Run SFC scan

    I suggest that you can exercise SFC scan and check if that helps. The sfc/scannow command analyzes all protected system files and replaces incorrect versions with appropriate Microsoft versions. It is a Windows utility that allows users to find corruptions in Windows system files and restore the damaged files.

    See the link: use the File Checker system to repair missing or corrupted system files

    If this does not help, follow method 2.

    Method 2:

    Please try these steps below and check:

    1. Press the Windows key on the keyboard
    2. Type command line
    3. Right click on and run as administrator

    Step 1: Run the following command at the command prompt with administrative mode.

    SC create BITS binpath: "c:XwindowsXsystem32Xsvchost.exe - k netsvcs" start: delayed-auto

    Step 2: Run these commands one by one in the box RUN or 'Command Prompt'

    regsvr32 oleaut32.dll

    regsvr32 jscript.dll

    regsvr32 vbscript.dll

    regsvr32 msxml.dll
    regsvr32
    softpub.dll
    regsvr32 wintrust.dll

    regsvr32 initpki.dll

    regsvr32 cryptdlg.dll

    regsvr32 qmgr.dll

    regsvr32 qmgrprxy.dll

    Step 3: Restart computer

    You can also download the Windows 10 from the link below and check.

    Download Windows 10 and run the installer from the desktop.

    Note: I strongly recommend to back up all your important files and folders on an external storage device before performing the installation.

    Please post back with the results. We will be happy to help you further.

    ________________

    Thank you best regards &,.

    Isha Soni

  • Problems with transparent background images

    Hello!

    I have a transparent background (in PNG format) image and when I import it in first, is displayed with a black background. How to solve this problem? Could you help me, please?

    Transparency in the dark shows.

    Put an image under the image in the timeline to check if they have really no transparency.

  • problem with layer background

    This happened about 3 weeks ago.  I have scanned the internet and have not found any problem like this.  It may be something simple that I'm just missing.  The problem is when I open a pix or anything and click to crop or resize, I lose my background layer that has the lock on it.  For some reason any as soon as I get anything, it immediately becomes the first layer and my background layer has disappeared.  Yes, every time when I go to save something (unless, of course, I didn't have to crop or resize), I always flatten image first to get it as a jpg.  I need my coat because I work with layers a lot and it will become more difficult now.  Anyone know why this could happen or what do I do next?  Thanks in advance!

    PS... someone please answer because I posted this on other places and I have never answers.  I don't have an issue with redownloading photoshop, but I am only the monthly fee of photographer and cannot find where to download it again since I did that once already.

    I think that your problem is related to not have Delete the cropped Pixels checked in the toolbar options for the crop tool.

    Delete with cropped uncontrolled Pixels, photoshop will unlock the background layer, if it is the only layer in your document.

    (turn the background layer to a regular layer Layer)

  • Problems with Gradient banding

    I'm having some trouble with the tool gradient in Illustrator and I hope that someone can help you. No matter what I do I can not get a smooth mixture color there are still bands or rings. As you can see I have two colors in my gradient and the Gradient slider is in the Middle, but I get a lot of the first color with a rapid transition in the second color. This happens no matter what colors I use I just took these two because they are easier to see the lines. The same thing occurs when I print my moniter is not. My mix options are set on colors. It happens anywhere is my gradient annotator. I've never had this problem before and I don't know what else to try!  Any suggestion would be appreciated!gradient.PNG

    I guess the color mode is part of the problem. The tutorial is most likely done in RGB while the TO working in CMYK mode.

  • Problem with the background color of a disabled control

    I have a few controls on the top a box colored and elevated. When I disable and gray (round button) control an adverse change occurs in the background color of the control-it gets surrounded by a grey version of the color of the raised area. I would like that the bottom remains the same as it does on the default gray Panel.

    I looked through all of the properties, but can't seem to change this behavior.

    Thanks for the link, looks that it may have been fixed now for controls tab (?) but no decorations. The solution is to use a tab control to single page with no tab, rather than a raised area. The difference in behavior can be seen in the joint, if we look carefully it is always a small amount of color change surrounding control disabled on the tab.

  • Problem with the background color setting

    Hello

    I have the following code

    public class Loading_Menu extends MainScreen {
        public Loading_Menu()
        {
            MainScreen newScreen = new MainScreen(Manager.NO_VERTICAL_SCROLL|Manager.NO_VERTICAL_SCROLLBAR);
            VerticalFieldManager backgroundManager = new VerticalFieldManager(Manager.USE_ALL_WIDTH|Manager.USE_ALL_HEIGHT)
            {
                protected void paint(Graphics graphics) {
                    graphics.setBackgroundColor(Color.BLACK);
                    graphics.clear();
                    super.paint(graphics);
                }
            };
            Bitmap appLogo = Bitmap.getBitmapResource("Breakout_Logo.png");
            BitmapField bmf = new BitmapField(appLogo, BitmapField.FOCUSABLE)
            {
                protected boolean navigationClick(int status, int time)
                {
                    Main_Menu myMethod = new Main_Menu();
                    myMethod.createAndDisplayMainMenu();
                    close();
                    return true;
                }
            };
    
            int leftMargin = (Display.getWidth() - bmf.getBitmapWidth()) >> 1;
            int topMargin = (Display.getHeight() - bmf.getBitmapHeight()) >> 1;
            bmf.setMargin(topMargin, 0, 0, leftMargin);
            add(bmf);
            newScreen.add(backgroundManager);
        }
    }
    

    My goal is to show the bitmap in the center of the screen and have a black background behind the image. in its current form the image shows in the Center, but the screen remains white. Can someone explain and point out my mistake?

    Thank you

    Hi Peter,.

    no problem, here is how I solved the problem. I just added an override of the method paint and this placed in a vertical field Manager

    VerticalFieldManager backgroundManager = new VerticalFieldManager(Manager.USE_ALL_WIDTH|Manager.USE_ALL_HEIGHT|Manager.NO_VERTICAL_SCROLL|Manager.NO_VERTICAL_SCROLLBAR)
            {
                protected void paint(Graphics graphics) {
                    graphics.setBackgroundColor(0x0000A2E8);
                    graphics.clear();
                    super.paint(graphics);
                }
            };
    
            LabelField lb = new LabelField("Hello");
            backgroundManager.add(lb);
    
            add(backgroundManager);
    
  • Problem with gradient above / on a block of text scrolling...

    Hello!

    I added a gradient (with one side transparant) above / on top of a block of text scrolling...

    However, when I go through the folio on my Tablet I don't see the gradient...

    Is there a way can I fix? Thanks in advance!

    Convert the gradient a MSO set to play once and stop on the last slide.

  • Problem with overlapping background animation loop

    I recently found a great extract AC code that allows a smooth looping animation.

    The only problem is that animation looping sometimes will show on top of all my other layers even if the layer in the middle. Since it is an Action Script, I am safe to assume I need something here to tell him to stay near the Middle, somehow.

    I tried to fix this, but continue to receive randomly pause and thought that I would like to ask the community.

    It's my current setup

    Starts on Scene1, then move on to the next scene 2 after 25 images

    • Presentation (25 images long) layer
    • Grid (Action Script below) loopback * Overlaping all layers
    • Static background (never moves) * who need the animation just above this layer

    The speed of the scroll movement.

    var scrollSpeed:uint = 2;

    This will add two instances of the clip on the stage.

    var s1:ScrollBg = new ScrollBg();

    var s2:ScrollBg = new ScrollBg();

    addChild (s1);

    addChild (s2);

    This positions the movieclip second next to the first.

    S1.x = 0;

    S2.x = s1.width;

    Adds an event listener to the stage.

    stage.addEventListener (Event.ENTER_FRAME, moveScroll);

    This function moves the two images on the left. If the first and second

    images will pass the limit of the left scene then it is moved to

    the other side of the stage.

    function moveScroll(e:Event):void {}

    S1.x = scrollSpeed;

    S2.x = scrollSpeed;

    If (s1.x <-s1.width) {}

    S1.x = s1.width;

    } ElseIf (s2.x <-s2.width) {}

    S2.x = s2.width;

    }

    }

    If someone could help me understand why this is the case, I would be most grateful and thankful.

    If I need to show my work, I can provide a link if asked.

    Thank you

    TDR

    a way to do what you want is to place a dummy movieclip on the layer where you want as your bg s to appear.  give it an instance name (for example, bgParent) and use:

    bgParent.addChild (s1);

    bgParent.addChild (s2);

Maybe you are looking for