Well indented html code in DW

hi,
i use DW8 and i recently found out that DW does not make a
well indented HTML code. earlier i ignored this. this problem
surfaced recently when the asp programmers using visual studio said
that every time i give them a html page, they have to indent it
properly so that they are able to code properly which results in
some time being wasted. why is that DW cannot write proper indented
html code in the first place? will this be fixed in future or this
will continue? is there any extension which i can use to properly
indent it?
thanks,
gaurav

gaurav_ch wrote:
> fiddled around some more and found out that indeed there
is a command -
> commands>apply source formatting. but then another
question - why do i have to
> do it myself, why not by default?
Some people don't like indented code formatting.
James M. Shook
http://www.jshook.com

Similar Messages

  • Less strict version of tidy, to indent html-like code?

    Hello,
    When using Copy as HTML in the DOM tree that Chrome's developer tools show, you get the whole thing as one single line (or a few. It is one line when copying a specific element, even if it has many nested elements inside of it). For looking at this, diffing it, and so on, it is of course way handier to have it as nicely indented HTML code instead.
    I tried using tidy -i for this, but by default tidy is very strict. For example the fact that if you want to indent a sub section of an html page, there's no <html> tags is already a problem for tidy.
    I tried the following way to solve the html tag problem:
    tidy -xml -i file.txt
    But then it sometimes outputs just a small part of the whole thing.
    Basically, tidy seems not to work very well for semi-correct things that you just want to indent.
    Does there exist a utility that's designed to indent any part of xml-like or html-like code into nice separate lines with indentation where possible, even if some tags might be missing or not closed or whatever? Or a command line flag of tidy that I might have missed
    Thanks!
    Last edited by aardwolf (2012-03-22 17:59:46)

    You can try xmllint. (It's probably already installed on your system.  If not, it's part of libxml2 i.e. $ pacman -S libxml2)
    $ xmllint --format in.html >out.html

  • Can i embed html code into my email signature

    I am trying to create a e-mail signature that includes an image as well as html code. I have no idea how to get this done. Help!

    Are you referring to use of content within a content ?
    You can use any composition or panel to achieve this, but if you are referring to use html content to another html content , then you would need to work out with the code and combine them and then insert on page so that both html functions properly.
    Thanks,
    Sanjit

  • How can I link .svg files in the .html code?

    How can I link .svg files in the .html code?

    I use the FileBrowser app by Stratospherix to do this.  I can watch / stream my movies on my iPhone / iPad from my hard drive connected to my Airport Extreme.  I can access all the files on that hard drive as well. 

  • How to Hide HTML code of web application (applet)?

    hi
    On web, while running application, if user open View\Source from browser, he can see all HTML code (base_jini.html). The problem is that we can't afford to show source code to client, because it has DB connection inf (username/password) as well. How this html code can be hide from client machine?
    I think, i convey my prblom. If not, please run any web application and try to see source code from browser view menu, U will see that all configuration details are visible including db password. I suppose there should be some way to hide these details to client.
    Please help in this regard, i will be very thankful
    regards
    Asif

    Forms Listener Servlet is just another way of setting up forms on the web. The main difference is instead of the client and the Forms runtime talking directly, they do so via the webserver. This means thay you only need to have one port opened in your firewalls (e.g. 80) instead of two (80 and 9000)
    Please read the paper I indicated and this will hopefully explain it all.
    As to the suggestion of using the LOGON built int - this would be a solution but you will have to consider if this is acceptable if you have more that one user since the person running the application would have to identify themselves in some way.
    The other option is do not add the username and password in teh HTML and the default logon dialog will appear.
    Regards
    Grant Ronald
    Forms Product Management

  • What HTML code do I need to get Adobe Flash to play an embedded MP4 video file (8 MB)?

    What HTML code do I need to get Adobe Flash to play an embedded MP4 video file (8 MB)?
    Thanks
    Mark

    Here are a couple of ways, one using the Netstream class and the other using the FLVPlayback component.
    For the NetStream approach, the following in the timeline code will play/loop the intended mp4 file...
         var video:Video;
         var connect_nc:NetConnection = new NetConnection();
         connect_nc.connect(null);
         var stream_ns:NetStream = new NetStream(connect_nc);
         stream_ns.client = this;
         function netStatusHandler(p_evt:NetStatusEvent):void {  
             if (p_evt.info.code == "NetStream.Play.Stop") {
                 stream_ns.seek(0); // to loop the video
         stream_ns.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler);
         video = new Video();
         addChild(video);
         video.attachNetStream(stream_ns);
         stream_ns.play("path_to/your.mp4");
    For the FLVPlayback component, add it to the stage, give it an instance name ("fp" used below), assign your mp4 file ("path_to/your.mp4") as the source property in the Properties panel, and select the option to autoplay as well.  Place the following code in the timeline...
         fp.addEventListener(Event.COMPLETE, playAgain);
         function playAgain(evt:Event):void {
             fp.play();
    To put the Flash swf file in an html page, in the Publish Settings set it to publish an swf and an html page.  Publish the file an the html page will be created for you.

  • Trying to acess html code in slideshow

    I am trying to access the html code that makes up a slideshow/splash on a site. I need to change the names of some image files in the html code.
    it's a wordpress site. I have looked thought the file directories and everywhere else but can't find the file with the code. I can see it using view source from a browser. just can't find it anywhere to make the edits.
    I don't know wordpress very well or php. I have a limited understanding that php actually generats the html code when a page is loaded? If so do I need to edit a php file ? Any help or advice much appreciated. I know this is not a wordpress forum but I asked about this on the wordpress forum and got no response.
    I downloaded and installed the trial Themedreamer but that doesn't seem to giet me to the html that I need to access.
    Here's the site
    http://www.helitrax.com/

    How do I access that html?
    You don't.  WordPress is Dynamically driven.  There really isn't much in the way of HTML to edit.  Content is created on the server with code calls to content in databases,  folders and include files.
    There is no plug in there that controls this slideshow.
    Yes there is. It's possible this is attached to the Theme or a Widget.  In any case, it uses the jQuery Cycle Lite script and this is the PHP code that inserts it into the first page.
    <div id="splash" class="container_12">
        <?php if (is_front_page()): ?>
          <?php for ($i = 1; $i <= 5; $i++): ?>
              <img src="<?php bloginfo('stylesheet_directory') ?>/css/img/splash/h<?php echo $i ?>.jpg" alt="" />
            <?php endfor ?>
    From the WPress Dashboard, click on Pages.
    Edit the opening site page (probably called Home but maybe not). Can you see an indicator for the slideshow?  How about in HTML view?  What do you see there?
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb

  • HTML code issues

    I have a topic that was once stable
    , but now at one point in the top
    ic the style is correct. But in another area, the style will not take and the HTM
    L code inserts <span> etc., etc. Here is an example if you look at the H
    2 head:
    <?xml version="1.0" encoding="utf-8" ?>
    <!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" />
    <meta name="template" content="NERC.htt" />
    <meta name="generator" content="Adobe RoboHelp 8" />
    <title>Revoking PI User Access</title>
    <link rel="StyleSheet" href="..\default.css" type="text/css" />
    </head>
    <body>
    <?rh-script_start ?><script src="../ehlpdhtm.js" type="text/javascript"
            language="JavaScript1.2"></script><?rh-script_end ?>
    <?rh-placeholder type="header" ?>
    <h1>Revoking PI User Access</h1>
    <p>Access for both a PI user and a SCADAView user can be revoked if a Mantis
    ticket requesting removal from IT AccessRequest exists. For Mantis tickets,
    make sure that a <span class="BoldName">Real Time Systems User ID Add-Changed-Remove</span>
    form completed by the user’s E4 manager is attached to the ticket. If
    not, contact the requestor.</p>
    <p>In order to remove access, you must search for the user name in both
    the old and new databases:</p>
    <ul type="disc">
    <li class="BulletedList">For instructions on revoking a user's access
      in the old database, <a href="#Removing_Access_Old_DB">click here</a>.</li>
    <li class="BulletedList">For instructions on revoking a user's access
      in the new Active Directory database, <a href="#Removing_Access_New_DB">click
      here</a>.</li>
    </ul>
    <p>After revoking a PI user's access, you also need to remove the user's
    name from the Outlook Address Book. For instructions, <a href="#Removing_User_Outlook_Group">click
    here.</a></p>
    <h2>Removing a user's access in the old database<a name="Removing_Access_Old_DB"></a></h2>
    <ol>
    <li class="NumberedList"><p style="margin-left: 0px;">Go to the SCADA
      website at <a href="http://scada/" style="font-size: 10pt;">HTTP://SCADA</a>.</p></li>
    <li class="NumberedList"><p>When the <span class="BoldName">SCADA &amp;
      Distribution Automation</span> home page displays, under <span class="BoldName">PI
      Historian</span>, click <span class="BoldName">User Maintenance</span>
      (circled in red). <a class="dropspot" href="javascript:TextPopup(this)"
            id="a5">Click to view</a>.</p>
    <div class="droptext" id="POPUP134020538" style="display: none;">
      <p><img src="../PI_Historian.jpg" alt="" style="border-left-style: Solid;
         border-left-width: 2px; border-right-style: Solid; border-right-width: 2px;
         border-top-style: Solid; border-top-width: 2px; border-bottom-style: Solid;
         border-bottom-width: 2px;" width="194" height="109" border="2" /></p>
    </div></li>
    <li class="NumberedList"><p>When the SCADA System Logon screen displays,
      perform the following:</p></li>
    </ol>
    <ol start="1">
    <li class="NumberedList2"><p>For <span class="BoldName">User Id,</span>
      enter your PI user id.</p></li>
    <li class="NumberedList2"><p>For <span class="BoldName">Password,</span>enter
      your PI password.</p></li>
    <li class="NumberedList2"><p>For <span class="BoldName">Select Group,
      </span>click <span class="BoldName">PRG</span> from the dropdown list.</p></li>
    <li class="NumberedList2"><p>Click <img src="../ButtonSubmit.JPG" alt=""
                style="border: none;" width="61"
                height="25" border="0" /><span
      class="BoldName">.</span></p></li>
    </ol>
    <p style="text-indent: 84px;"><span class="BoldName">&#160;Result:</span><span
      class="Result"> The </span><span class="BoldName">User Administration</span><span
      class="Result"> screen displays the user's information. <a class="dropspot"
      href="javascript:TextPopup(this)" id="a2">Click to view</a>.</span></p>
    <div class="droptext" id="POPUP133400192" style="display: none;">
    <p><img src="../UAdminKUSBJX.jpg" alt="" style="border: none;" width="456"
        height="368" border="0" /></p>
    </div>
    <ol start="4" type="1">
    <li class="NumberedList"><span class="Result">I</span>f the user id
      is recognized, but PI access must be removed while keeping <span class="BoldName"
      style="font-weight: normal;">SCADAView.</span></li>
    <li class="NumberedList">If the user id is recognized, but PI access
      must be removed while keeping <span class="BoldName" style="font-weight: normal;">SCADAView
      access, uncheck the </span><span class="BoldName">PI Access</span><span
      class="BoldName" style="font-weight: normal;"> checkbox and click
      </span><img src="../ButtonModify.JPG" alt="" style="border: none;"
         width="63" height="25" border="0" />. </li>
    </ol>
    <p style="margin-left: 60px;"><span class="BoldName">&#160;Result: &#160;</span>If
    the PI-only access removal is successful you should see this message (circled
    in red).</p>
    <ul type="disc">
    <ol start="6" type="1">
      <li class="NumberedList"><p>&#160;</p></li>
      <li class="NumberedList">If both SCADAView and PI Access must be
       removed, click <img src="../ButtonDelete.JPG" alt="" style="border: none;"
            width="63" height="24" border="0" />.</li>
      <p>&#160;Result: If both SCADAView and PI access removal is successful
       you should see the following message (circled in red). <a class="dropspot"
       href="javascript:TextPopup(this)" id="a4">Click to view.</a></p>
      <div class="droptext" id="POPUP133037650" style="display: none;">
       <p><img src="../UAdminDeleted.jpg" alt="" style="border: none;"
          width="466" height="409" border="0" /></p>
      </div>
      <p class="Note" style="margin-left: 108px; text-indent: -48px;">&#160;NOTE:
       &#160;<span style="font-weight: normal;">The User ID is the person’s
       LAN user id. This removes the user id from the GLOBE_USER table.</span></p>
      <h2><span style="font-weight: normal;">Removing a user's access
       in the new database (Windows Active Directory)<a name="Removing_Access_New_DB"></a></span></h2>
      <ol type="1">
       <li class="NumberedList"><p><span style="font-weight: normal;">Remote
        desktop to either server: <span style="font-weight: bold;">cccs-pifig01</span>
        or <span style="font-weight: bold;">lc3s-pifig01</span>.</span></p></li>
       <li class="NumberedList"><p><span style="font-weight: normal;">Double-click
        the <span style="font-weight: bold;">Energy PI Users Group.</span></span></p></li>
       <li class="NumberedList"><p><span style="font-weight: normal;">When
        the<span style="font-weight: bold;"> Energy PI Users Properties
        </span>dialog<span style="font-weight: bold;"> </span>displays,
        select the <span style="font-weight: bold;">Members</span>
        tab. See below.</span></p></li>
      </ol>
      <p style="margin-left: 48px;"><span style="font-weight: normal;"><img
       src="../Remove_NewDB.jpg" alt="" style="border: none;" width="963"
       height="642" border="0" /></span></p>
      <ol start="4" type="1">
       <li class="NumberedList"><p><span style="font-weight: normal;">Select
        the LAN user name on the screen and click <img src="../ButtonRemove.jpg"
                    alt="" style="border: none;"
                    width="75"
                    height="24"
                    border="0" />.
        </span></p></li>
      </ol>
      <p style="text-indent: 60px;"><span style="font-weight: normal;"><span
       style="font-weight: bold;">&#160;Result:</span> The user is removed
       from the PI access Active Directory user database.</span></p>
      <h2><span style="font-weight: normal;">Removing a user's name from
       Outlook<a name="Removing_User_Outlook_Group"></a> </span></h2>
      <p><span style="font-weight: normal;"><span class="BoldName" style="font-weight: normal;">This
       procedure involves removing the newly deleted user from the </span><span
       class="BoldName">T&amp;D PI Users</span><span class="BoldName"
                   style="font-weight: normal;">
       group in the Outlook Address Book.</span></span></p>
      <ol start="1" type="1">
       <li class="NumberedList"><p><span><span class="BoldName" style="font-weight: normal;">Open
        the address book in Outlook.</span></span></p></li>
       <li class="NumberedList"><p><span style="font-weight: normal;">Locate
        and delete the user’s name from the <span class="BoldName">T&amp;D
        PI Users group.</span></span></p></li>
       <li class="NumberedList"><p><span style="font-weight: normal;">Complete
        the Mantis ticket.</span></p></li>
       <li class="NumberedList"><p><span style="font-weight: normal;">If
        the user is on the Terminated Employees list, enter the employee’s
        user id in the PI Access column and highlight the entire row
        with an orange background color.</span></p></li>
      </ol>
      <p>&#160;</p>
      <?rh-placeholder type="footer" ?>
    </ol>
    </ul>
    <?rh-placeholder type="footer" ?>
    <?rh-script_start ?><script type="text/javascript" language="JavaScript1.2">//<![CDATA[
    if( typeof( TextPopupInit ) != 'function' ) TextPopupInit = new Function();
    TextPopupInit('a5', 'POPUP134020538');
    TextPopupInit('a2', 'POPUP133400192');
    TextPopupInit('a4', 'POPUP133037650');
    //]]></script><?rh-script_end ?>
    </body>
    </html>
    I am exhausted from deleting specific HTML code to make the content work. Plus there seems to be an issue with the margins moving around. Can someone help me with this HTLM code nightmare? Other than deleting it all and inputting the text again? This is the only topic in my project in which this has occurred.

    Hi Gloria,
              Its not possible to talk about a solution until you know the issue which caused it. the question is the HTML cannot get reorganize in RoboHelp if it is not edited exclusively - by this I mean if you bring in all the content through RoboHelp UI then RoboHelp will not change HTML by itself, until you manually change the html code.
    you should try to find out the cause of the seizure (by which I think you mean hang), It could be that you are using any version control and it failed to checkout/checkin one or more project files, It might be that .cpd file got corrupted in that case you can try deleting the .cpd file after closing the project and it will get recreated by RoboHelp on next Open project, or it is possible that some of your shared resources might be missing/moved because of which RoboHelp hangs then in such case you should replace/remove these resources.
    You should not be working on the project over network (i.e. the Project should be on the local drive).
    Are you using CBTs and UDVs or your topics are too large (and thus processing of these topics seizes RoboHelp)
    by any means deleting random HTML code of any topic might actually make the HTML invalid and cause more crashes or hangs.
    I have listed down almost all the reason..
    one way is to remove topics and find out the culprit topics which causes the hang and if you find one you can share it with me at [email protected] and I might find the cause of RH hang by inspecting that
    Hope this helps
    Ashish

  • How can I get Firefox to execute html code in a text file?

    I used Notepad to create a text file, markup.html, that contains html code. How can I get Firefox to execute this code?
    Also, how can I use the <script> tag in the html code using the src attribute to execute code in a file written in Javascript?

    First guess is that you did not use an .html extension on the file. The file may well be ''name.html.txt''
    * see http://www.bbc.co.uk/webwise/guides/file-extensions
    *http://windows.microsoft.com/en-gb/windows/show-hide-file-name-extensions#show-hide-file-name-extensions=windows-vista
    Forum Note
    This is normally offtopic for this forum. I say normally because now we cover webmaker questions. I wonder if this is therefore on topic as a webmaker question?
    I have tagged with webmaker-contribution

  • Function to unformat HTML code

    I start to build a report with CF Report Builder (8) and at
    some point, I realize that one of the field I need to display have
    HTML code (e.g.: <p>, <b>, etc...). The fact is that
    this field is using a Rich Editor (FCKEditor) when input the text.
    Until now, I did not have any problem with this but it displays all
    the code in the report (in the CF Report Builder) and it is not
    really human-friendly. I saw that it is a function to transform
    basic text in HTML but is it something to do the inverse?
    Thank's for any help!

    Interesting comment: starting with a drastic "no help for
    you" and finishing with a hope!!! ;-)) I like it!
    Well you actually gave me the idea. I found something on
    CFLIB.org yes but it was not doing the job properly so I did my own
    code to convert the string before passing it to the CFR (as a
    parameter) and as I have only few HTML tags to take car, it was
    done in a matter of 2 minutes.
    Thank you because you make me thing in a new direction!
    <cfparam name="url.TicketID" default="79">
    <cfinclude template="tagStripper.cfm">
    <cfquery name="qGetProblemDescription"
    datasource="#application.DNS#">
    SELECT ProblemDescription
    FROM TICKET
    WHERE TICKETID = #url.TicketID#
    </cfquery>
    <cfset vDescription =
    qGetProblemDescription.ProblemDescription>
    <cfset vDescription = ReplaceList(vDescription,
    "<p>", "")>
    <cfset vDescription = ReplaceList(vDescription,
    "</p>", chr(13))>
    <cfset vDescription = ReplaceList(vDescription,
    "<br>", chr(10))>
    <cfset vDescription = ReplaceList(vDescription,
    "<br/>", chr(10))>
    <cfset vDescription = ReplaceList(vDescription,
    "<hr>", chr(10))>
    <cfset vDescription = ReplaceList(vDescription,
    "</hr>", chr(10))>
    <cfreport template="WorkOrderInformation_en.cfr"
    format="pdf">
    <cfreportparam name="TicketID" value="#url.TicketID#">
    <cfreportparam name="ProblemDescription2"
    value="#vDescription#">
    </cfreport>

  • How to generate html-code using csv input with JSP or JAVA???

    Hello,
    I want to read out a .csv-file and generate html-code dynmically with JSP in an EP6 Application. The problem is, that the csv-file can’t be located or openend.
    BTW if every knows a good tutorial or weblog for this, please post the link.
    It’s located in a par-archive under:
    />dist>files
    I tried various methods, in the doContent mehtod or with JSP. Everytime same result.
    Here part of the code I tried in the doContent():
    public class CSV extends AbstractPortalComponent
        public void doContent(IPortalComponentRequest request, IPortalComponentResponse response)
            String strWRoot = request.getWebResourcePath();
            String contentCSV="", line="";
            String linesep = System.getProperty("line.separator");
            File fileLoadCSV = new File(strWRoot+"/files/ma_infosysteme.csv");
            boolean exCSV = fileLoadCSV.exists();
            boolean reCSV = fileLoadCSV.canRead();
            int a=0;
            if(exCSV&&reCSV){
                response.write("ok");
                try {
                  BufferedReader inputCSV = new BufferedReader(new FileReader(fileLoadCSV));
                  while((line=inputCSV.readLine())!=null){
                    contentCSV=contentCSVlinelinesep;
                    a++;
                  inputCSV.close(); 
                catch(IOException ioex){
                    System.out.println("Fehler");  
            else {
                response.write("not ok");
            response.write("<br>Wroot: "+strWRoot);
            response.write("<br>File: "+fileLoadCSV);
            response.write("<br>exists: "+exCSV);
            response.write("<br>read: "+reCSV);
            response.write("<br>Input: "+contentCSV);
    The Output is:
    not ok
    Wroot: /irj/portalapps/DHTML
    File: \irj\portalapps\DHTML\files\ma_infosysteme.csv
    exists: false
    read: false
    Input:
    So thanks to everyone who can give me a good hint.
    Bye.

    Without really looking too much into this it looks like the problem is with the way in which you are trying to open the file. I believe that when creating a File object you need to use a physical path. By using the getWebResourcePath() method you are retrieving the URL to this file and not the physical path name. There is another method (can't remember the exact name) called getPublicResourcePath() (or something similar) which will return the physical path to this file, i.e. c:\usr\sap\.....etc. If you try it this way it may well work
    I hope this helps
    D

  • Html code in flash

    hi,
    i have the macromedia flash professional 8, and i'm building
    a web site in flash. Although i have some questions:
    1-
    I want to put a counter, a mp3 player and a mailing list code
    that is in HTML code how can i do it?
    example of the code of the counter:
    <!-- Start Bravenet.com Service Code -->
    <script language="JavaScript" type="text/javascript" src="
    http://pub8.bravenet.com/counter/code.php?id=395396&usernum=635540990&cpv=2">
    </script>
    <!-- END DO NOT MODIFY -->
    the other codes are similar to this.
    2-
    I want to put a scroll bar in my flash website how can i do
    it?
    let me know i'm realy newbie.
    thanks a lot

    davidrasta,
    > i have the macromedia flash professional 8, and i'm
    > building a web site in flash.
    Okay.
    > I want to put a counter, a mp3 player and a mailing list
    > code that is in HTML code how can i do it?
    Ah. Well, it's important to realize the difference between a
    browser
    and the Flash Player plug-in. Browsers download files and
    display them
    based on HTML. Most browsers have a JavaScript engine, which
    is required,
    of course, for interpreting JavaScript. In fact, having a
    JavaScript engine
    is a bit like having the Flash Player plug-in: without it,
    you can't
    display media of the relevant sort.
    The Flash Player does not provide a JavaScript engine.
    Flash's language
    is ActionScript. So code like this ...
    > example of the code of the counter:
    >
    > <!-- Start Bravenet.com Service Code -->
    > <script language="JavaScript" type="text/javascript"
    > src="
    http://pub8.bravenet.com/counter/code.php?id=395396&usernum=635540990&cpv=2
    > ">
    > </script>
    ... simply won't run in a Flash movie because there's nothing
    to run it.
    You'll either have to use one of the ActionScript solutions
    for posting
    variables (such as loadVariables() or the LoadVars class) --
    and even that
    may not work, because I'm guessing the bravenet.com PHP form
    returns data
    relevant to JavaScript -- or leave room in your HTML code for
    both a SWF
    file (your Flash movie) and such JavaScript snippets.
    > I want to put a scroll bar in my flash website how
    > can i do it?
    Look in your Components panel and use the ScrollPane
    Component.
    David
    stiller (at) quip (dot) net
    Dev essays:
    http://www.quip.net/blog/
    "Luck is the residue of good design."

  • Uploaded html code is reformatted

    I've asked this before but not had a comprehensive resolution.
    This issue began when I moved from my apple powerpc running OSX 10.5.8 to an imac running 10.7.3 and for the reasons you'll see I'm sure this is connected with mac OS than dreamweaver, but I would appreciate any feedback from anyone else who has experienced this problem.
    The Problem:
    The code in html files uploaded using dreamweaver or filezilla get reformatted into one continuous line. In itself this is not a problem until javascript is included. Javascript won't function without linebreaks and so menus and galleries all stop functioning. If I download the file I can reformat the page but that doesn't stop the problem. The source code as viewed in the browser is one continuous line and that's what the browser seems to be reading.
    Work around
    My work around so far has involved connecting my drive up to my old machine and uploading  javascripts from there (using dreamweaver4 for powerpc). Trouble is, my powerpc power unit has now died and I don't have that option, and occasionally I actually would like to see the javascript or spry references in the document and not buried in server side includes. I'm now using my laptop running dreamweaver 8 just to upload files
    So all this would suggest that it's not a dreamweaver issue. All the files are created using dreamweaver 5.5 and upload perfectly well using older versions or filezilla as long as I use an older apple OSX.
    Has anybody alse had this?
    Billy the kid

    Essentially when you're uploading your files, dreamweaver has removed all the carriage returns.
    I believe a preference in Dreamweaver.
    It's called All in line Code.
    It's commonly used by companies that want to make their html code difficult to read.
    Have a look at google.com's source code and you'll see that it's nasty difficult to read.
    I'm not sure where the preference is in Dreamweaver, but I read somewhere a long time ago that it was a feature that you could enable for your website.
    You should be able to disable it for any of your java scripts, and enable it for your HTML pages.
    Or disable it all together.
    Call Adobe and get them to help you find it.  If it's a legit copy of Dreamweaver, I'm sure they'll be more than happy to help out!  The worst wait time I've had with them is like 15 minutes.  Not bad...
    HTH
    -Graham

  • Translating html code into.. web page

    If I am downloading an HTML document from the WWW, i.e. a web page, how can I handle it so that what is actually shown on my GUI component (which is of type JTextArea) is the final "page" (as shown by any standard Web browser) rather than just html code?

    You can use a JEditorPane with its content type set to "text/html".
    You may it helps to call editorPane.setEditable(false) as well.
    Have a look at the Javadocs for JEditorPane for examples.
    Hope this helps.

  • How to di-activate CR 'Enter Key' HTML Code?  How to increase the the font of DW Help Explanations

    Hi,
    1.  How to di-activate <CR> 'Enter Key' HTML Code?
    2. How to increase the the font of DW Help Explanations?

    1.  How to di-activate <CR> 'Enter Key' HTML Code?
    Enter = paragraph <p>
    Shift + Enter = line break <br>
    To adjust browser default line spacing between paragraphs and headings, use CSS.
    p {
         text-indent: 4em;
         margin-top: 0;
         margin-bottom: 0;
         line-height: 1.2em;
    Does this help?
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics |  Print | Media Specialists
    www.alt-web.com/
    www.twitter.com/altweb
    HTML Validator - http://validator.w3.org
    CSS Validator - http://jigsaw.w3.org/css-validator/
    Tutorials  - http://w3schools.com/

Maybe you are looking for

  • Problem in conventing word/excel documents to pdf file.

    Dear all, I have got a rather strange error in by Acrobat 9 Pro in Windows 7 Pro which made me rather frustrating. Recently our office has brought 2 Lenovo PC set and have reinstatlled all the software e.g. Office 2007, Acrobat 9 Pro (updated to 9.4.

  • Field name not known   in old existing report.

    We have a report that we have used for a long time and has always been fine.  Today when we open it  it says data will be lost because "Field name not known".   So you click ok and look at the report in design and the report is missing a bunch of fie

  • Database Refresh with (data + metadata including views, functions etc)

    PROBLEM: I want to refresh data + metadata (tables, views, function, procedures, packages, triggers, package body etc) from one database to another database. Now if objects already exists in the TARGET database, then we have option as TABLE_EXISTS_AC

  • Viewer Builder on PC in Future?

    Are there any plans to make the viewer builder available for PC users?  Or is that not ever possible?  I don't have access to a Mac and have no way of building a custom viewer.... Thanks, Greg

  • Observer pattern in BC4J?

    Just wondering if anyone has implemented a publisher/subscriber (or observer) pattern with BC4J? For instance, has anyone implemented an application module supporting multiple clients that allows clients to call a method to send a message to all the