Getting rid of Multiple Spaces in Code View (after Copying/Pasting)

Hello,
I'm trying to find a way to get rid of multiple spaces between words in Dreamweaver CS3's code view.
Oftentimes, when I copy/paste text from elsewhere (e-mail, website, etc), the Dreamweaver code shows up with multiple spaces. Normally, that wouldn't be problem -- except that my blog's auto-tag plug-in doesn't detect selected phrases when there are multiple spaces between words, e.g., it'll detect "Swiss Alps" in a post but not "Swiss  Alps" (notice the extra space between words in the second phrase).
If at all possible, I'd like to be able to keep Dreamweaver's text formatting option when I copy and paste, as that means I don't need to manually put words in bold/italics.So, is there a way to keep that option while getting rid of all the extra spacing between words?
By the way, I'm familiar with Wordpress CSS, but not with Dreamweaver CSS. Not sure if there's any difference.
Any assistance would be much appreciated.

I make it a point to never paste formatted text into HTML pages.  Formatted text from MS Office usually contains a variety of junk you don't want and I don't have that much faith in MS Word code removal tools.
Bold and Italics from Word or Outlook should be changed to current HTML tags of <strong> for bold and <em> or emphasis for italics anyway.  Also see Logical Tags here:
http://www.htmlcodetutorial.com/logical.html
Find and replace is good for removing whitespace if you know how to do it correctly. Make backup copies just in case things go wrong.  http://www.tjkdesign.com/articles/whitespace.asp
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media  Specialists
www.alt-web.com/
www.twitter.com/altweb

Similar Messages

  • How do I get rid of extra space in the toolbar section?

    There is a blank space between the Navigation Toolbar and the Tabs. It is the same height as the other Toolbars, and is very annoying. How do I get rid of this space?
    I tried pasting in a screenshot to show what I mean, but this form won't accept it.

    Sorry thought you had placed them both on the same toolbar.
    What you appear to have a a bookmarks toolbar without any bookmarks.
    Make sure that you have the check mark present for the bookmarks toolbar
    View > Toolbars
    Use "Ctrl+B" to bring up the bookmarks in the sidebar.
    You should have three major folders "Bookmarks Toolbar", "Bookmarks Menu" and "Unsorted Bookmarks".
    If you have no bookmarks or folders in the "Bookmarks Toolbar" that would be one reason for it to be blank, another and the only other one I think is currently possible through Firefox itself is that you don't have the wording "Bookmarks Toolbar Items" in the row when in customize, look for an item marked "Bookmarks" -- there are two such items you don't want the white star on a black background and drop-down, you want the the one with blue symbol on the right hand side -- drag it to the bookmarks toolbar, be careful in dragging you might drop it in the wrong toolbar.
    If that doesn't work use the "Restore Default Set" and then you have to re-customize your toolbars (but you placed a picture here that you could work toward).
    See picture at http://kb.mozillazine.org/Toolbar_customization_-_Firefox
    for during customize with "Bookmarks Toolbar Items" showing on the toolbar.]
    My own customizations seen in this picture
    * http://dmcritchie.mvps.org/icons/fx4toolbars.png
    :are described in the following
    You can make Firefox 4.0.1 and '''Firefox 5.0''' look like Firefox 3.6.17, see numbered items 1-10 in the following topic [http://dmcritchie.mvps.org/firefox/firefox-problems.htm#fx4interface Fix Firefox 4.0 toolbar user interface, problems (Make Firefox 4.0 look like 3.6)]
    and most of the major styling changes like color borders around tabs for status, and bookmarks bar with blue folders and red bookmarks are in the styling part items # 41 -45 (46 if you have multiple profiles).

  • How do i get rid of this space?

    okay, i'm having trouble with this method, i've tried so many ways to get rid of the single space before the "]" , if i do a "\b" anytime after the for statement is done, it just prints a small square.
       // prints out the prime numbers inside sieve
        public void printPrimeNumbers(){
            int n = 0;
            System.out.print("[");
            for(int i = 0; i < sieve.length - 1; i++){
                n++;
                if (sieve[i] == true && n != sieve.length - 1)
                    System.out.print(i + " ");
            System.out.print("]");
        }for instance if i implement the following in client code
    PrimeNumbers test = new PrimeNumbers (15);// new boolean array from 0-14
    System.out.println( test ); // prints t or f if the index is a prime number
            System.out.println("There are " + test.getNumberPrimeNumbers(15) +
                               " prime nummbers in the sieve from 1 to 15");
            System.out.println("There are " + test.getNumberPrimeNumbers(25) +
                    "  prime numbers in the resized sieve from 1 to 25"); // test is resized by a helper method
             test.printPrimeNumbers(); // prints the index of the array created inside the object if it is primehere is the output of the program:
    [F F T T F T F T F F F T F T F F]
    There are 6 prime nummbers in the sieve from 1 to 15
    There are 9 prime numbers in the resized sieve from 1 to 25
    [2 3 5 7 11 13 17 19 23 ]
    my question is how do i get rid of the space in between the 23 and the ] , i've tried so many ways that have failed to do so.
    Thanks

    my question is how do i get rid of the space in between the 23 and the ] , i've tried
    so many ways that have failed to do so.Just don't print it in the first place.public void printPrimeNumbers() {
        int n = 0;
        boolean first = true;
        System.out.print("[");
        for(int i = 0; i < sieve.length - 1; i++){
            n++;
            if(sieve[i] == true && n != sieve.length - 1) {
                if(first) first = false;
                else System.out.print(" ");
                System.out.print(i);
            System.out.print("]");
    }[Edit] Too slow!

  • I deleted some of my text message histories to get rid of 'other' space (6.33 gb). They were gone from iMessage, but they still showed up in search, so they were still taking up space on my phone. I synced my iPhone (4s) but the messages are still there.

    I deleted some of my text message histories to get rid of 'other' space (6.33 gb). They were gone from iMessage, but they still showed up in search, so they were still taking up space on my phone. I synced my iPhone (4s) with iTunes but the messages are still there. How can I get rid of these texts for good and have more space on my phone? 6.33 gb of other space is way too much, thats almost half of my overall available space (13.5 gb.) I don't want to reset my phone and lose all my other texts/ app progress/ photos. I do have backups, but when I restore from the backup the other space comes back along with everything else. What can I do to get rid of this other space and the 'deleted' text messages? (I'm running iOS 6.1.3 if that helps)

    But once again, I do not want to lose my other texts, app progress, and photos. I could sync the photos but i would still lose the app progress and texts. I would only restore if it was the only option left, but the other space, as already stated, isnt the main concern. The main concern is those 'deleted' texts. If they go, then a good size chunk of the other space goes. I know you CAN delete texts for good. It worked fine before. All i want to know is why its not working for me now, and how to fix it.
    I also know that when you delete texts on your iphone, they get marked for deletion, however they stay on your device (thats why they show up when you search for them.) then when you sync your device with itunes, the texts marked for deletion should disappear. When i synced they didnt disappear. Thats what i need an explanation/solution for. Why the texts marked for deletion didnt get fully deleted after the sync.

  • How can I get rid of multiple pictures at the same time?

    how can I get rid of multiple pictures at the same time?

    Adobe Bridge, lightroom and your file browser (windows explorer or Mac Finder) can select multiple pictures at once and then delete. If you are looking for more than that for information, you will need to be more specific at what your doing, what OS you have, and version of software your using. If necessary post screen shots so we can see what your doing. The more information we have the more detailed of an explaination can can give back to you.

  • Blank spaces in code view

    Hello,
    Whenever I copy and paste text from another website -- sometimes from my own website after it goes live -- onto Dreamweaver, the text looks just fine in Design view. Fonts and paragraphs are preserved, as they're supposed to according to my preferences.
    However, when I look at the code view, there are always several -- sometimes a whole lot of -- blank spaces separating words; blank spaces that were not in the original text (even in code view) and that can't be detected in Dreamweaver's design view.
    It looks ok online just like it looks ok in Dreamweaver's design view, but I'm just a little concerned that those blank spaces may confuse search engine crawlers.
    For instance. In design view and online, one sees:
    "Great Holiday"
    but in the code view/source page you'll see
    "Great                    Holiday"
    That's what the crawlers and spiders will see as well. And they may think that "Great Holiday" and "Great                    Holiday" are two different sets of keywords when they should be the same.
    How can I ensure that only *one* blank space is allowed in Dreamweaver's code view, whenever I copy and paste text from webpages? Is there a way that I can preserve the texts' format and fonts while ensuring *one* blank space in code view?
    Any suggestions would be much appreciated.

    No, actually this is what happens:
    If one of us copies text from our blog online (www.altfg.com/blog/) we see the following in Dreamweaver's design view:
    Right behind Clash of the Titans, DreamWorks Animation’s How to Train Your Dragon, featuring the voices of Jay Baruchel, Gerard Butler, and
    America Ferrera, earned $3.8 million (+9.2%) domestically on Thursday,
    but in code view there are blank spaces between words. Blank spaces that shouldn't be there:
    <p>Right behind <em><strong><a href=
    "http://www.altfg.com/blog/movies-431/clash-of-the-titans-box-office-predictions/"
    >Clash       of the Titans</a></strong></em>, DreamWorks Animation’s <em>How to   Train Your Dragon</em>, featuring     the voices of <strong>Jay Baruchel</strong>,<strong> <a href=
    "http://www.altfg.com/blog/photos/bradley-cooper-gerard-butler-andrew-r-jones-810/"
    >Gerard       Butler</a></strong>, and <strong>America Ferrera</strong>, earned     $3.8 million (+9.2%) domestically on Thursday, </p>
    Notice the blank spaces separating "featuring      the voices" or "Gerard       Butler." Those shouldn't be there. Maybe it makes no difference. On the browsers, it all looks fine. But is there a way to ensure that Dreamweaver doesn't allow more than one blank space between words in code view?
    Also, *no one* has responded to my query about automatic hyperlinks for images. Any ideas?
    That has been such a drag.
    http://forums.adobe.com/thread/613801?tstart=30
    Thank you.

  • Is there a way to get rid of the space left when I delete a field?

    I have a document that I am editing and I have deleted some fields but that leaves big white spaces in the document.  Is there some way that I can get rid of those spaces without having to manually move up all the subsequent fields one by one?

    Not really. There are things you can do to make the process easier, but you can't just highlight the white space and hit 'delete' to bump everything up.
    You can select all of the items below what you removed on the heirarchy tree (that are on the same page) and move them all up at once.
    You could make the document flowed and enclose the whole area in a subform, but that presents its own set of challenges if the fields and such do not already take up entire lines (or close to it). It does make the process easier in the future if you have to add/remove more items again.

  • Can't get rid of the space at the top of my page!

    can't get rid of the space at the top of my page!
    http://www.songsaboutthenews.com
    Real simple table, centered, with background image. Can't get
    the space at the top of the page to go away. Much mucking with the
    inline style sheets to no avail. Help is appreciated!

    mixmasterdsr04 wrote:
    > can't get rid of the space at the top of my page!
    >
    >
    http://www.songsaboutthenews.com
    >
    > Real simple table, centered, with background image.
    Can't get the space at the
    > top of the page to go away. Much mucking with the inline
    style sheets to no
    > avail. Help is appreciated!
    >
    Hi,
    Edit the background image to remove the white at the top or
    adjust your
    css like so......
    body {
    background-color: #FFF;
    background-image: url(bk.jpg);
    background-repeat: repeat-x;
    background-position: center -20px;
    margin: 0;
    padding: 0;
    chin chin
    Sinclair

  • Getting rid of the space between songs?

    can someone tell me how to get rid or the space between songs ie; seemles play. when i listen to a live or dj album, nearly throw the ipod against the wall!
    pc   Windows XP   8gig hd

    Other than merging into one track, there is currently no way to do this. You can use the crossfade function in iTunes, but it is not perfect, and it will not transfer to the iPod.

  • How to get rid of extra spaces while TRANSFERing itab to PersentationServer

    Gurus,
    we have a program which downloads the internal table to server using the TRANSFER statement.
    open dataset ---  BINARY MODE
    loop at ITAB.
    transfer ITAB-line to g_file.
    endloop.
    close dataset.
    This works fine.
    The new requirement is we need to get rid of the spaces that are padded at the end.
    ITAB data is RANDOM. The actual length of ITAB is 128 chars per line. Every 120 chars will have a eof char ( delimeter)
    so the last line of ITAB may have 1 or 2 delimeters in it. if it is just 1 we can solve it using SEARCH and TRANSFER---length
    if it gets 2 delimeters ?
    Thought????
    Any help is appreciated.
    Regards,
    Pete.

    Andreas,
    Thank you for the reply.
    I did use that. What I meant to say is when you have more than one EOL char in last line how do you find the last EOL and transfer upto that length.
    I used DO---ENDDO and checked for each existance of the EOL char. I am not pleased with what I am doing.
    Is there any better way to this ?
    Version - 4.6c.
    Regards
    Pete.

  • How to get tools and other bars back in view after deleting show-bar?

    How to get tools and other bars back in view after deleting show-bar?

    Hello Jouko.
    You can go into View > Toolbars and select the ones you want to see. If you can't see the menu bar you can simply tab ALT on your keyboard (I think F10 works too) to show it.

  • How do you get rid of white space when you are printing multiple pages to one sheet of paper?

    How do you get rid of extra white space when you are printing multiple pages to one sheet of paper?  When printing multiple pages to one sheet of paper Acrobat won't let you select the "zoom" for printing.
    Thanks

    Take a look at Quite Imposing.

  • How Do I Get Rid Of Multiple Duplicates AND Relocate Numerous Files?

    Basically I'm fed up of iTunes.
    A couple of months ago, i had a problem with my itunes library due to a message regarding the iCloud. This practically deleted my whole iTunes library and forced me to relocate every single track, which took a lot longer than it needed to.
    I was already annoyed with iTunes by this point, until yesterday around 1/3 of my tracks were still unlocated, however I could cope with this because I had the majority of my songs, despite this not being ideal.
    Yesterday I was informed I needed to update my iPod, naturally I did. Then...this is when I start to get mad, my iPod crashed, then restored itself COMPLETELY back to factory settings, removing my songs and all my apps. I reopen my iTunes library to see that, that has also restored and NONE of my music is there.
    Now, after a bit of fiddling, I have an iTunes library full of songs which have been duplicated twice or even three times, to add to it, hardly any are actually located. It's not just as simple as redownloading from iTunes, because I expect half my library is music from CDs. So now not only am I faced with trying to get rid of all the duplicates, I also have to locate all the songs (I have checked the preferences and redirected it to My Music > iTunes - basically what it should be) and I have to get rid of all the songs that I didn't want in the first place such as old songs that should be long gone off my iPod/Library from now.
    If anyone could help, that would be great, because I'm so tired this time-consuming mess my iTunes has become.
    Thanks in advance!

    Broken Links
    It depends a bit on why things aren't where iTunes expects to find them but if they are in sensible Artist & Album folders in some common location then my FindTracks script should be able to reconnect them to iTunes. FindTracks uses some fuzzy matching routines and searches for multiple potential locations within a media folder. For more details see this thread.
    Duplicates
    Apple's official advice is here... HT2905 - How to find and remove duplicate items in your iTunes library. It is a manual process and the article fails to explain some of the potential pitfalls.
    Use Shift > View > Show Exact Duplicate Items to display duplicates as this is normally a more useful selection. You need to manually select all but one of each group to remove. Sorting the list by Date Added may make it easier to select the appropriate tracks, however this works best when performed immediately after the dupes have been created.  If you have multiple entries in iTunes connected to the same file on the hard drive then don't send to the recycle bin.
    Use my DeDuper script if you're not sure, don't want to do it by hand, or want to preserve ratings, play counts and playlist membership. See this thread for background and please take note of the warning to backup your library before deduping.
    (If you don't see the menu bar press ALT to show it temporarily or CTRL+B to keep it displayed)
    I intend at some point to improve DeDuper so that when there are multiple duplicates, where at least one is connected to a file while others are missing, it can throw away the entries to any missing files, however the current version needs all duplicates to have been repaired first.
    tt2

  • Can't get rid of white space

    Hi, I'm new to dreamweaver, searched around but couldn't find a solution. Here is the site I can't get rid of that white space above the footer. It's a clearfloat I think. I've tried a whole bunch of things, but nothing works, it's not so much that I want to get rid of it, cause as I understand it's usefull, just want the footer and maincontent to line up. Thanks for any help.

    Sorry.  I didn't see your site link.  Tired eyes can't see today.
    Try changing your #container division's background from white to dark.
    twoColHybRtHdr #container {
         width: 100%; 
         background: #000;
    Also, just so you know, empty paragraph tags are not a reliable layout device. Consider using min-height property.
    http://www.w3schools.com/CSS/pr_dim_min-height.asp
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    www.alt-web.com/
    www.twitter.com/altweb

  • How do i get rid of black space at the end of a video presentation?

    After creating a project in iMovie and burning it onto a DVD, I realized that when the movie was finished, it did not return to the Menu right away and instead it played 20 or so seconds of blackness that I can't seem to get rid of. Has anyone else had this problem? And how do i fix it? I have also checked if my any audio or narration tracks lengths were that long, and none were.
    Please help.
    MacBook Pro   Mac OS X (10.4.10)  

    In the course of your editing you may inadvertently have left a tiny scrap of audio or video way out at the end of your time line, with a large gap between it and the last clip in your movie. Your movie will play out until it reaches that scrap, leaving a large black gap at the end of the movie. Sometimes these scraps are so tiny that they are difficult to see and can be overlooked in normal view. Expand your time line view to its fullest extent and check to see if you can find such a scrap, left over from editing, and then delete it. It's worth a look, though you may not find anything. That's all I can think of, unless for some reason you have a 20 second long black clip at the end of your movie that you forgot to delete. (Don't laugh--it happened to me once.)
    Good luck in resolving your issue.

Maybe you are looking for

  • We can use JSR-168 JPS portlet upload file,

    We can use JSR-168 JPS portlet upload file, here is the source for you referrence: upload file can use JSR168 portlet, 1,CustomizablePortlet.java File import java.io.IOException; import java.io.PrintWriter; import java.util.ResourceBundle; import jav

  • TS3988 How do I set up an iCloud account without a Mac product?

    I have installed iCloud control panel on my Windows 7, and have created an Apple ID, but am told that it is not an iCloud account. I don't have another Apple product without a current iCloud account. Also, this account will be used to consolidate cer

  • Strobe Media Playback, basic code not working with FLV file?

    I am trying to use the following code with Strobe Media Playback swf 1.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"

  • How do i file a formal complaint against ATT Uverse?

    That would depend on who you want to file the complaint to (e.g. another department of AT&T, a watchdog group, or a government entity), as well as what the complaint entails, and what you expect to come of your complaint. Care to fill us in?  Don't h

  • Can reset my Laptop to factory settings

    I been trying to reset my HP 2000 Notebook PC to the factory setting. Every time I try to restart it turns off and comes back on. But when it comes back on its a black screen that say, "windows failed to start. A recont hardware or software change mi