Separating "concatenated responses" with a carriage return?

How can you separate multiple text responses with a carriage return?
Nothing looks good, semicolons and periods not working well.
Any ideas?

I'm using a Mac.
I'd like to separate individual responses in the summary column with a carriage return, so if the first response in the table column is "Fortunate" and the next response below it is "Random", and then "Bob's your uncle", what shows up right now with =concatenate(@column & ";  ") isn't quite what I want (shows up as: Fortunate;  Random;  Bob's your uncle;  ).
I'd like it either to show up as numbered responses (ie, 1. Fortunate  2. Random  3. Bob's your uncle)
Or show up as:
Fortunate
Random
Bob's your uncle
Thanks for the help.

Similar Messages

  • Run quickSearch with the carriage-return key

    Hi to all,
    I am using JDeveloper 10.1.2 and developing an application using ADF Business Components and JheadStart 10.1.2.
    JHS built the application and i need to do some post-generation.
    I need to run quickSearch with the carriage-return key.
    To do that, i replace
    <messageTextInput id="searchText" name="searchText" text="${searchBean.searchText}" rows="1" maximumLength="255" columns="60"/>
    by
    <messageTextInput id="searchText" name="searchText" text="${searchBean.searchText}" rows="1" maximumLength="255" columns="60">
    <enterClientAction>
    <fireAction event="quickSearch"/>
    </enterClientAction>
    </messageTextInput>
    The problem is the carriage-return action go systematically to the BackButtonErrorPage.
    How can i solve this problem ?
    Is it a good solution ?
    Sorry, if my english is not very well.
    Thanks
    Laurent

    Thank you Martijn for your help
    I tried your solution :
    In UIX :
    <messageTextInput id="searchText" onKeyDown="if(window.event.keyCode==13) doSearch(event,'goSearchButton');" name="searchText" text="${searchBean.searchText}" promptAndAccessKey="&amp; de recherche" rows="1" maximumLength="255" columns="60"/>
    <button id="goSearchButton" name="goSearchButton" onClick="doDataEvent('quickSearch','quickSearch', 'true' );" text="${nls.GO}"/>
    In javascript :
    function doSearch(e, buttonName) {
    buttonToClick = document.getElementById(buttonName);
    buttonToClick.click();
    The behaviour is the same, i often go to the BackButtonErrorPage but not systematically.
    But if i use the search button, i never go to the BackButtonErrorPage.
    I don’t undersand,
    Anybody has an idea ?
    Regards
    Laurent

  • Pasring multiple fields into the Description field with a carriage return between each in Orchestrator

    I have a Service Request that is entered in through the Self Service Portal.  This service request has 4 different prompts in the Request Offering.
    This will actually eventually become a Change Management Request.
    What I would like to do, is grab the 4 User Inputs, and place them in the Description field of the Change Management Request.  I can get them to show up in the Description, however, I would like to be able to add a carriage return between each User
    Input (along with a description of what's being put in).  How can I do that?
    Right now, it looks like this Username: Name Manager: Manager
    Start Date: Start Date Needs Mail?: Y or N
    I want it to look like this:
    Username: Name
    Manager: Manager
    Start Date: Start Date
    Needs Mail?: Y or N

    Thank you.  This is what I was looking for.
    For those figuring out what to do:
    Add the Run .Net Script command to your Runbook.
    Under Details, selec PowerShell for the Type, and in the Script $Desc = "Username:
    Username field from the Published Data" + "`n" + "Manager: Manager field from the Published Data" + "`n" + "Start Date:
    Start Date field from the Published Data" + "`n" + "Needs Mail:
    Needs Mail field from the Published Data"
    ($Desc is just the variable I used, and can be whatever you want)
    Under Published Data, Add the field you want to output and make the Variable name what you used above without the $
    Then do Update Object and Update the Description with the published data from your PowerShell Command.
    I do this, and my data is passed successfully and it shows up in my notifications, however the carriage returns are not there. It looks the same as it did before I added the powershell right before Update Object. 
    ? Anybody else not getting this to work ? 

  • Oracle Apps RDF Report generates file with ^M (Carriage return) characters

    We are upgrading from 11i to r12 (also moving from HP unix to AIX on hardware side) and this rdf report generates a text file which is then eventually sent to a third party system for printing. Report works just fine in 11i as it generates a file without any ^M chars but in R12 environment, the same report generates file with ^M chars.
    Also want to understand how the Oracle Apps system hands over the output files to O/S which is saved.
    Pls advice
    Thanks
    Ram M.

    What type of concurrent program are we talk about here?
    This is a Report type of Concurrent program
    How does the text file get generated?
    Report is generating a Text file on :desname, a custom folder. 
    Was the binary mode used to copy the files from the old server to the new one?
    I believe RDF Reports were copied over in Binary format but none of the text files generated from old server are copied over.

  • Read Only TextAreas with Carriage Return, Line Breaks and Word Wrapping

    Hi all,
    I know there are a few posts around this subject but I cannot find the answer to the exact problem I have.
    I have a page that has a 'TextArea with Character Counter' (4000 Chars) that is conditionally read only based on the users credentials (using the 'Read Only' attributes of the TextArea item).
    When the field is editable (not Read Only) everything works fine but when I make the field Read Only I start to have problems:
    The first problem is that the Carriage Return and Line Breaks are ignored and the text becomes one continuos block. I have managed to fix this by adding pre and post element text of pre and /pre tags. This has made the Carriage Return and Line Breaks word nicely and dispaly correctly.
    However, it has introduced a second problem. Long lines, with no Carriage Returns or Line Breaks, now extend to the far right of the page with no word wrapping, making my page potentially 4000+ characters wide.
    How can I get the field to be display only, with recognised Carriage Returns and Line Breaks, and Word Wrapping inside a fixed width of, say, 150 characters?
    Many thanks,
    Martin

    Hi,
    Just a cut and paste of yours with the field name changed:
    htp.p('<script>');
    htp.p('$x("P3_COMMENTS").readonly=true;');
    htp.p('</script>');I also have the following in the page HTML Header, could they be conflicting?
    <script type="text/javascript" language="JavaScript">
    function setReleaseToProd(wpTypeCode){
       //setReleaseToProd($v(this))
      var get = new htmldb_Get(null,$v('pFlowId'),'APPLICATION_PROCESS=set_release_to_prod',0);
      get.addParam('x01',wpTypeCode);
      gReturn = get.get();
      if(gReturn) {
         $s('P3_RELEASE_TO_PROD',gReturn);
      get = null;
    </script>I am a long way from knowing much about Javascript (this page code was written by someone else) so all help is much appreciated.
    Martin

  • How to include a carriage return in a TestStand string variable

    Is there anyway to add a carriage return to a TestStand string variable. I am sending commands to an instrument using the Rs232 serial bus and they need to be terminated with a carriage return ie "\r". I know you can creat a DLL and return the string variables to TestStand but is there a beter way ?

    Hi Paul,
    Sorry about that, just noticed I left off the "" in my last response.
    Try "\\r".  that should solve it.
    Regards
    Ray Farmer
    Message Edited by Ray Farmer on 09-15-2005 09:14 AM
    Regards
    Ray Farmer

  • Outputting XML carriage return in HTML via XSLT

    Hi,
    I have a scenario where I execute a View Object query in ADF to retrieve results from a particular table in the Database. I then iterate through the results in my Java managed bean and manually construct an XML file with all the appropriate tags. I then pass the XML file through a Transformer class in the Java bean based on an XSLT I have created to produce an HTML page. However I have an issue when it comes to handling carriage returns. One of the database table columns can contain carriage returns within its value but in the final HTML page the carriage returns don't have any effect and the text just displays on one line.
    In the database, the values are stored with the carriage return and in SQL Developer, Toad etc this can be seen e.g. Text1 Text2 Text3 Text4 will display on separate lines. In the XML, the carriage return seems to still be there as when I open the file my element which contains the carriage returns shows each part on a new line e.g. <textElement>Text1
                                                           Text2
                                                           Text3
                                                           Text4</textElement>     (The Text2, Text3 and Text4 all start on a new line at the beginning and there's no prior white space as shown in this post)
    The XML file in JDeveloper also shows carriage return arrow symbols where there is one.
    The HTML page just shows them as Text1 Text2 Text3 Text4 all on one line. Inspecting the source of the HTML shows that the carriage return is in fact there as it also displays as per the XML with the values on separate lines.
    Outputting the value from the View Object in Java to the log shows the value coming out like this - Text1 Text2Text3Text4, which is strange but I know the carriage returns are there so I'm not too fussed about this.
    I have tried escaping the characters in the Java by doing str.replaceAll("[\\r\\n]", ""); (but replacing the "" with &#xD; &#xA; or &x0A;) so in the XML it replaces carriage returns and line feeds with these escaped characters. However, when the XSLT parses the XML it doesn't pick these up and instead actually outputs these actual characters as they are e.g. Text1&x0A;Text2&x0A;Text3&x0A;Text4
    So I can confirm that the carriage return is carrying all the way through to the XSL but I can't help but think that maybe I need to do something in the XSL to process this somehow, e.g. doing the equivalent of the 'replace' in Java but I don't know what I need to search for in the XML and also what to actually replace it with..Do I just replace it with a </BR> in HTML?
    We also parse the XML using PDF and Excel XSL Transformer class and see the same results.
    Any help would be appreciated.
    Thanks

    That's a very commonly asked question.
    HTML doesn't preserve linefeeds, except for the <pre> tag.
    You'll have to replace those characters with <BR/> tags in the XSLT.
    Search the Internet for terms like "XSLT HTML LF", you'll find some XSLT sample templates to handle the replacement.

  • How to replace an html br tag in the field to a carriage return?

    Hi All,
    I have a requirement to replace the <<br>> tag in the text field with a carriage return character "
    Currently the data in the Comments field looks like :
    "20100627 -115541 SECURITY WILL MEET AT MAIN ENTERANCE"<<<br>>"20100627 -115605 Officer notified: ALPHA : DF-10-011891; ST VINCENTS HOSPITAL, ST VINCENTS HOSPITAL, SAINT VINCENTS HOSP, MERRION RD, MERRION, BOOTERSTOWN, DUBLIN; FIRE/ALARM ACTIVATION;'<<br>>'20100627 -115609 PDA MOBILISED AFTER AMENDMENT VIN1'<<br>>'20100627 -"
    The <<br>> break tag was used for HTML purpose and now I would like to replace it with a carriage return character for BI Publisher report.
    Appreciate3 your help.
    Regards
    B
    Edited by: Bees on Jul 21, 2010 4:36 AM

    I downloaded your html template and it works fine for that template and the xml, but in my case it is not working. I need to assign the template just for one field called "Comments" where I need <<br>> tag to work.
    I modified the html as you suggested with the Tidy software, here is what I have done may be you can help me here. I very much appreciate your help.
    1. I have imported the template with the tag <<?import:file:///C:/dfb/biPub/code/htmlmarkup.xsl?>> and it works fine.
    2. Assigned the xsl - assign-template to the comments field.
    <xsl:apply-templates select="Fact._COMMENTS_" />
    *** IncidentsFact_._COMMENTS is the field name where it has <<br>><</br>> embedded into the comments data.
    Edited by: Bees on Jul 30, 2010 6:29 AM

  • Carriage return in textarea - how do I check for and remove it???

    I have an html form that has a <textarea> element for user input. I work mainly with Java and some JavaScript. Since carriage returns are permitted in a <textarea> element, upon retrieving the value submitted, my Java and/or JavaScript variables contain carriage returns as well, making the values incomplete.
    For Example :
    String dataSubmitted = request.getParameter("formInput");
    <script language="JavaScript">
    var textValue = "<%=dataSubmitted%>";
    ....//do other stuff
    </script>When I view the source of my JSP page, the above statement of code looks like this:
    var textValue = "This is some text that
    I submitted with a carriage return";I'm putting the text submitted through this form into a mysql database, and when I pull up the values I find that it has recorded the carriage return as well. There is an actual symbol representing a carriage return in the db field.
    What I'd like to do is use some Java code to go through each character of the String and find and remove the carriage return, perhaps replacing it with an empty space instead. But how do I check for a carriage return in a String variable?
    Also, is there a way to use JavaScript to alert the user when the carriage return button is pressed when they're in the <textarea>?
    Any input is appreciated,
    Thank You,
    -Love2Java

    What I'd like to do is use some Java code to go through
    each character of the String and find and remove the
    carriage return, perhaps replacing it with an empty
    space instead. But how do I check for a carriage return
    in a String variable?The carriage return is represented by the \r. Generally there is also a newline, the \n. You can use String#replaceAll() to replace occurences of them by a space.
    string = string.replaceAll("\r\n", " ");
    Also, is there a way to use JavaScript to alert the user
    when the carriage return button is pressed when they're
    in the <textarea>?You can capture keys using the 'onkeypress' attribute. The keyCode of a the return key is 13. So simply catch that:<textarea onkeypress="if (event.keyCode == 13) alert('You pressed the return button.'); return false;"></textarea>The return false prohibits the linebreak being inserted. If you remove that, then it will be inserted anyway.

  • Carriage Returns and Tabs in XML element

    I have a number of carriage returns and tabs within an xml element. When I take that element I would like it to transform to html in which I am then displaying within a JEditorPane. However, when I do this it is one long string. I have tried the xml:space="preserve" within that element and this still is not working.
    Here is part of the xml with the carriage return line feeds. The element that I am talking about is called pseudocode. You can see it is displayed correctly below.
    Design Document XML : <?xml version="1.0" encoding="ISO-8859-1"?><design-doc><title-page><title>Testing Document</title><class-prepared-for>Lloyd</class-prepared-for><authors>Ben Garbers</authors><date-created>September 23, 2004</date-created></title-page><introduction text="This is the introduction. This is the introduction."/><class-definitions><class-definition class-name="ClassOne" visibility="public" class-complexity="not complex"><global-variables><variable visibility="public" name="VariableOne" object="String" comments="This is a String."/><variable visibility="public" name="VariableTwo" object="Integer" comments="This is an Integer."/></global-variables><methods><method name="MethodOne" synopsis="This will do some things." purpose="public" visibility="public"><input-parms><variable visibility="null" name="firstName" object="String" comments="null"/></input-parms><output-parms><variable visibility="null" name="lastName" object="String" comments="null"/></output-parms><local-variables><variable visibility="null" name="age" object="int" comments="null"/></local-variables><pseudocode xml:space="preserve">/* Ensure that player name exist in the system*/
    if (player =null)
         NullPlayerException;
              if (NOT (isPlayerNameExist(player)))
                   throw PlayerNameNotExistException;
              /* Ensure player name exist in the team already*/
              i ? 1;
              while (i <= length(mPlayers)) {
                   if (mPlayers.mPlayerName != playerName)
                        throw PlayerNameNotExistInTeamException;
    this.mPlayers ? this.mPlayers - player;</pseudocode>
    However, when I do the transformation I get the following with the pseudocode:
    /* Ensure that player name exist in the system*/if (player =null)     NullPlayerException;          if (NOT (isPlayerNameExist(player)))               throw PlayerNameNotExistException;          /* Ensure player name exist in the team already*/          i ? 1;          while (i <= length(mPlayers)) {               if (mPlayers[i].mPlayerName != playerName)                    throw PlayerNameNotExistInTeamException;}this.mPlayers ? this.mPlayers - player;
    It looks like it adds some spaces but no carriage returns or line feeds.
    My transformation code is the following:
         public ParseFile(String xmlString) {
              try {
              //Here we will load the correct style sheet for the message
              //that will be formatted.
              String urlString = "DesignDocument.xsl";
              URL url = this.getClass().getResource(urlString);
              System.out.println("URL to style sheet = " + url.toString());
              String styleSheetName = url.getFile();
              System.out.println("Style sheet name : " + styleSheetName);
              InputStream styleSheetInputStream = this.getClass().getResourceAsStream(urlString);
              //We will than load our SAXParerFactory and parse the message.
              SAXParserFactory SPFactory = SAXParserFactory.newInstance();
              SPFactory.setValidating(true);
              SAXParser sp = SPFactory.newSAXParser();
              XMLReader sax2parser = sp.getXMLReader();
              //NO Validation done on for this because we do NOT have a DTD.
              sax2parser.setFeature(
                   "http://xml.org/sax/features/validation",
                   false);
              sax2parser.setContentHandler(new FileContentHandler());
              //we create a character array of the length of the xml message String
              char[] messageCharacterArray =
                   new char[xmlString.length()];
              // we then put the xml string into the character array.
              messageCharacterArray = xmlString.toCharArray();
              // after this ew end up creating a CharArrayReader that will be used by the Sax
              // parser to parse the xml.
              CharArrayReader xmlCharArrayReader =
                   new CharArrayReader(messageCharacterArray);
              // we put the xml character array within the Input Source which will then be parsed
              // by the Sax2 parser.
              InputSource in = new InputSource(xmlCharArrayReader);
              // Use a Transformer for outputting the message into our formatted xml using
              // the stylesheet defined up in a messages own sxl stylesheet file.
              TransformerFactory tFactory = TransformerFactory.newInstance();
              tFactory.setURIResolver(new BasicURIResolver());
              StreamSource stylesource = new StreamSource(styleSheetInputStream);
              Transformer transformer = tFactory.newTransformer(stylesource);
    //          transformer.setOutputProperty(OutputKeys.INDENT, "yes");
    //          transformer.setOutputProperty("{http://xml.apache.org/xslt}indent-amount", "2");
    //          Properties properties = new Properties();
    //          properties.setProperty("indent", "yes");
    //          properties.setProperty("{http://xml.apache.org/xslt}indent-amount", "2");
    //          transformer.setOutputProperties(properties);
              // We will use a ByteArrayOutputStream to put our transformed xml.
              ByteArrayOutputStream bos = new ByteArrayOutputStream();
              StreamResult result = new StreamResult(bos);
              SAXSource source = new SAXSource(in);
              transformer.transform(source, result);
              String s = bos.toString();
              StringBuffer sb = new StringBuffer();
              //This will make sure the Version Line is not shown.
              BufferedReader br = new BufferedReader(new StringReader(s));
              String line = "";
              while ((line = br.readLine()) != null) {
                        sb.append(line);
              bos.close();
              br.close();
              formattedXmlString = sb.toString();
              System.out.println("--------------------------------");
              System.out.println(formattedXmlString);
              System.out.println("--------------------------------");
              } catch (Exception e) {
                   e.printStackTrace();
    I have been searching and trying to figure this out forever. Any help would be greatly appreciated. Bottom line is that I want carriage returns and tabs to work when transferring from the xml to xsl.

    I get the following line when adding the <pre> tags.
    /* Ensure that player name exist in the system*/if (player =null)     NullPlayerException;          if (NOT (isPlayerNameExist(player)))               throw PlayerNameNotExistException;          /* Ensure player name exist in the team already*/          i ? 1;          while (i <= length(mPlayers)) {               if (mPlayers[i].mPlayerName != playerName)                    throw PlayerNameNotExistInTeamException;}this.mPlayers ? this.mPlayers - player;
    On the screen this is shown on 1 line. It looks like the tabs are working correctly. However, the carriage return, line feeds do not seem to be working. The xml that is pushed into the transformation has the carriage returns and line feeds and is formatted correctly. There has to be something happening when the xsl takes the xml String. When I add <BR></BR> within the xml that doesn't seem to work either.
    I am really sumpted. If you could help DrClap I would really be appreciated.

  • Storing carriage return and other special characters in a TestStand variable and passing to LabVIEW

    I am using TestStand step to call a LabVIEW VI that writes commands to a serial device.  The device expects a carriage return at the end of the command.  I can create a constant string in TestStand with the carriage return, e.g., "ATA\x0D" and pass that to a LabVIEW string control which shows ATA\r and the VI works properly.
    To provide consistency and flexibility in my code, I want to store the terminator character(s) in a TestStand variable.  However, when I try to use an expression to create the command string, i.e. "ATA" + "Locals.Terminator", where Locals.Terminator is set to "\x0D", my LabVIEW VI string control shows "ATA\\x0D" which doesn't work.  And when I try Locals.Terminator set to "\r", the LabVIEW string control shows "ATA\\r" which doesn't work either.
    Is there a way to store special characters in a TestStand variable and pass them to LabVIEW as special characters?  I saw in another post that if you edit the TestStand variable by pressing Cntl-Enter, it will store  the newline \n properly and it can be sent to LabVIEW - that works for me as well for \n.  But  I need to send a carriage return.
    I've attached my test sequence and the corresponding LabVIEW VI with a string control.
    Hans
    Attachments:
    Special Chars.seq ‏27 KB
    String Passing.vi ‏13 KB

    Hi Hans, 
    Thanks for your detailed explanation and examples.  In TestStand, change the String parameter's String Type to Binary String instead of ASCII.  Then it will pass the desired value.
    Cheers,
    David Goldberg
    National Instruments
    Software R&D

  • Carriage return in TextArea Flash component in Director 11

    Hello.
    I have a very big problem now
    Neither embedded Flash movies with textareas or standard flashcomponent TextArea from Director tool pallete do not react on keyboard button "Enter" pressings. There is no carriage return after ENTER button is pressed. The same with End and Home buttons!!
    Please help with any advise.
    Is that a common bug?
    See attached test.dir file. Try to type something in both textareas and then press ENTER button on keyboard. You should realize then what I'm crying about(((
    Alexey

    I too struggled with this issue. If you're looking for a solution still I have written one. Used the attached script in your Flash document, I spent a few days going back and forth between Director and Flash to figure this one out. Basically what I do is attach a key listener to the movieclip containing the textfield object that on keyDown gets the currently focused textField (this way it will work with multiple textField objects). After that it determines if the enter key is hit and if it is inserts a "/n" break at the selection starting point. The only issue is if you select a whole word in the textField and hit enter a break will be placed at the beginning of the highlighted word and that word will not be deleted. Hopefully this helps.
    -b
    // BY / contempt.productions inc.  10.30.09
    // Director 11.5 fix for bug where dynamic textfields don't register ENTER or RETURN key in Flash sprites
    // Solution involves inserting a \n carriage return wherever cursor insertion point starts.
    // In Flash this adds 2 carriage returns for every hit of the enter/return key
    // In Director 11.5 it adds 1 carriage return
    // Change "body_txt" to represent the dynamic textField object this script is referencing
    myListener = new Object();
    myListener.onKeyDown = function() {
    _global.textFocus = Selection.getFocus();
    // get a string of the path to the currently focused textField object
    _global.selStart = Selection.getBeginIndex();
    // get the insertion point, this is the start of any selection
    var multiText = body_txt.text;
    // get the text from the current textField object
    var theKey = Key.getCode();
    // get the current keyCode (13 is the keyCode for "enter/return" key)
    if (eval(textFocus) == eval(body_txt)) {
    // determine if focused textField and current textField are the same
    if (theKey == 13) {
    // enter key is pressed
    var firstPart = multiText.slice(0, selStart);
    // get the current textField's text from the beginning to the insertion point
    var secondPart = multiText.slice(selStart, multiText.length);
    // get the textField's text from the insertion point to the string's end
    body_txt.text = firstPart+"\n"+secondPart;
    // concatenate the first and second part of the textField's text with a carriage return
    Selection.setSelection(selStart+1,selStart+1);
    // place the text insertion point properly
    myListener.onKeyUp = function() {
    var theKey = Key.getCode();
    Key.addListener(myListener);

  • Barcode Carriage Return Function not working in Forms 6i

    Dear All,
    I m using Oracle Forms 6i with OS Windows 2000 Professional
    When I receiving Data from Barcode slot reader RS232 interface, carriage Return funtion not working in the forms 6i for e.g Barcode is *12345$M*
    ('$M' for carriage return). Full ASCII code enabled in my slot reader and carriage return switch is also on, its working fine on note pad.
    Please help me in this regard
    Thanks in Advance

    Hello Muhammad,
    Thanks for your reply, but unfortunately, this would not work.
    Indeed, when I scan a barcode, the cursor is already in the text field and no event is triggered.
    This idea is not to replace the Carriage Return but to have a When-Validate-Item with the Carriage Return sent by the barcode reader.
    In Forms, when I scan in a multi-lines text field, the string is displayed and the cursor goes to the next line
    But when I scan in a single line text item, it displays the strings but nothing else.
    Kind Regards,
    Olivier

  • Div tab with no carige return, is it possible?

    HI! Is it possible to have a div tag with no carriage return,
    I notice that
    if we have an text or an image and insert an div tag with
    content in it that
    in code view it will automatically add a carriage return (
    meaning that in
    design view that text or image is not in line with the
    content of the div
    tag).
    Is there a way around this. ( perhaps css? but how?).
    Paul

    Murray *ACE* wrote:
    > You're welcome, Paul.
    >
    >
    > "Paul" <[email protected]> wrote in message
    > news:[email protected]...
    >> Murray *ACE* wrote:
    >>> A block element (table, div, h#, hr, p, etc.)
    forces a new line on the
    >>> page within its container. An inline element
    does not. That's why you
    >>> can have adjacent images but not adjacent tables
    (using default
    >>> placements) or adjacent paragraphs. Thus, in the
    flow of the code on
    >>> the page, block elements begin on a new line,
    and push subsequent
    >>> content to a new line. But there is no carriage
    return involved - it's
    >>> just the way the page works.
    >>> By floating the block element, you 'remove it
    from the flow' in a way
    >>> that
    >>> does NOT necessarily force subsequent content to
    a new line. Multiple
    >>> adjacent divs, each floated left, will align
    across the page like
    >>> soldiers.... 8)
    >>>
    >>> Of course, you would have to clear the float
    afterwards to avoid layout
    >>> problems further down the page.
    >>>
    >>>
    >>> "Paul" <[email protected]> wrote in
    message
    >>> news:[email protected]...
    >>>> Murray *ACE* wrote:
    >>>>> That would be one way. A better way
    would be to float the div,
    >>>>> leaving it
    >>>>> as a block element.
    >>>>>
    >>>>> div { float:left; }
    >>>>>
    >>>>> And there is no carriage return at all.
    All block elements sit on
    >>>>> their
    >>>>> own line - that's how HTML works.
    >>>>>
    >>>>>
    >>>>> "Paul" <[email protected]>
    wrote in message
    >>>>>
    news:[email protected]...
    >>>>>> Paul wrote:
    >>>>>>> HI! Is it possible to have a div
    tag with no carriage return, I
    >>>>>>> notice
    >>>>>>> that if we have an text or an
    image and insert an div tag with
    >>>>>>> content
    >>>>>>> in it that in code view it will
    automatically add a carriage return
    >>>>>>> ( meaning that in design view
    that text or image is not in line with
    >>>>>>> the
    >>>>>>> content of the div tag).
    >>>>>>>
    >>>>>>> Is there a way around this. (
    perhaps css? but how?).
    >>>>>>>
    >>>>>>> Paul
    >>>>>>
    >>>>>> HI! all, the solution to this and
    other block elements is to use CSS,
    >>>>>> you
    >>>>>> can specify a DIV to be an inline
    element.
    >>>>>>
    >>>>>> example:
    >>>>>>
    >>>>>> div {
    >>>>>> display: inline;
    >>>>>> vertical-align: bottom;
    >>>>>> }
    >>>>>>
    >>>>>> This will align text and a div next
    to it without a carriage return
    >>>>>> or line break.
    >>>>>>
    >>>>>> Here is another example of a block
    element behaving like an inline
    >>>>>> element.
    >>>>>>
    >>>>>> h1 { display: inline; }
    >>>>>>
    >>>>>> Well that's it. Hope this helps
    someone :)
    >>>>>>
    >>>>>> Paul
    >>>>
    >>>> HI! Thanks murray. btw what do you mean by
    "All block elements sit on
    >>>> their own line" as oppose to others that
    don't?
    >>>> can you explain a bit more. :)
    >>>>
    >>>> Paul
    >>
    >> HI! Thanks alot for the explanation. :)
    >>
    >> Paul
    HI! for some reason it did work with the code that I am
    using. I am using
    swfobject to insert a flash button. the swf code is using a
    div and when I
    tried using the float option the button was not displayed at
    all. I have
    inserted the swf code at the bottom.
    What I tried instead was to create a name for the tag
    selector and use it on
    the div that holds the flash button to be inlined.
    div.inlineflashcontent {
    display: inline;
    vertical-align: bottom;
    float: none;
    This way only the that div will be inlined. below is the swf
    code that I am
    using for the flash insertion. Do you know why the float
    option does not
    work with the code below?
    Paul
    ***********SWF code and script for flash insertion
    <div class="inlineflashcontent" id="flashcontent">
    Error! You either have jscript turned off or you do not have
    a flash
    plugin.<BR>
    <a href="Errors_warnings/flash_
    not_detected.asp">Click here to get
    plugin.</a></div>
    <script type="text/javascript">
    // <![CDATA[
    var so = new SWFObject("chat_goto_button.swf", "fotester",
    "83", "12",
    "8.0.22", "#FFFFFF", true);
    so.addVariable("flashVarText", "this is passed in via
    FlashVars");
    so.addParam("wmode", "transparent");
    so.write("flashcontent");
    // ]]>
    </script>
    ***************End of SWF code***************

  • Carriage return with concatenation

    Hi, I have an address table that has the address, city, state, and zip. I'm trying to make a select statement that will display each field on a line. I want to place address, city, state, and zip into an Alias Address. Is there a char value that I can use to do the carriage return?
    Select address || city || state || ', ' || zip AS "Address" From address;
    I want the output to be like:
    address
    city
    state, zip
    I just need to know what to put between the address, city and state to make them go on their own line.

    SQL> SELECT
      2  'John Doe'
      3  || CHR(10)
      4  || '100 Main St.'
      5  || CHR(10)
      6  || 'Anytown, USA  00000' address
      7  FROM DUAL
      8  /
    ADDRESS
    John Doe
    100 Main St.
    Anytown, USA  00000HTH,
    T.

Maybe you are looking for

  • Drop down list in Table Control - Value disappeared after pressing ENTER

    Dear Gurus, I have a problem in one of my development where I used a table control in which one field is a drop down list. I used VRM_SET_VALUES and VRM_GET_VALUES for populating the values from the programand not use any domain level value table for

  • InvalidCategory error when publishing a Web Service

    I am using EM to deploy an EAR file and publish a Web Service, which is a simple Java class. But I got following error: The application was deployed successfully, but an error occurred while publishing the web services. You can attempt to re-publish

  • Free issue COGS not updating

    Hi, I am having a scenario where i have different pricing procedure which gets triggered in Delivery and through BDC we update the value from that. It working fine for normal sales order but in Free Issue i am getting an error as the other pricing pr

  • Itunes broken

    Itunes cannot be open because of a problem. Process:         iTunes [360] Path:            /Applications/iTunes.app/Contents/MacOS/iTunes Identifier:      com.apple.iTunes Version:         ??? Build Info:      iTunes-1115011001005005~2 Code Type:    

  • Photoshop CS5 doesn't respond to Lightroom

    Hi. I have this posted in the Lightroom forum, but am getting no responses. Thought maybe there would be a response here in the Photoshop area. I have just recently upgraded both Photoshop CS4 to CS5 and Lightroom 2.7 to 3.0. They're great upgrades a