Why dreamweaver add space in the code when i do this:...?

Hi,
look at those pictures below.. Those are the steps to show how dreamweaver reacts after a series of actions with part of the code in CODE VIEW...

Hi Masa,
Well the answer lies in how you are adding the indentation for better reading.
I assume you added space of tab to add indentation. So you are doing that in reduced window width and your text wraps as per the width. But when you again resize the window to full lenght your text takes  full space and the spaces and tabs you added for indentation are moved into text itself which is normal (since you have added that space to text).
So DW is now adding any space it is the space you added for indentation which is showing up when you go to full width view.
Don't use such indentation for reading in code and anyways HTML will leave out such whitespaces when page renders.
Hope that helped
-Vinay

Similar Messages

  • How to add spaces at the end of record

    Hi Friends,
    i am creating a file which contains more than 100 records.
    In ABAP i have internal table with on field(135) type c.
    some time record have length 120, somtime 130 its vary on each record.
    but i would like to add space at the end of each record till 135 length.
    Can you please help me how to add speace at the end of record.
    regards
    Malik

    So why did you said that in your first posting? My glass sphere is out for cleaning...
    Instead of type c use strings and add spaces until they have the appropriate length.
    loop at outtab assigning <pout>.
      while strlen( <pout>-val ) < 135.
        concatenate <pout>-val `` into <pout>-val.
      endwhile.
    endloop.

  • HT5701 why do I get 3072 error code when trying to download 6.0.4

    why do i get 3072 error code when trying ot download 6.0.4

    Some details, please?
    Based on the version number, you seeking to upgrade Safari?
    What OS X version?
    How are you upgraded or downloading the software?   (Directly downloaded, or via Software Update?)
    Have you tried quitting all applications, and then performing the Software Update?   (Discussion per this thread — but that thread is for iTunes, and I'm guessing you're looking at Safari here?)  If that doesn't work, I'd keep everything quit, reboot, and try again.

  • HT3702 Why does it say invalid security code when I'm prompted to sign in?

    Why does it say invalid security code when I'm prompted to sign in. I have intered my security code from my credit card several times. It will not allow me to use the app store, even for free purchases.

    Is the address on your iTunes account exactly the same (format and spacing etc) as on your credit card bill : http://support.apple.com/kb/TS1646 ? If it is then you could try what it says at the bottom of that page :
    If the issue persists, contact your credit card company and verify that they and any company they use to process credit card authorizations have the correct information on file.
    And/or try contacting iTunes support : http://www.apple.com/support/itunes/contact/ - click on Express Lane, then iTunes > iTunes Store

  • Add space to the end of textfield value

    Hi,
      I have a requirement where I need to append 2 spaces to ta textfield at the end of field for certain conditions.
    I used Concat() function and if I checked the length, it added the space successfully in the scripting. But in the output display, it is not considering the space to the text. I need this particularly because all my text fields are right alligned and if I have a space appended to the text at the end, I should able to see it in the form
    for ex:
           I need     Martin     ( for the first text field)
                       Martin       ( with two spaces appended)
    I need the output in the above way.
    Can you please help me out.
    Sample code I wrote on scripting:
    var raw = $.rawValue
    $.rawValue = Concat(raw, Space(2))
    If I check the length of field, I could see that length got increased by 2. But I cannot display in the output.
    Thanks in advance,
    k.c

    Hi,
    Instead of inserting white spaces script to change the right indent:
    if (this.rawValue == "Martin")
        this.para.marginRight = "1.5mm";
    else
        this.para.marginRight = "0mm";
    This is Javascript, but I am sure it will run in FormCalc.
    N.

  • Why is there space under the copyright bar on the contact page?

    why is there space under the copyright bar on the contact page? all the other pages in the site fit flush at the bottom except on the contact and coaching page. does anyone know why? thanks
    http://worldmarketdesign.com/strategic/contact.html

    What I'm saying is that the footer will always follow the content above it.  On short pages, footer may not align with bottom of browser viewport because the page content above isn't long enough to fill the screen.  Since everyone uses different display sizes, this is perfectly normal behavior and shouldn't be a major concern.
    Nancy O.

  • HT5312 Why am I not recieveing the email, when i try to reset my security question answers?

    Why am I not recieveing the email, when i try to reset my security question answers?

    Has anyone received an answer to this? It seems that a lot of us are having the same issue. In the past i had no trouble receiving emails to reset my password but for the past week I havne't been able to login, my security questions didn't work and I haven't received any of the emails to reset my password. I've created a new Account but would rather  get into my old account because it's linked to my perfered email address. Hum..
    Any help from the community would be much apprecated! thanks!
    Lori

  • HT201269 How can I disable the code when signing on to my phone?

    How can I disable the code when signing on to my phone.  This is very annoying.

    Settings>General>Passcode Lock...enter your passcode, then: Turn Passcode Off.

  • Why do assets shift to the left when I delete something?  For example if I have a whole series of te

    Why do assets shift to the left when I delete something?  For example if I have a whole series of text inserts in my movie and I delete one... assets to the left of the deleted text will shift.  And the snap is NOT checked.  It would be helpful if assets would stay in place and not shift to the left ... groan.
    And thanks for the help previously given on another issue.  I can't seem to find the origional post but did want to thank Steve for his help.  Most appreciated.
    Bev

    Hold the Shift key down while you press delete.
    Cheers,
    Neale
    Insanity is hereditary, you get it from your children
    If this post or another user's post resolves the original issue, please mark the posts as correct and/or helpful accordingly. This helps other users with similar trouble get answers to their questions quicker. Thanks.

  • Too much white space to the right when previewing it in my phone using inspect. Why?

    Using edge reflow to create a responsive landing page and inspect to connect to my device.
    I tried to preview it but there's so much white space to the right which i can scroll horizontally through the screen.
    my width is 100%  even my container. why is that? Chrome preview is looking fine btw.
    thanks for whoever can give me an answer advance!!

    How does your page look when you make the canvas narrow in Reflow?
    Vic

  • HT2240 Why do I receive an invalid code when I input the correct code?

    I have purchased QuickTime 7 Pro for Windows and when I place the Registration Code in the registration box, I get an Invalid Code message.  I verified that I am running QuickTime 7.7 and I have made sure that I was putting the code in correctly.  What is the problem?

    I have purchased QuickTime 7 Pro for Windows and when I place the Registration Code in the registration box, I get an Invalid Code message.  I verified that I am running QuickTime 7.7 and I have made sure that I was putting the code in correctly.  What is the problem?
    Assuming the key was generated properly, it must
    1) be for the proper platform (Mac keys do not work on PCs and PC keys do not work on Macs and
    2) the name entered must be the sames as the one used to putchase the key to include prefix (Mr., Miss, Dr., etc) and/or suffix (Sr., Jr., DDS, etc.) if used.
    In some rare cases, the key sent in your email may be incomplete or incorrect. In most such cases, the key is not posted to you account in the recent purchases area, so it may be a good idea to compare your emailed key with what may or may not be on file in your account area. If just purchased and not posted to your online account, you may have to contact Apple with your purchase information regarding this matter. Also remember that Apple now only keeps a record of your key for a maximum of 18 months, so it is usually a good idea to back this information up to multiple locations such as your hard drive, USB thumb drive, online storage area, etc.

  • Why does debugger not find source code when compiler output has been directed to the root directory, but the source is in a sub-directory, using Forte for JAVA community edition V3.0

    I have configured Forte to put compiler output, i.e. my classes, in the root directory of the project. I now find that the debugger does not find the source code when it is in a sub-directory. However, if I temporarily copy a classes' source code to the root directory the debugger will display it.
    To direct compiler output to the root directory I selected Project >Settings>Compiler types, then External Compiler ( which is the default compiler in my case ) and set Target to be the root project directory. This is the only directory it will allow.

    This Forum is for Forte 4GL or UDS as its called today. I am not sure if anybody is going to be able to answer your question here. Sorry.
    ka

  • How can the eclipse debugger break in the code when an exception is thrown

    Is there a way in eclipse to break into the bebugger when an exception is thrown in debug mode like Visual Studio 2003 or 2005?
    Thanks

    For 3.x, select "Add Java Exception Breakpoint" from the "Run" menu.
    Check "Caught" to break even if your code handles the exception, "Uncaught" to break when your code doesn't handle the exception.

  • How do you add space between the Series Name and the chart?

    I'm trying to format a 3D pie chart and the series name is nearly unreadable depending on the angle. I would like to add some space between the series name and the chart.

    On my charts, I just select the legends and drag them away from the chart. Hopefully this example helps:
    Regards,

  • Why does imovie not show the video when you are scrolling through the timeline

    why is it when using imovie when you scroll through the timeline it doesn't show in the movie window this is for imovie 11 when editing a large video composedof many small clips

    Do you have AuthenTec TrueSuite ?
    See:
    *[[/questions/937571]] Firefox address field hide the last part of the address when loaded

Maybe you are looking for

  • OPEN LETTER TO NOKIA: Fix Bugs Now or We're Ditchi...

    Dear Nokia After many years struggling with Windows Mobile's constant bugs that Microsoft are reknowned for, I finally bit the bullet and bought an E71 made by the king of mobile phone manufacturers... or so I thought... Nokia. I have been utterly as

  • Lack of control over iMessage

    The purpose of this post is less of a question and more of a collection of the frustrations I have had with trying to use iMessage. First off, the idea of iMessage seems great. Transparently allow users end to end encryption of their messages over a

  • Upload of multiple rulesets

    Hello, I have created logical system and defined rules according to the no of risk. I need to know, a checklist of steps on how to upload multiple rulesets, with it's associated risks, for different logical systems (which have been assigned to them)?

  • List of cubes - olap2_aw_cube_measures

    I am having set of cubes available in the AWM schemas. But when I query the table olapsys.olap2_aw_cube_measures the available cubes are not showing up even all the grants are there properly. thanks,

  • Unable to view Compilation Album as whole album

    Unable to view Compilation Album as whole album in Itunes...it wants to separate each track by artist. In general the new itunes has been very frustrating. I miss being able to just click the heading and see everything in simple list view. They tried