Paragraph and line break tags not working in inserted html

I used some code found on this forum to insert a text box with a scoll bar. The scroll bar is exactly what I needed, and I figured out how to style the text (using the text option that popped up on the far right side of the options bar), but for some reason the text all runs together. The <p> </p> tag is not creating the extra lines, nor could I get extra lines with <br/>. How can I get my paragraph spacing to show up?
Here is the forum discussion: http://forums.adobe.com/message/4514956
Here is the code I used:
<style type="text/css">
     .scroll {     
         padding: 10px;     
         height: 280px;
         width: 450
0px;
         overflow-y: scroll;
overflow-x: hidden;;
</style>
<div class="scroll">
    <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.
       Aliquam venenatis elit et dui scelerisque id condimentum
       tellus mollis. Phasellus varius augue at lectus egestas
       sit amet dapibus sem interdum. Vivamus aliquet augue vitae
       magna porttitor eget sagittis quam convallis. Integer aliquam
       sodales odio vel aliquet. Suspendisse non orci ut quam
       ultricies iaculis vitae vel neque. Sed sit amet neque a dui
       adipiscing convallis. Nam consectetur commodo arcu, eget
       feugiat risus tempus non. Suspendisse dignissim porta risus,
       eu lobortis metus facilisis non. Mauris id lacus eu tellus
       porttitor sodales in sed enim. Mauris euismod libero sed mi
       ultricies ac vehicula tellus tristique. Donec lacus tellus,
       varius sit amet mattis at, feugiat sed ante. Duis auctor
       iaculis aliquet. Vivamus fringilla nisi non eros congue
       dapibus. Praesent quis molestie mauris. Donec adipiscing
       dui ut elit interdum eu scelerisque sem pellentesque.
    </p>
    <p>Nulla pharetra nisl adipiscing ipsum fringilla at auctor
       ipsum posuere. Etiam ac dolor turpis. Nam non ligula purus.
       In metus nisl, ullamcorper ac sodales quis, molestie id leo.
       Etiam faucibus dui at eros molestie interdum. Quisque quis
       eros vel urna fermentum iaculis. Quisque vestibulum erat in
       risus lobortis malesuada rhoncus purus vestibulum. Integer
       vehicula ultrices quam, ac faucibus dui tristique sed. Duis
       nec felis mauris. Morbi non neque turpis, at lobortis mauris.
       Fusce a turpis sit amet leo ullamcorper semper et dignissim
       sem. Phasellus lacinia sodales massa, eget egestas velit
       malesuada at. Quisque feugiat erat in dolor eleifend ut
       convallis ante vehicula. Aenean a turpis neque, vitae eleifend
       augue. Class aptent taciti sociosqu ad litora torquent per
       conubia nostra, per inceptos himenaeos. Nunc porta, massa
       at viverra tincidunt, quam sem pellentesque felis, sed
       mattis lectus arcu eu turpis.
    </p>
    <p>Sed rutrum iaculis vulputate. Duis sed lectus lacus. Etiam
       faucibus, libero id placerat congue, turpis leo varius magna,
       vitae dapibus neque libero eu elit. Vivamus quis urna sed
       nibh elementum sodales quis in dolor. Sed ut metus ut metus
       facilisis fringilla vel sit amet mi. Etiam placerat lectus
       sed nibh bibendum vulputate non rhoncus est. Quisque vulputate
       luctus tincidunt. Duis quis tortor massa, sed scelerisque elit.
       Nam id vulputate orci. Morbi a porta lorem. Nunc elementum
       viverra sem quis blandit. Cras vel eros erat. Aliquam erat
       volutpat. Sed id odio nec erat viverra ultricies vel ac mi.
     </p>
</div>

For anyone else struggling with this problem, I chatted with support and got an answer. According to the agent "
Muse is removing the default margin for various tags including the <p> tag to reset default styles to achieve consistency and control. All you need to do is specify the margin:1em for p tags in CSS to fix this."  Another --simpler-- solution turned out to be another suggestion the agent made: "just place <p> </p> after every closing </p> tag." The &nbsp is what turned out to work for me. Now I have a way to only show a portion of the text yet still allow the reader to access more (through a scroll bar) without leaving the page.

Similar Messages

  • Not sure why line break is not working

    Hi all,
    Here is part of my simple Swing application:
    String text1 = "hello";
    String text2 = "world";
    String text3 = text1+"\n"+text2;
    // have also tried (String text3 = text1+"\n\r"+text2;)
    displayField.setText(text3);I supposed that the text3 in the label field (displayField) would display like this:
    hello
    world
    But not, the text3 just displayed in the same line like this instead: helloworld.
    I am not sure why the line break is not working.

    Use HTML for a multiline JLabel.// String text3 = text1+"\n"+text2;
    String text3 = "<html>" + text1 + "<br/>" + text2 + "</html>";db

  • OutputLabel and line breaks doesn't work - Is there a hack for JSF1.2?

    Hello,
    I use JSF 1.2 and Facelets to generate a form automatically. This works so far well. But if I have a label with line breaks, JSF does not convert the line breaks into �
    � tags. Is there a hack to convert line breaks into �
    � tags?
    A little example
    Code:
    <h:outputLabel value="#{component.label}" for="#{component.id}" />
    <h:inputText value="#{component.value}" id="#{component.id}" />component.label = �First Line\nSecond Line�
    component.value = "UserInput"
    This is rendered to:
    First Line Second Line      [UserInput]
    Instead of:
    First Line        [UserInput]
    Second Line One possible solution is to disable �escape�. But this is a bad solution because there are umlauts and angle brackets (�<�,�>�) in some texts for my labels. Does anyone know a better solution?
    Regards
    Martin

    Hi Raymond,
    thanks for your tip. It is a very good idea. But while testing I have found a little problem. with "pre". JSF renders labels like this:
    <label> <---- notice this line break
    Text</label>All labels start with a line break in the HTML code. So all labels start with a line break in the browser too if I use CSS with the "pre" option :(
    Regards
    Martin
    Message was edited by:
    mwinandy

  • Line breaks (%0a) not working in pre-populated mailto links?

    Anyone else having this problem?
    I'm using mailto links in my folio that include "subject" and "body" information, so that when the user clicks on the link, it opens a prepopulated email that is ready to send.
    Unfortunately, the line breaks (%0a) are not working, so a nicely formatted email with a couple paragraphs and a signoff at the bottom is turning into one long string of text.
    The weird thing is, every other special character (e.g. %20 for spaces) is working just fine.
    For example, here's a mailto link I might use:
    mailto:test%40test.com?subject=subject%20test&body=Here's%20my%20first%20paragraph.%0A%0AH ere's%20my%20second%20paragraph.%20There%20should%20be%20a%20full%20break%20before%20and%2 0after.%0A%0ASincerly%2C%0AiPad%20email%20test
    Every character will work just fine except for the %0A%0A portion of the code.
    That is going on?

    You have to edit the XML Source code to do this. First, put a value in the object tab > value tab > Default box so that you can find it easily in the XML code. Click on the field to select it, then click on the XML Source tab. This will take you to the first line in the XML code that defines the field. Then all you need to do is insert:
    &#xD;
    wherever you want a carriage return. This will also overwrite the value when data is typed into the form and saved. FYI, the reason your values aren't kept when you script in the default value is that the script is still in the form when you save it, so re-opening the form simply resets the default value to the script.

  • Microphone and Line In Suddenly Not Working Macbook Pro 15" Early 2011

    Yesterday without warning, my internal mic stopped working on my Macbook Pro 15" Early 2011. I discovered this when the recipient of a Skype call couldn't hear me, and verified that the mic was not getting any level in the Sound system preferences pane. There is also no microphone input happening when I plug in my iPhone headset to the headphones jack. The audio out seems to be fine. I had to use a USB microphone to get any sound into the computer. I used the microphone just a few days ago without any issue.
    I've already tried:
    Rebooting
    Resetting PRAM
    Creating second account to test audio
    And none of the above had any affect. Other note: I recently had the GPU of this computer replaced under Apple's special replacement plan. Anything else I should try before making an appointment to have the hardware looked at?

    pushyourmind,
    If you’re up-to-date with Software Update, then you have the correct firmware installed. If you’re running 32-bit Windows 7, then Boot Camp Support Software 4.0.4033 contains the correct drivers; if you’re running 64-bit Windows 7, then Boot Camp Support Software 5.1.5621 contains the correct drivers. Which ever support software corresponds to your version of Windows 7, try downloading the corresponding .zip archive and following the installation instructions on the corresponding link above when booted in Windows.
    Boot Camp 5.1 supports Windows 8.1 on your model MacBook Pro if you’re running OS X 10.8.3 or newer. Earlier versions of Boot Camp and older versions of OS X don’t support Windows 8.1 in Boot Camp on your model MacBook Pro.

  • Security and privacy system preferences not working after Lion install.  What to do?

    Security and privacy system preference not working after Lion install.  Not sure if it happen with Lion installer or after updating. What to do?

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It won’t solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    Third-party system modifications are a common cause of usability problems. By a “system modification,” I mean software that affects the operation of other software — potentially for the worse. The following procedure will help identify which such modifications you've installed. Don’t be alarmed by the complexity of these instructions — they’re easy to carry out and won’t change anything on your Mac.
    These steps are to be taken while booted in “normal” mode, not in safe mode. If you’re now running in safe mode, reboot as usual before continuing.
    Below are instructions to enter some UNIX shell commands. The commands are harmless, but they must be entered exactly as given in order to work. If you have doubts about the safety of the procedure suggested here, search this site for other discussions in which it’s been followed without any report of ill effects.
    Some of the commands will line-wrap or scroll in your browser, but each one is really just a single line, all of which must be selected. You can accomplish this easily by triple-clicking anywhere in the line. The whole line will highlight, and you can then either copy or drag it. The headings “Step 1” and so on are not part of the commands.
    Note: If you have more than one user account, Step 2 must be taken as an administrator. Ordinarily that would be the user created automatically when you booted the system for the first time. The other steps should be taken as the user who has the problem, if different. Most personal Macs have only one user, and in that case this paragraph doesn’t apply.
    Launch the Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ If you’re running Mac OS X 10.7 or later, open LaunchPad. Click Utilities, then Terminal in the page that opens.
    When you launch Terminal, a text window will open with a line already in it, ending either in a dollar sign (“$”) or a percent sign (“%”). If you get the percent sign, enter “sh” (without the quotes) and press return. You should then get a new line ending in a dollar sign.
    Step 1
    Copy or drag — do not type — the line below into the Terminal window, then press return:
    kextstat -kl | awk '!/com\.apple/{printf "%s %s\n", $6, $7}'
    Post the lines of output (if any) that appear below what you just entered (the text, please, not a screenshot.) You can omit the final line ending in “$”.
    Step 2
    Repeat with this line:
    sudo launchctl list | sed 1d | awk '!/0x|com\.(apple|openssh|vix)|edu\.mit|org\.(amavis|apache|cups|isc|ntp|postfix|x)/{print $3}'
    This time, you'll be prompted for your login password, which won't be displayed when you type it. You may get a one-time warning not to screw up. You don't need to post the warning.
    Note: If you don’t have a login password, you’ll need to set one before taking this step. If that’s not possible, skip to the next step.
    Step 3
    launchctl list | sed 1d | awk '!/0x|com\.apple|edu\.mit|org\.(x|openbsd)/{print $3}'
    Step 4
    ls -1A /e*/mach* {,/}L*/{Ad,Compon,Ex,Fram,In,Keyb,La,Mail/Bu,P*P,Priv,Qu,Scripti,Servi,Spo,Sta}* L*/Fonts 2> /dev/null
    Important: If you synchronize with a MobileMe account, your me.com email address may appear in the output of the above command. If so, anonymize it before posting.
    Step 5
    osascript -e 'tell application "System Events" to get name of every login item' 2> /dev/null
    Remember, steps 1-5 are all drag-and-drop or copy-and-paste, whichever you prefer — no typing, except your password. Also remember to post the output.
    You can then quit Terminal.

  • ScriptLink tag not working for application page sharepoint 2010

    <ScriptLink> tag not working for application page sharepoint 2010 for including javascript in application page, it appends either 1033 or _layout to path specified for javascript.But javascripts are located in custom document library on site and not
    in _layouts folder.
    Please help and explain in details as I tried lot on this.

    Hi,
    Use the following line of code
    <SharePoint:Scriptlink runat="server" Name="~sitecollection/Style Library/[YOUR SITE]/js/functions.js" Language="javascript" />
    Thanks,
    Vivek
    Please vote or mark your question answered, if my reply helps you

  • Just got this Laptop and the audio is not working for videos

    My operating system is Windows 8.1 with Bing. I just got this laptop computer for my college work and love it, but my audio does not work when I watch Videos.  The laptop makes a weird tappign noise often. I need my audio to work for my course work online. The audio when I watch videos online either does not work at all or it breaks up as I am handling the laptop in the m hands. I have already did troubleshooting tests on the laptop and it can not find any problems but I know something is not right due to the noise and now my audio not working Please help me or tell me how HP can fix my laptop in a speedy mannor. It needs to go to the shop. That noise irritates me and I know that any kind of laptop pc is not suppose to make noises like that. The audio must work for my to complete my college homework and classwork online.
    Thank you for any assistance you may be able t give me. Lindsay

    Scroll down on the page and fill out the form to contact HP Warranty Support:
    https://support.hp.com/us-en/contact-hp/product/HP-15-r000-Notebook-PC-series/6875200/model/7531307
    ******Clicking the Thumbs-Up button is a way to say -Thanks!.******
    **Click Accept as Solution on a Reply that solves your issue to help others**

  • Line-in input not working correctly in Garageband

    Problem:
    Line-in input not working correctly with Garageband. Problem occurred AFTER installing and using Blue Yeti USB mic, purchased from the Apple store.
    System Details:
    '07 20" iMac 2.4GHz 4GB RAM, OSX 10.6.5, Garageband '11 v6.0, Logitech Z4 speakers.
    Background:
    Before using the Yeti USB mic, I used the line-in jack. I'd connect a Shure mic or guitars directly in, but more recently through a 12 channel mixer. Have connected the Shure mic directly into the input jack, and the computer appears to be picking it up (System Preferences->Sound->Input), it is responding correctly there. Have set the output to the headphone (line-out) jack. When I go into Garageband, I can select from Line-in 1, Line-in 2, and Line-in Stereo. The trouble is that it's the iMac's built-in mic that is active (the one above the screen), not the line-in. I've rebooted the computer, checked the connections, reconnected the Yeti mic and I can't find what's causing the problem. Not sure what to do from here, need some help. Thanks

    I have Logic Express on the iMac as well and I worked out how to set the input device back to the Line-In. I went back to Garageband and found the equivalent setting under Preferences->Audio/MIDI. Thanks for reading, sorry I didn't sort it out sooner! Merry Christmas!

  • Why would white space and line breaks in sql query increase runtime

    Using 11.2.0.3.0 on unix sprac server, 8 cpus 32 cores 12TB storage. We have 16 batch servers doing inserts and ~100 users doing mostly queries.
    We have a wierd issue,  we have a long query that takes 30 seconds to run 1st time then 10-20 secs every other time. Based on knowledge of DB we expected it to take a lot less.  Then a developer reformatted it by taking removing extra white space and line breaks.  all of sudden query takes 6 secs first time and 0.8 every other time.  we tripled checked to ensure they are identical and that only difference is white space and line breaks.  We tried it with SQLDeveloper, TOAD, SQLPLUS, from out desktops, appserver. we could reproduce it every time, with white space 10-20 secs without it 0.8 secs.  Query is 200 lines long with white space 30 without it.
    Why would having white space make such a dramatic difference?  because the query is longer eventhough its identical?  We checked parsing times, etc, no difference.  Is there some network setting, oracle parameter, sqlnet setting?  We spent hours looking on google and found nother
    Slow:
      SELECT grt_student.student_id                                                                                                                                                                                                 
    AS student_id,
      grt_student.last_name                                                                                                                                                                                                       
    AS last_name,
      grt_student.first_name                                                                                                                                                                                                      
    AS first_name,
      grt_buyerinstance.buyerinstance_id                                                                                                                                                                                            
    AS buyerinstance_id,
      grt_buyerinstance.buyerfamily_id                                                                                                                                                                                              
    AS buyerfamily_id,
      grt_buyer.buyerfamily_acronym                                                                                                                                                                                                 
    AS buyerfamily_acronym,
      grt_reporting_utls_pkg.convert_gmrt_battery(grt_buyerinstance.buyerfamily_id,grt_buyer.battery)                                                                                                                                
    AS battery,
    fast:
    SELECT grt_student.student_id 
    AS student_id,  grt_student.last_name
    AS last_name, grt_student.first_name   AS first_name,  grt_buyerinstance.buyerinstance_id   AS buyerinstance_id,  grt_buyerinstance.buyerfamily_id
    AS buyerfamily_id,
      grt_buyer.buyerfamily_acronym  AS buyerfamily_acronym,  grt_reporting_utls_pkg.convert_gmrt_battery(grt_buyerinstance.buyerfamily_id,grt_buyer.battery)   AS battery,

    Do you have some sort of horrific network connection between the client and the database such that it would take 8.5 seconds to transmit a few kb of SQL to the server?  That seems most unlikely.
    How are you determining the query plan?  Are you absolutely sure that both SQL statements have the same plan_hash_value when they are actually executed (not just when you generate a query plan without executing it)?  What are the differences in wait events when you execute the two?
    The sql_id will change when you add or remove whitespace.  There are various methods of modifying query plans that are tied to a sql_id.  My wager would be that you have a profile/ outline/ etc. that is not there for the reformatted one which is causing a query plan difference.  My next guess is that you have an accepted plan for the old statement, you haven't set up a process to let the plan evolve, and the reformatted statement starts with the plan that the old statement would get if you allowed the plan to evolve.
    Justin

  • ITunes Explicit tag not working correctly

    Hello, I have a problem with manually added 'explicit' tag in iTunes. iTunes show tag correctly near the song, but there is no red 'E' label in the ''now playing'' box.
    How can I fix this problem?
    I tried to re-add a song into the library, it's not helps.
    I think, that this is the different tags in the file, how can I check the second tag? Maybe someone have a script to manually add that tag to AAC file?

    Same for me. I don't know why that happens. I restarted my Macbook, quit iTunes, and it still did not work.

  • The forward, back, refresh, and stop buttons are not working. Even after installing the latest version. Anyone else having this issue?

    The forward, back, refresh, and stop buttons are not working. Even after installing the latest Firefox update. Also my home page stopped loading upon startup even tho I have it setup to do so. Anyone else experiencing these issues? This is my second request for help and of course, Firefox on-line support is always closed.

    Those are all symptoms of a problem with the places.sqlite file, for details see http://kb.mozillazine.org/Locked_or_damaged_places.sqlite

  • Mobility between HREAP and NON HREAP does not work..

    HREAP Local Switch and Auth has been enabled on SSID.
    Indoor AP is in HREAP mode.
    Outdoor AP does not support HREAP mode.
    Client connects to indoor AP....continous PING breaks after client roams to outdoor AP. The state of the client is RUN.
    Disable HREAP Local Auth and the issue goes away.  Why?

    Without HREAP config, you will not be able to do local-auth on the AP
    The design guid says roam between a HREAP and non-HREAP will not work,
    Thanks
    NikhiL

  • My Ipod nano 6Th sometimes shuts down when I connect the phones, sometimes it not shuts down, but the volume and standby buttons do not work.

    My Ipod nano 6Th sometimes shuts down when I connect the phones, sometimes it not shuts down, but the volume and standby buttons do not work. If I not connect the phones everything works fine. But with the phones connected it goes crazy. I alredy reset, restore and nothing. If I reset and let the phones connect the up and down volumes buttons start to work. But the power/stand by button don´t. I need to disconect the phones to the power/stand by button starts  to works. Anyone already have simmilar problem?

    A windows error message appears saying iTunes has encountered a problem and needs to shut down.
    let's get a crash log from itunes, and send it to the Apple engineers for a look.
    Typically, you'll need to configure Dr. Watson on your PC in order to generate crash logs. Windows start menu -> Run. Type in "cmd". Hit return. At the prompt in the command line window that comes up, type in
    drwtsn32 -i
    And hit return.
    This will create crash logs in Documents And Settings\All Users\Application Data\Microsoft\Dr Watson\. There'll usually be a file in here called "drwtsn32.log"
    prior to collecting the itunes crash log, delete any existing crash logs in there. (we want to make sure we send the correct crash log.)
    Generate the crash, collect the crash log, and and send it as an attachment to this email address.
    in the email to Roy, be sure to include the following information:
    - A link to the thread on Apple Discussions where the issue is being discussed
    - The username you are using in the thread
    - The version of iTunes you are using or trying to use
    - the version of Windows you are using (mention service packs)
    - A concise description of the issue you are seeing
    - The exact text of the error message you are seeing

  • I just bought an iPad mini and installed Facebook. NOT working. Only messages, but sporadically. Anyone know what's the deal?

    I just bought an iPad mini and installed Facebook. NOT working. Only messages, but sporadically. Anyone know what's the deal?

    Weird... Turned the iPad off and back on, while waiting on the line to be connected to an apple support specialist, now it works.

Maybe you are looking for

  • My iPhone 3GS have little signal of wifi. What can I do??

    My iPhone 3GS have little signal of wifi. What can I do??

  • Vision - is it essential to connect to port 1 of t...

    I have extended my home network by adding an apple extreme. Right now it is made complex by needing to keep the vision connection direct to the HH3 to connect to port 1, as the manual says use that port for vision connection, presumably because of th

  • Drivers for G550

    hi,         My audio driver for windoes xp for G550 notebooks gives an error when installed............ I've a problem in installing it.....please help me out.....

  • Common segment postngs

    Dear all, I have a special question on the segment reporting. Currently we have so many segments and each company is busy in more than one segment. Which means every transactions should be tagged to the corresponding segments. For the unidentified tr

  • Error compiling file?!

    Hello, For the third time I tried now to render a Quicktime (photo jpg and also h264) but somewhere on the last frames it skips the render with the message "error compiling file" - unknown error... Does anybody has any idea why and what to do ? Thank