How do I move text up - Code Included

Hi,
I  have a couple of questions regarding my code. Please copy and paste in a browser to see the formatting etc.
1. First, does the code look correct?
2. How can I get the text in orange to move up closer to the paragraph above it? I don't understand why the orange text can't go right below the paragraph?
3. I used "<br />" to add a break or separate the lines of text. Is this correct?
<!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" />
<title>Untitled Document</title>
</head>
<body>
        <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. In nec nibh massa. Sed id enim mauris, in ultricies odio. Donec pretium, lectus in eleifend vehicula, ligula erat dignissim lacus, vitae rhoncus tellus tortor non lorem. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Etiam mauris purus, congue ac volutpat sit amet, scelerisque a velit. Vestibulum condimentum molestie ipsum eu pharetra.</p>
        <p style="color: #333333; font-size: 14px;"><i>“Etiam mauris purus, congue ac volutpat sit amet, scelerisque a velit. Vestibulum condimentum molestie ipsum eu pharetra. Duis blandit aliquam mi, dignissim fermentum felis bibendum vitae. Nam eu nibh eros, vel fringilla lacus. Ut et mi nec diam imperdiet suscipit. Quisque sollicitudin ante placerat dui porta in elementum quam facilisis. Morbi non mauris metus.”</i>
        <p style="color: #FF3300; font-size: 14px; text-align:right"><strong><i>Vivamus non ipsum tortor</i></strong>
        <p style="color: #333333; font-size: 14px;"><i>“Nam eu nibh eros, vel fringilla lacus. Ut et mi nec diam imperdiet suscipit. Quisque sollicitudin ante placerat dui porta in elementum quam facilisis. Morbi non mauris metus. Ut euismod purus et velit dictum et fermentum mauris volutpat. Nam aliquet commodo elit ut rhoncus. Phasellus blandit, orci tristique lobortis malesuada, leo est accumsan neque, nec egestas quam eros et nunc. Phasellus et risus est, vel imperdiet risus.”</i>
        <p style="color: #FF3300; font-size: 14px; text-align:right"><strong><i>Cras viverra mi in odio congue dictum</i></strong>
<br />
<br />
<br />
        <p style="color: #333333; font-size: 14px;"><i>“Aliquam adipiscing, justo sed dapibus tincidunt, ante metus molestie sapien, vitae laoreet turpis risus eget velit. Sed volutpat, risus et suscipit elementum, enim ipsum congue nunc, at mattis ante enim ut mauris. Ut sit amet est nibh, sed accumsan dolor. Sed suscipit consectetur enim non tincidunt. Morbi rhoncus luctus nibh, iaculis aliquam tortor aliquet ut. Integer fringilla commodo quam, quis tempor massa commodo non. Praesent eu orci massa.”.</i>
        <p style="color: #FF3300; font-size: 14px; text-align:right"><strong><i>Etiam pellentesque odio id turpis tempor pharetra</i></strong>
</body>
</html>

1. First, does the code look correct?
No - unnecessarily verbose.
2. How can I get the text in orange to move up closer to the paragraph above it? I don't understand why the orange text can't go right below the paragraph?
See below -
<!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" />
<title>Untitled Document</title>
<style type="text/css">
p {
color:#333;
font-size:14px;
font-style:italic;
margin-bottom:0;
body > p {
font-style:normal;
p.cite {
text-align:right;
color:#F30;
font-weight:strong;
margin-top:0;
</style>
</head>
<body>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. In nec nibh massa. Sed id enim mauris, in ultricies odio. Donec pretium, lectus in eleifend vehicula, ligula erat dignissim lacus, vitae rhoncus tellus tortor non lorem. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Etiam mauris purus, congue ac volutpat sit amet, scelerisque a velit. Vestibulum condimentum molestie ipsum eu pharetra.</p>
<p>"Etiam mauris purus, congue ac volutpat sit amet, scelerisque a velit. Vestibulum condimentum molestie ipsum eu pharetra. Duis blandit aliquam mi, dignissim fermentum felis bibendum vitae. Nam eu nibh eros, vel fringilla lacus. Ut et mi nec diam imperdiet suscipit. Quisque sollicitudin ante placerat dui porta in elementum quam facilisis. Morbi non mauris metus."</p>
<p class="cite">Vivamus non ipsum tortor</p>
<p>"Nam eu nibh eros, vel fringilla lacus. Ut et mi nec diam imperdiet suscipit. Quisque sollicitudin ante placerat dui porta in elementum quam facilisis. Morbi non mauris metus. Ut euismod purus et velit dictum et fermentum mauris volutpat. Nam aliquet commodo elit ut rhoncus. Phasellus blandit, orci tristique lobortis malesuada, leo est accumsan neque, nec egestas quam eros et nunc. Phasellus et risus est, vel imperdiet risus."</p>
<p class="cite">Cras viverra mi in odio congue dictum</p>
<p>"Aliquam adipiscing, justo sed dapibus tincidunt, ante metus molestie sapien, vitae laoreet turpis risus eget velit. Sed volutpat, risus et suscipit elementum, enim ipsum congue nunc, at mattis ante enim ut mauris. Ut sit amet est nibh, sed accumsan dolor. Sed suscipit consectetur enim non tincidunt. Morbi rhoncus luctus nibh, iaculis aliquam tortor aliquet ut. Integer fringilla commodo quam, quis tempor massa commodo non. Praesent eu orci massa.".</p>
<p class="cite">Etiam pellentesque odio id turpis tempor pharetra</p>
</body>
</html>
3. I used "<br />" to add a break or separate the lines of text. Is this correct?
It's valid but not optimal.  Just adjust the top/bottom margins on adjacent paragraphs to manage this kind of thing.

Similar Messages

  • How do I move texts to my e-mail address and what has to be set in my settings??

    How do I move a text message to my e-mail address

    One way is to enable iCloud and start using the @me.com email address as your default.  iCloud will sync with Outlook automatically once you download the iCloud control panel and it set up (see http://www.apple.com/icloud/setup/pc.html).  You can maintain your current email if you wish and just have incoming mail forwarded to your @me.com address.

  • How do I move text within a cell down in "Numbers" please?

    I am trying to move text within a cell down in Pages. I use one cell as a topic and then add text in the  next row of a cell. It may seem strange to some but I have been doing it for years in Excel. Here is the best example I can give here:
    Customer
    Customer Notes
    ABC Company
    Imagine a long row of text here and I want to start a new line of text below this one without (within the same cell)
    Text would continue here but still within the same cell (I use to be able to just hit return in excel)
    Any ideas would be appreciated.
    Thanks so much! ;-)
    Thanks so much!

    Thanks so much Wayne... I spent quite a while searching for this to no avail lol.Have a great day!

  • How do i move text in Pages

    how do i move a word in pages. spacebar doesn't work. i am new to Pages and there's not much information around. i am migrating from word.

    double click selects a word
    triple click selects a paragraph
    Once selected you can hold down the cursor momentarily and drag and drop it or you can command c copy, command v paste to where you want it.
    Move the cursor with the arrow keys.
    Add option to jump words/lines.
    Add shift to select as you go.
    command shift down arrow selects to the end of the document
    These are all standard Mac keyboard shortcuts so worth learning, they become second nature.
    Look under the Help menu for a full set of Keyboard Shortcuts.
    Peter

  • How do you move text messages from contact to contact

    Recently a friend of mine changed their phone number so I removed their old number and put in their new one. The text messages that I received from them before this change is now labeled as the the old number. I have 2 questions:
    1. Is it possible to move text messages from that old number to this new one?
    2. Can I put the old number under the contact but label it "old number"? If so, when I text in that screen again will it go to the old number or the new one?
    Thanks

    Just my 2 cents...
    1) As far as I know, those text messages are attached to THAT phone number. There is no way to assign them to another number.
    2) You could certainly add the number as another number for your friend. This would atleast TITLE that thread, so you knew who the conversation was with. However, again, those texts and that THREAD is tied to that "old" phone number. Therefore, if you reply in that thread, the messages are going to be sent to the old number.
    I would just recommend adding the number to the contact, so you have it labled if you forget who it was or something, but then just start a new thread with the friend?!..

  • Dw fluid grid - How do I move text away from the edge?

    I want to move the text "Article 2 Title" a few pixels to the left so it isn't against the right edge of the box.  How can I do this?

    In the meantime,  Copy & paste this code into a new, blank document. 
    <!doctype html>
    <html>
    <head>
    <meta charset="utf-8">
    <title>HTML5 Document</title>
    <style>
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
    section {
        width: 80%;
        margin: 0 auto;
        overflow:hidden;
        border: 4px groove #CCC;
    article {
        float: left;
        width: 50%;
        padding: 0 2%;
        border: 1px dotted red;
    .right {text-align:right}
    </style>
    </head>
    <body>
    <section>
    <article>
    <h3>Heading 3</h3>
    <p> Lorem ipsum dolor sit amet, consectetur adipiscing elit.
    Mauris vitae libero lacus, vel hendrerit nisi!
    Maecenas quis velit nisl, volutpat viverra felis.
    Vestibulum luctus mauris sed sem dapibus luctus.
    Pellentesque aliquet aliquet ligula, et sagittis justo auctor varius.
    Quisque varius scelerisque nunc eget rhoncus.
    Aenean tristique enim ut ante dignissim. </p>
    </article>
    <article>
    <h3 class="right">Heading 3</h3>
    <p> Lorem ipsum dolor sit amet, consectetur adipiscing elit.
    Mauris vitae libero lacus, vel hendrerit nisi!
    Maecenas quis velit nisl, volutpat viverra felis.
    Vestibulum luctus mauris sed sem dapibus luctus.
    Pellentesque aliquet aliquet ligula, et sagittis justo auctor varius.
    Quisque varius scelerisque nunc eget rhoncus.
    Aenean tristique enim ut ante dignissim. </p>
    </article>
    </section>
    </body>
    </html>
    This is how it looks in Firefox:
    Nancy O.

  • How can I move text onto the following line in CSS without making a new paragraph?

    Hello there,
    I want to do the follow:
    Name of company,
    Address of company 1,
    Address of company 2,
    Address of company 3,
    When I press enter to move the text underneath the previous text, it starts a new paragraph which I don't want. How can I simply get it to flow onto the next line without creating a new paragraph?
    Thanks so much in advance.

    You can use <br />
    <p>
    Address 01<br />
    Address 02<br />
    Address 03<br />
    </p>
    I'd probaly type it out in Code View but I think you can use shift+enter
    Martin

  • How do I move text files from my desktop to my iPod Touch?

    How do I transfer (export) text files from my Mac (word processor files) to the Notes app on my iPod?

    WesternGuy wrote:
    I am going to assume that I can move individual profiles, or even delete profiles that I no longer need.
    Just be aware that if you delete or don't move profiles that are currently assigned to images LR will (without warning) reassign those images with the Adobe Standard profile.
    You can use AnyFilter, Data Explorer, or DevMeta plugins to determine if any images are assigned to a profile you want to delete. You can then reassign the profile of your choice. Once that's completed you can safely delete the camera profile.

  • How do you move text edited in After Effects into Final Cut Pro?

    I edited text in After Effects and want to use it at the start of my movie which is in Final Cut Pro.
    How do I export the After Effects editted text into FCP?
    I have FCP 7
    Thankyou

    I suppose the way to do it is to export to Quicktime and import that into FCP X.
    Use ProRes 4444 codec in order to preserve transparency (alpha channel).

  • How do I move text from one chapter to another

    I imported a book I had written in pages.  I want to divide it into chapters but at present it is all in chapter 1.
    How can i make four or five new chapters but move the content from chapter one.
    Thank you,
    Alain

    From a previous thread:
    Touch and hold any icon for a couple of seconds. They'll all start to wobble. Touch and drag the one you want to move to the side of the screen and the next screen will appear; drop the icon on whatever screen you want it on.
    You can also do it quicker in iTunes - connect the phone and click the Apps tab in the main window. You'll see a picture of your phone with the apps laid out. Just click and drag

  • How do I move text in apple pages for icloud

    I'm trying to highlight text and then click and drag it to another location in my document.  Doesn't  work.   Does the icloud version work differently than the download program?  Thanks.

    double click selects a word
    triple click selects a paragraph
    Once selected you can hold down the cursor momentarily and drag and drop it or you can command c copy, command v paste to where you want it.
    Move the cursor with the arrow keys.
    Add option to jump words/lines.
    Add shift to select as you go.
    command shift down arrow selects to the end of the document
    These are all standard Mac keyboard shortcuts so worth learning, they become second nature.
    Look under the Help menu for a full set of Keyboard Shortcuts.
    Peter

  • How do I move EVERYTHING in iTunes (including playlists) to my new Mac?

    Sorry if this seems like an overly simple question but I'm stumped...
    I need to move my iTunes collection over to a new Mac. I know how to move audio files but I also want to move the my *playlists, ratings, history, album art* etc. (Both machines are running iTunes 10.2.)
    BTW, I'm not in interested in a third party solution. I spent over $1,000 on iTunes so I expect Apple to have an official solution.

    No need to double post.
    As already noted - use Migration Assistant. It is an official Apple app therefore an official solution.
    You can also drag your iTunes folder to the new Mac and replace the iTunes folder on the new Mac.
    MJ

  • How can I import text from Word including paragraph indents?

    I'm using Captivate 7.
    I need to import text from a series of documents written in Microsoft Word.
    When I copy and paste most of the formatting is retained. Bold, italics and underline import perfectly but I lose the indented paragraphs. They all become left aligned.
    Is there a way to import the indented first lines in the paragraphs?
    Thanks in advance.

    Lilybiri, sorry it took me so long to get back to you. Life sometimes interferes with living.
    Thanks for sharing your opinions. Your deep and penetrating insights have changed my life forever. As in: "...that people expect ..." Gee; I've pondered that for years. Now that you've opened my eyes to "what people expect" I can let that go and concentrate on something else. Like, is cheese REALLY binding?
    With your helpful and concerned attitude I'm sure you'll be glad to know that my problem has been solved. Not by anything from Adobe; the company or the forum, but by simply finding another program that works as it should.
    By the way, I marked my own answer correct as it was clear that there is no answer and I just wanted to close the thread. Actually, after I reread what I said,  I realized my answer IS correct. So, I'll stand by it.
    Thanks again, it's been interesting.
    So long Lilybiri, and good-bye Adobe Captivate.

  • How do I move analytics' script (code) to the bottom of the page?

    I use Google Analytics and Statcounter to track Web site usage. I also track document (PDF, Word, etc) downloads.
    I can place the Analytics scripts in the head of the HTML using page properties or master page properties, but having the script in the head of the document can prevent the script in Statcounter from tracking downloads.the script must be at the bottom of the HTML near the end </body> tag.
    Any suggestions appreciated.
    C

    Hi,
    You can try Exporting your site as HTML and then manually open the Html page of your website and add the code in that.
    Regards,
    Rohit Nair

  • How to make small text and move it down ?

    hi,
    how can I move text down and little like in this picture using Pages ?
    http://dl.getdropbox.com/u/72686/below.png
    I don't know how to define it in english, sorry... how do you define it ?
    thanks

    If I understand correctly what you mean select text, FORMAT then FONT then BASELINE then choose SUBSCRIPT or SUPERSCRIPT.

Maybe you are looking for