DW bug? Not clearing floats via overflow:hidden

OK so I think I found a bug in Dreamweaver CS3's Design View.
I have been using an alternative technique to clear floats using
overflow:hidden. It's not a new technique but it is very clean. You
can read about it here:
http://www.quirksmode.org/css/clearing.html
I believe the technique is valid, standards-compliant and
rendered by all modern browsers. What happens in DW is that the
floats are not cleared, and the containing box collapses. Here's
some very basic code to test it:

It's a well known flaw in CS3 and earlier Design view. It's
fixed in CS4.
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
==================
"sly one" <[email protected]> wrote in
message
news:g5ip1q$90r$[email protected]..
> OK so I think I found a bug in Dreamweaver's Design
View. I have been
> using an
> alternative technique to clear floats using
overflow:hidden. It's not a
> new
> technique but it is very clean. You can read about it
here:
>
http://www.quirksmode.org/css/clearing.html
> I believe the technique is valid, standards-compliant
and rendered by all
> modern browsers. What happens in DW is that the floats
are not cleared,
> and the
> containing box collapses. Here's some very basic code to
test it:
>
>
> <!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>Clear Floats with Overflow
Hidden</title>
> <style type="text/css">
> <!--
> body{
> font-family: Arial, Helvetica, sans-serif;
> }
> div.container {
> border: 1px solid #000000;
> overflow: hidden;
> width: 100%;
> }
>
> div.left {
> width: 45%;
> float: left;
> background:#FF9900;
> }
>
> div.right {
> width: 45%;
> float: right;
> background:#FF9900;
> }
>
> -->
> </style></head>
>
> <body>
>
> <div class="container" style="overflow: hidden;
width: 100%">
> <div class="left">
> <p>The left column.</p>
> <p>The left column.</p>
> <p>The left column.</p>
>
> <p>The left column.</p>
> </div>
> <div class="right">
> <p>The right column.</p>
> <p>The right column.</p>
> <p>The right column.</p>
> </div>
>
> </div>
>
> </body>
> </html>
>

Similar Messages

  • GR IR not clearing via ERS

    We have a number of old inter-company documents  for the one of our plants sitting in the GR/IR that have not cleared via ERS.  Please help me in finding the reason for not getting these cleared.

    Sometimes GRIR does not happen because the material documents gets updated in table ZZEKRS.
    The material number apperaing in this table are not picked up while running MRER
    You need to run a program to clear the entries in this table(Program:ZZ_DELETE_ZZEKRS).
    This is a correction program provided by SAP as part of *SAP Note 680459
    This program should be svheduled before running the MRER job,so that it clears the entries before the MRER batch job.
    Arvind

  • Document.body.style.overflow = 'hidden' not working. page continues to scroll

    <html>
    <head>
    <style>
    body { overflow: hidden; width: 600px; height: 6000px; }
    </style>
    </head>
    <body>
    any text
    </body>
    </html>
    on this page disabled scrolling, but in firefox for android its not working.

    Hi Christian,
    I have changed it to px. But now I am getting the following error.
    java.lang.NullPointerException
    at com.sun.deploy.security.CPCallbackHandler.isAuthenticated(Unknown Source)
    at com.sun.deploy.security.CPCallbackHandler.access$1300(Unknown Source)
    at com.sun.deploy.security.CPCallbackHandler$ChildElement.checkResource(Unknown Source)
    at com.sun.deploy.security.DeployURLClassPath$JarLoader.checkResource(Unknown Source)
    at com.sun.deploy.security.DeployURLClassPath$JarLoader.getResource(Unknown Source)
    at com.sun.deploy.security.DeployURLClassPath.getResource(Unknown Source)
    at sun.plugin2.applet.Plugin2ClassLoader$2.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.plugin2.applet.Plugin2ClassLoader.findClassHelper(Unknown Source)
    at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
    at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
    at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
    at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at com.sap.xmii.applet.common.BaseApplet.stop(BaseApplet.java:1408)
    at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Also my loading image is not appearing?
    Regards
    R.Prakash

  • Overflow hidden not working

    Hey,
    I'm in need of disabling scroll on body, and enabling it on div that appears on top.
    I'm setting on body overflow: hidden;
    and on div that show on top overflow: auto;
    it works in all major mobile browsers, but in firefox it does not.
    I've addded an image which represents my problem
    black frame is viewport
    red box is body with overflow:hidden
    cyan box is div with overflow:auto
    here's jsfiddle with an example: http://jsfiddle.net/gwhkLnbu/1/
    on firefox mobile you can scroll the red div, but you cant do it on any other browser

    ''adwil [[#answer-710932|said]]''
    <blockquote>
    Hey,
    Right now my site is working with something like this in CSS:
    html.noscroll, body.noscroll {
    overflow: hidden;
    you have to add noscroll class to both body and html then it does basically same thing as overflow hidden just on body in other browsers
    </blockquote>
    Thanks. That doesn't solve my problem though. I would like to scroll on all the pages, as it is necessary. I just don't want an excessive amount of space under my content in firefox .

  • When clearing all recent History, data in find menu is not cleared. Is this a bug?

    When clearing all recent History, data in find menu is not cleared. Is this a bug?

    Hi Tas_n,
    The following help page will help you clear the cache which will get rid of your search history.
    [https://support.mozilla.org/en-US/kb/How%20to%20clear%20the%20cache?s=cant+clear+Find&r=4&e=es&as=s How to clear the cache]
    Further down on the webpage this can be set to clear automatically.
    Kind regards
    bouncer1966

  • History in my search bar will not clear even though I have selected all the appropriate settings under tools/privacy etc. Is this a Firefox bug or am I doing something wrong?

    No additional details - just can't figure out why the search history will not clear.

    when i go to Music > Artist > All, as you suggested, i see all the albums i have listed. doesn't really relate to my problem with artists with songs in one album, as well as song w/o album set, and the latter not showing up.
    but that reminds me, why is it when i go to the All section from a particular artist and they do have more than one album (or even no albums), the order of the songs is in the order they are in the albums.. if i wanted the order it is on albums, i would have selected that album for example.. it would be nice if the songs were in alphabetical order when you're NOT browsing by album, making a particular song easier to find (what if you have thirteen albums for example and u aren't sure which album a song is on, now you have to scroll through a seemingly random ordered list to find one song, alphabetical would be SOOOO helpful!)

  • Can't edit in Design tab - "overflow: hidden (double-click to edit)" - cause, remedy?

    In the Design tab, the content of some web pages becomes uneditable (where it had previously been editable), even though it is in an editable region in the template. All of the uneditable text has a black background. When the cursor is floated over this text a popup gives the message "overflow: hidden (double-click to edit)". (Note: the text is still editable in the Code tab.) Double clicking in the Design tab often doesn't do anything but sometimes corrects the problem. The following also didn't help:
    1. Making revisions in the Code tab and then refreshing. (The revisions show up in the Design tab but the text there is still uneditable.)
    2. Closing and reloading the page.
    The content of other pages that use the same template remains editable.
    What causes this problem?
    What is the best method to prevent it and correct it?
    DW CS6
    Win7 x64
    Thanks,
    Don C.

    The problem is always a side-effect of the use of the overflow:hidden style. So why use it? It's tremendously valuable as a way of clearing floats inside a container, rather than adding a float clearing page element. And besides, if you can still edit the content in Code view, why worry? Anyhow, paste this into a new HTML page and try it.
    <div style="height:100px;overflow:hidden;">
    <p>This content will not be editable without double clicking on it. Furthermore, any floats contained within this div will be cleared before closing the div, allowing the div to completely wrap its contents.</p>
    <p>This content will not be editable without double clicking on it. Furthermore, any floats contained within this div will be cleared before closing the div, allowing the div to completely wrap its contents.</p>
    <p>This content will not be editable without double clicking on it. Furthermore, any floats contained within this div will be cleared before closing the div, allowing the div to completely wrap its contents.</p>
    <p>This content will not be editable without double clicking on it. Furthermore, any floats contained within this div will be cleared before closing the div, allowing the div to completely wrap its contents.</p>
    </div>
    In Design view, you will only see two paragraphs. When you click in either of those two paragraphs, you will not be able to edit anything. When you double click you will see the div expand to show all 4 paragraphs, and you will then be able to click and edit at will.

  • Problem clearing floats

    Here is an interesting problem. My page has a left sidebar, which is obviously floated left. In the main part of the page, I want to float an image so the descriptive text will be next to it rather than below it. I have multiple images to do this with. So, if I try and clear the left float, the images nest to the right of the previous image, crowding up underneath the text. This is not desirable. If I clear the left float, it puts the next image at the bottom of the left sidebar, also not desirable. Only the footer should go below the left sidebar. I have checked in a css book, it gives a couple ideas, but they don't work as their examples are not for nested floats like this.
    Any ideas? Here is the page: http://www.hainingfamily.com/media.php
    Thanks,
    Mike

    Include your anchor within the <div> too. Ive renamed the <div> class 'pictureLink'
    <div class="pictureLink">
    <img src="images/TheHainingFamilyPromoPic.jpg" alt="color picture" width="90" height="60" />
    <a href="images/thehainingfamilypromopic.jpg" target="_blank">Color Picture in jpg format (546KB)</a>
    </div><!-- end pictureLink -->
    <div class="pictureLink">
    <img src="images/TheHainingFamilyPromoPic.jpg" alt="color picture" width="90" height="60" />
    <a href="images/thehainingfamilypromopic.jpg" target="_blank">Color Picture in jpg format (546KB)</a>
    </div><!-- end pictureLink -->
    Then use this css to 'clear' and 'flloat' the image left.
    .pictureLink {
    width: 280px;
    overflow: hidden;
    margin: 0 0 10px 0;
    .pictureLink img {
    float: left;
    No need then for your <br class="clrlft" />. Overflow: hidden; on the .pictureLink <div> forfills that purpose and makes the code cleaner and easier to manage.

  • Safari 2.0.4 doesn't like overflow hidden

    My Safari version 3.0.4 (523.12.2) working as expected; having problems with 2.0.4 and later.
    I have a flash container that opens over the rest of the page and then collapses back into a smaller space. The html area that my flash movie floated over when it was opened is no longer clickable after collapse. I called a javascript function from flash to collapse the div back to its original state and it works in all browsers except Safari 2.0.4 and later.
    The one line called in the javascript function:
    document.getElementById('divname').style.overflow="hidden";
    Only problem is Safari version 2.0.4 and later do not appear to support this, yet all the documentation says it should not be an issue. Does any one have any suggestions on getting around this issue?

    Oh right... nothing happens when you rollover the buttons that were once under the flash movie that expanded; the hover and click do not work. I tried a z-index fix, but it slides my movie back behind the other components on the page and then is no longer visible. The overflow hidden fix works on all browsers except Safari 2 and later for some reason. It's quite bizarre.
    Thanks!

  • Background div do not support floating divs

    I've created quite simple construction, but it doesn't work in way I want to.
    I have wrapper which do not wrap up the floating divs placed in it as it should -
    it shrinks to base size (top and bottom corners) and stays like that while floating substances maintain previously defined positions - only without background...
    Any suggestions how to fix this?
    The construction looks round about like this:
    <body>
    <div> div tag  with height: 5px; contains top corners for layout </div>
    <div class= "opened div tag with backround attributes (color and borders)">
             <div>here comes the floating content (list with style set to: none;)
                   I set it inside the div with background attributes to have floating content wrapped into background color and borders
            </div>
    </div (here i close "background wrapper")>
    <div> div tag with heightL 5px; contains bottom corners for layout </div>
    </body>
    Thanks.

    This is a bit of a shot in the dark but try overflow: hidden; in the CSS rule for your wrapper?
    It would be much easier to see the page.
    Martin

  • APP Open Item Not cleared

    Hi All,
    I have strange issue. automatic payment run is executed and after that i have messgae
    Posting orders: 23 generated, 22 completed
    i have 23 clearing document but one document which is generated its not cleared the open item and even am not finding that
    document no in FB03 t code.
    can you give give me your overview on this issue
    "Posting orders: 23 generated, 22 completed" : Why this type of messgage genarated and what will be the reason
    Thank you

    With reference to the issue reported, as you have noticed the number of generated documents and the number of completed documents are different
    ->  "Posting orders: 23 generated, 22 completed". This is a clear indicator that there was something wrong with the update process and the payment document did not get posted. The reason why you have more documents generated than completed maybe due to update terminations on the executing the payment run. It means one of document was not posted
    in the database. You could find the terminated update using SM13. Here you can find an update termination found via sm13 when user processed the payment.
    Also please review the attached note 86578, especially the third recommendation and payment run processing option number 1. Comparison of 'Completed' orders to 'Generated' orders as stated will result in
    identification of incomplete posting problems. Also check this note 70085 which has very good information:
    If you have such terminations in future and documents were not posted, then please try the following
       F110 menupath: Edit   > Payments   > After termination   >
                      Draw up again.
    Else the correction to be taken is to recreate manually the missing document and update the relevant cleared line items with the
    payment document as the clearing document:
    1.Use report RFVBER00 to find document gaps:
    2.Pay the invoices manually.
    You should be able to avoid double payment by using the below option in the print program i.e.
    You should always select the flag "Payment doc.validation" on running your RFFO* report.
    It gives an option to check if the payment documents are already in the system or not, and if it's not the print program excludes this data for payment.
    Hope this information helps.
    Best Regards
    Soumya

  • CUBE IS NOT CLEARING THE DATA ON CONDITIONAL SCRIPT(ISSUE WITH NULLIFICATIO

    Hi,
    I am using AWM 10.2.0.2.0A and database is 10g Release 2 to build a cube.
    Before the monthly incremental load I need to clear the old data.
    For clearing(Nullifying) the cube I am using the new "Clear" command.
    The Clear command has two options.
    A) clear all the data without using any limits and
    B) clear the current status. The option A is working perfectly fine. The issue
    is when we need to clear only two months of data from the cube and I am using
    Clear STATUS (option B )option.
    After the execution data is not cleared (cube
    is still showing the old data)
    Please find below the program...............
    (The cube is compressed and partitioned by year)
    shw tod
    aw attach olap_cview rw
    limit ORA_PAX_AGT_PRT_MEASDIM to all
    limit ORIGIN to all
    limit DESTINATION to all
    limit FAREBASIS to all
    limit POS to all
    limit DIS_NON to all
    limit int_onl to all
    limit airline to all
    "lmt time to v_time
    lmt time to '01/01/2005'
    rpr time
    "clear all from ORA_PAX_AGT_PRT_TOPVAR *** all data is deleted inspite of the
    above limit
    clear status from ORA_PAX_AGT_PRT_TOPVAR *** Nothing deletes
    upd
    cmm
    dfn junk vrb integer
    junk=1
    upd
    cmm
    junk=2
    upd
    cmm
    dlt junk
    upd
    cmm
    shw tod
    Any one can help me what I have to do to clear the cube.....................

    Hi Thanks for the input,
    I have question.
    I saw your program and my program whatever I submit in the discussion earlier.
    I also using JUNK=1 keyword in my program . The only difference in your program and my program is
    I am declare and assign JUNK=1 after the upd and commit ,In your program its immediately you are decalring and assing JUNK=1 after the clear status and two times JUNK=1 is assigned.
    Please clarify me is this will make any difference to giving the JUNK=1 immediately after clear status and after clear status,up,command....??
    In your program
    ================
    clear status from ORA_PAX_AGT_PRT_TOPVAR *** Nothing deletes
    dfn junk vrb integer *** need these lines (only second one if junk exists)
    junk = 1 *** to work around clear/update bug.
    upd
    cmm
    junk=1
    upd
    cmmjunk=2
    upd
    cmm
    dlt junk
    upd
    cmm
    shw tod
    In My program
    ================
    clear status from ORA_PAX_AGT_PRT_TOPVAR *** Nothing deletes
    upd
    cmm
    dfn junk vrb integer
    junk=1
    upd
    cmmjunk=2
    upd
    cmm
    dlt junk
    upd
    cmm
    shw tod
    This is my query...This update will helpfull for me to before proceeding my test...
    Thanks ,
    Nat

  • Accounting document not cleared when billing document is cancelled.

    Hi,
    In ECC 6.0 when we cancel a billing document through vf11 in vfo3 we find the status as accounting document not cleared.
    The general process is manually going to f-23 and clear customer line items of that invoice. After doing this the status become accounting documet is cleared.
    My requirement is how to cancel the billing document without getting this message (accounting document not cleared) and not clearing the customer line items manually.
    Can it be done through user exit/enhancement or by copying requirement vofm.
    Please suggest.
    Thanks
    Edited by: sumesh on Jul 29, 2009 6:33 PM

    They directly want the accounting document to
       be cleared when billing document is cancelled.
    Though you can achieve this with the help of ABAPer, why dont you consider having a Posting block for your billing type so that as and when the billing documents are generated, you can release it via VFX3 in bulk or VF02 for individual billing document release to FI.
    In order to achieve this, go to VOFA, select your billing type and execute.  There you can see a field "Posting block" where maintain a tick there and save.  With this control, first of all, you can ensure that before releasing F2 billing documents to FI, it is not cancelled.
    thanks
    G. Lakshmipathi

  • How do I highlight text in the new Pages?  It's not clear.

    I have the new version of Pages.  And it appears that highlighting of text is an issue.  This is a basic function.
    I found there is one quick key version, but doesn't clearly explain how to change highlighting colours.  How to get into it.
    I have to explain this to my 80 year old mom, who we told to get a Mac because it was easier!
    So if anyone has it laid out step 1, 2, 3, that would be helpful, because it's not clear to me either.
    Thanks!
    Apple - please to a quick fix for this one, it should be the same as changing the size or the font or like bold or italic.  Simple, clear, fast and doable..... for anyone!

    TO Peter,
    Thanks for the list. I had found it in LibreOffice, tucked away in the Background tab of the Character pane opened by the Character... menu item in the Format menu, and named "Background Color. A few steps further down than in Pages. Apache OpenOffice has it in the same place. But both also have a hilight icon in the toolbar.
    I didn't fin highlighting or Color fill in Text Edit (v1.8). Might need a further search.
    But this well-equipped party of (one) oscurantist did find a shorter path to highlighting text in Pages '09, cleverly hidden in plain view! See the image below.
    TO hscortez,
    I'm aware that changing the text colour is not highlighting.
    But YeOldMacFan pointed out how to change text colour AND how to change background colour of text, using Character fill, found in the Advanced Options (Pages 5) or the More (Pages '09) tab of the Text Inspector.
    Character Fill fills the space around the character with the chosen colour. As shown above, it's essentially the same effect as dragging a hiliter pen along a line of printed text.
    Unfortunately, whats shown above is the Character fill well on the format bar of Pages '09—right out in the open like the highlighter pen button in LibreOffice, and presumeably in MS Word. I don't have Pages 5 (avoiding it until a few more of the missing features arrive), but I do note that Pages for iOS offers highlight as one of the options in the contextual menu that appears when a block of text is selcted.
    The process appears to be:
    tap twice to select some text.
    drag the handles at each end of the selection to adjust what's selected.
    tap Highlight in the menu that has appeared on the screen.
    One thing missing appears to be colour choice. The default is a 'hiliter yellow'. I didn't see a way to select a different colour.
    "Hopefully, this will make it on their upgrade list. "
    Hope is good, but taking action is useful.
    Pages menu > Provide Pages Feedback > Make your request that this be added to Pages 5. Requests made through Provide ...Feedback go directly to Apple. Comments and questions here are read by users like yourself, and we don't have the ability to change the way the apps work. Not directly,anyway.
    Regards,
    Barry

  • CLEARING DP VIA MIRO VS F-54

    DEAR GURUS,
    i have question about DP clearing. here the case:
    1. i clear DP and the invoice through f-54 and input the invoice number. and the result in FBL1N is there are 2 open items, DP
        and   Invoice which have the same assignment. that helps us to clear the invoice and DP when do outgoing payment.
        and the second way to clear DP is:
    2. when input the incoming invoice, i can clear the DP that has been made directly by push button "clearing down payment". and
       result when i clear DP via MIRO is there are 2 open items in FBL5N, but do not have the same assignment, but just have the
      Text. and i think it more difficult to match item to be clear during do outgoing payment.
    my question is can i made clearing DP via MIRO but in FBL1N in i still have the same assignment? i think its helper than have the same text as reference to do outgoing payment.
    need your help gurus. thanks & regards.
    Land Lord

    Hi Lamdlord,
    Please check the following SAP site. This functionality is availbel in latest patch level
    http://solutionbrowser.erp.sap.fmpmedia.com/Details.aspx
    Regards

Maybe you are looking for