Help centering text

I'm trying to center a line of text in the text area.
If the text entered can be displayed on one line, I would like the text centered; otherwise it should use the word wrap.
I tried creating a method called center:
// Defined outside this method, but shown since it is being referenced.
int textAreaWidth = (int) textArea.getPreferredScrollableViewportSize().getWidth();     public String center(String text)
     int stringWidth = metrics.stringWidth(text);
     if (stringWidth > textAreaWidth)
          // Only handles text shorter than one line.
          return text;
     int availableWidth = textAreaWidth - stringWidth;
     int availableSpaces = availableWidth / metrics.charWidth(' ');
     int spacesToAdd = availableSpaces / 2;   
     // Adds the leading spaces to the text to center it.
     // Adds a trailing space as well to test the actual metrics length.
     for (int index = 0; index < spacesToAdd; index++)
          text = " " + text + " ";
     return text;
}I coudln't find anything to use in the Java Doc, so I thought I'd write one to help me out.
Testing it, I used:
textArea.setText(center("m"));The issue is that the JTextArea is returning a width of 300. That is correctly set, and returning the right width.
The string width is returning at 11, which is expected for the letter m.
The available width is 289. Also correct. 300 - 11 = 289
The metrics character width of a space is 3.
The spacesToAdd returns at 48.
A string with a metrics width of 299 is returned. That being, 48 spaces and the letter m.
However, the JTextArea displayed in the JPanel shows this text wrapping onto a second line -- indicating the JTextArea displayed is not the actual width I set it to.
The code to setup the JTextArea is as follows:
JPanel panel = new JPanel();
textArea = new JTextArea();
textArea.setPreferredSize(new Dimension(300, 60));
textArea.setLineWrap(true);
textArea.setFocusable(false);
textArea.setEditable(false);
textArea.setWrapStyleWord(true);
textArea.setFont(APP_FONT);
scrollPane = new JScrollPane(textArea);
scrollPane.setBorder(BorderFactory.createEmptyBorder());
panel.add(scrollPane);What am I doing wrong?
I suppose I could use a document and set styles... but ... I was trying to get this working...
Help would be appreciated.. Thanks!

If you need further help then you need to create a [url http://homepage1.nifty.com/algafield/sscce.html]Short, Self Contained, Compilable and Executable, Example Program (SSCCE) that demonstrates the incorrect behaviour, because I can't guess exactly what you are doing based on the information provided.
Don't forget to use the [url http://forum.java.sun.com/help.jspa?sec=formatting]Code Formatting Tags so the posted code retains its original formatting.

Similar Messages

  • Help centering text in horizontal Nav bar

    I have just built my styles for my Nav bar and i am trying to figure out how to place everything centered in the div.
    at the moment they are offset to the left. Fairly new to this.
    here is my CSS code and underneath the HTML
    Thanks so much for any help you can give me
    J
    ul.nav {
        background-color: #FFF;
        padding-left: 15px;
        border-top-width: 1px;
        border-bottom-width: 1px;
        border-top-style: solid;
        border-bottom-style: solid;
        border-bottom-color: #ababab;
        border-top-color: #afafaf;
    ul.nav a, ul.nav a:visited { /* grouping these selectors makes sure that your links retain their button look even after being visited */
        text-decoration: none;
        color: #666;
        line-height: 2.5;
        display: inline-block;
        padding-right: 15px;
        padding-left: 15px;
        border-right-width: 1px;
        border-right-style: solid;
        border-right-color: #ababab;
    ul.nav a:hover, ul.nav a:active, ul.nav a:focus { /* this changes the background and text color for both mouse and keyboard navigators */
        color: #09F;
        background-color: #FFF;
    ul.nav li {
        display: inline;
    /* ~~ The footer styles ~~ */
    .footer {
        padding: 10px 0;
        background: #CCC49F;
        position: relative;/* this gives IE6 hasLayout to properly clear */
        clear: both; /* this clear property forces the .container to understand where the columns end and contain them */
    /* ~~ Miscellaneous float/clear classes ~~ */
    .fltrt {  /* this class can be used to float an element right in your page. The floated element must precede the element it should be next to on the page. */
        float: right;
        margin-left: 8px;
    .fltlft { /* this class can be used to float an element left in your page. The floated element must precede the element it should be next to on the page. */
        float: left;
        margin-right: 8px;
    .clearfloat { /* this class can be placed on a <br /> or empty div as the final element following the last floated div (within the .container) if the .footer is removed or taken out of the .container */
        clear:both;
        height:0;
        font-size: 1px;
        line-height: 0px;
      </div>
    <div id="navbar">
    <ul class="nav">
    <li><a href="#">Home</a></li>
    <li><a href="#">Videos</a></li>
    <li><a href="#">Articles</a>
    </li>
    <li><a href="#">Archives</a>
    <li><a href="#">Local Reporter</a>
    </li><li><a href="#">Sign up</a>
    </li><li><a href="#">Contact Us</a></li></ul>
    </div>
    Thanks again!

    ahh sorry...here you go
    ul.nav {
         background-color: #FFF;
         padding-left: 15px;
         border-top-width: 1px;
         border-bottom-width: 1px;
         border-top-style: solid;
         border-bottom-style: solid;
         border-bottom-color: #ababab;
         border-top-color: #afafaf;
         width: 960px;
         margin-right: auto;
         margin-left: auto;
    ul.nav a, ul.nav a:visited { /* grouping these selectors makes sure that your links retain their button look even after being visited */
         text-decoration: none;
         color: #666;
         line-height: 2.5;
         display: inline-block;
         padding-right: 15px;
         padding-left: 15px;
         border-right-width: 1px;
         border-right-style: solid;
         border-right-color: #ababab;
    ul.nav a:hover, ul.nav a:active, ul.nav a:focus { /* this changes the background and text color for both mouse and keyboard navigators */
         color: #09F;
         background-color: #FFF;
    ul.nav li
    /* ~~ The footer styles ~~ */
    .footer
    .weather
    #weather sidebar1
    /* ~~ Miscellaneous float/clear classes ~~ */
    .fltrt {  /* this class can be used to float an element right in your page. The floated element must precede the element it should be next to on the page. */
         float: right;
         margin-left: 8px;
    .fltlft { /* this class can be used to float an element left in your page. The floated element must precede the element it should be next to on the page. */
         float: left;
         margin-right: 8px;
    .clearfloat { /* this class can be placed on a
    or empty div as the final element following the last floated div (within the .container) if the .footer is removed or taken out of the .container */
         clear:both;
         height:0;
         font-size: 1px;
         line-height: 0px;
    #apDiv1
    -->
    </style></head>

  • Help with text formatting in Stickies

    I just discovered the Stickies app and it's almost perfect for helping me keep track of my tasks and to-dos. However, I'm slightly obsessive on minor details so I have a few questions:
    Is it possible to center the text without having to paste from another source? I've set the style the way I want it in Word and then paste it into a new note where it looks perfect. Large bold centered text. I go to Note > Use as Default but the text alignment isn't saved. I saved the style as a favorite but have to drill down the styles dialogs just to center text. I'll be creating an deleting a lot of these during the day and it's actually easier for me to read these when the text is centered.
    Same as 1 but for line-spacing. When I try to set the default with 1.5x line spacing new notes are created in 12pt Time New Roman
    Is there a way to set it so that Command+Shift+Y always does a Paste and Match Style? My current workaround is to select all and then paste style to set them as the default font.
    Thanks!

    I had the same problem with CP7 and just upgraded to CP8.01. This version seemed to format my long answers almost perfectly when I imported the first two question pools - then it reverted back to the same old CP7 behavior. This makes me think that there must be a way to do this.
    Update: Here's the workaround that I've used to get these "long questions" and "long answers" to fit into the multiple question Master Slide. I copied then duplicated the "MCQ, T/F, FIB, Sequence" Master Question slide. On the new one, I expanded the Question area box, both horizontally and vertically so it will accommodate even very lengthy questions.
    I then did the same for the answers area - I have to adjust both so they didn't overlap - and I reduced the size of my "Review Area" since I won't be needing it in my exam format. After saving my project, I then imported a new question pool that was in GIFT format. Of course all of them are imported using the original "MCQ, T/F, FIB, Sequence" Master Question slide format. But now I can view my "Question Pool"  (Windows > Question Pool), then select all of them (Control, A) then in the "Properties" tab you should have a pull down that allows you to select the new question master slide you just created. Select it and all of your imported slides now should display properly.
    Note that this seems to work only when your answers can fit on two lines - not three lines or more. But if you've stretched wide the answer area box in you master slide this will work for most long answers.

  • I need help Centering a div box to a background image using dreamweaver cs5.5.

    I need help Centering a div box to a background image using dreamweaver cs5.5. Everything shift left when viewing on different size monitors?  See what I mean at
    www.woodlandhospice.com

    Have you looked at your page with images disabled?
    I urge you to re-think this approach to web design because images of text are not indexed by search engines, screen readers or translators.  Given the demographic group your site is targeting, you really need to ensure maximum web accessibility for all users.
    Navigation, headings and descriptions all need to be in real text -- not images of text.
    Ken is right.  Absolute positioning is pure poison for such a simple layout.  My advice is to start over with one of the pre-built Starter Pages in DW.  Go to File > New > Blank page > HTML.  Select a layout from the 3rd column and hit CREATE button.
    Nancy O.

  • Centered text in PDF

    Hi
    I am new to this Acrobat SDK forum. I am trying to write a PDF code, but I have problems centering text. Below is a short "program" that writes the text "Centered text" starting at position x=100, y=600. But how do I center this text at some position, say x=200, y=600 ?  Can anyone help?
    - gullipeX
    %PDF-1.4
    1 0 obj
       << /Type /Catalog
          /Outlines 2 0 R
          /Pages 3 0 R
       >>
    endobj
    2 0 obj
       << /Type /Outlines
          /Count 0
       >>
    endobj
    3 0 obj
       << /Type /Pages
          /Kids [ 4 0 R ]
          /Count 1
       >>
    endobj
    4 0 obj
       << /Type /Page
          /Parent 3 0 R
          /MediaBox [ 0 0 612 792 ]
          /Contents 5 0 R
          /Resources << /ProcSet 6 0 R
                      /Font << /F1 7 0 R >>
                      >>
       >>
    endobj
    5 0 obj
       << /Length 73 >>
    stream
    BT
       /F1 24 Tf
       100 600 Td
       ( Centered text ) Tj
    ET
    endstream
    endobj
    6 0 obj
       [ /PDF /Text ]
    endobj
    7 0 obj
       << /Type /Font
          /Subtype /Type1
          /Name /F1
          /BaseFont /Helvetica
          /Encoding /MacRomanEncoding
       >>
    endobj
    xref
    0 8
    0000000000 65535 f
    0000000009 00000 n
    0000000074 00000 n
    0000000120 00000 n
    0000000179 00000 n
    0000000364 00000 n
    0000000466 00000 n
    0000000496 00000 n
    trailer
       << /Size 8
          /Root 1 0 R
       >>
    startxref
    625
    %%EOF

    Hi, Irosenth and others again.
    To try to solve my problem (because I do not know how to do this in PDF), I made a short PostScript program to check the length of the characters in Helvetiva 10 pt. A part of the program is shown below. If I have the length, I can calculate the centered position of the text in my C or Fortran program, that makes the PDF file.  This investigation gave, for instance, the lengths for A, B and W as:
    A:  6.66797
    F:  6.10840
    W: 9.43945
    When I placed the EPS file into Adobe InDesign a bit different values came out:
    A:  6.66959
    F:  6.10963
    W: 9.43942
    ... and still different in Adobe Photoshop:
    A:  6.67081
    F:  6.11075
    W: 9.44115
    I have the feeling that character lengths are given as integers in the font file (not as real numbers) and I actually have to multiply these lengths (for 10 pt. Helvetica)  with some unknown value to find the "correct" lengths of the given characters. Does anyone know the actual length of the character A in Helvetica for instance?
    PostScript program:
    /Helvetica findfont
    dup length dict begin
      {1 index /FID ne {def} {pop pop} ifelse} forall
      /Encoding ISOLatin1Encoding def
      currentdict
    end
    /Helvetica-ANSI exch definefont pop
    gsave
    /str 20 string def
    /Helvetica-ANSI findfont 10 scalefont setfont
    (A ) 50  750 moveto show
    (A)  stringwidth pop str cvs  80 750 moveto show
    (F ) 50  700 moveto show
    (F)  stringwidth pop str cvs  80 700 moveto show
    (W ) 50  650 moveto show
    (W)  stringwidth pop str cvs  80 650 moveto show
    grestore

  • Smartforms centered text formatting

    Hi, i have a problem developing a smartform form, when i use centered text it should appear:
           Avenida das Forças Armadas, 111 2º C
                           1600-045 LISBOA
                    Nº Contribuinte xxxxxxxxx
    Tel. +351 21 xxx xx 00 - Fax +351 21 xxx xx xx
    In the MS WORD editting box it looks right, but when i print the form the output widens the spaces between words like this:
                         Avenida       das      Forças      Armadas,     111    2º    C
                                                     1600-045     LISBOA
                                             Nº    Contribuinte     xxxxxxxxx
    Tel.    +351     21     xxx     xx     00    -    Fax      +351      21     xxx      xx     xx
    Thank you for the help.
    Edited by: tiagoramalhais on Feb 24, 2011 8:10 PM

    The Print output depends on the paper Size ! Why don't you try using a Standard Text for your requirement ?

  • Help centering a box in a jpanel

    hi every1,
    I need some help centering a box in a jpanel both
    horizontally and vertically.
    which layout is the correct one?
    could you post a scrap of code please?
    thanxalot
    stefano

    With the GridBagLayout you basically can do everything. Are there more components in the panel or just this box. If it's just the box, change the Layout of the panel to GridBagLayout and the anchor of the box to center. That should beeverything to do.
    Cheers
    Jonas

  • HTMLEditorKit Centering Text

    Hello,
    I am writing a basic html editor which uses a textPane and java's HTMLEditorKit. The program allows the html to be saved.
    At the moment the text can only be written in a row by row form. And I would like to add the option of centering text, and images Which could be switch on and off, suchas in Microsoft's word.
    Could anyone provide an example of how to achieve this, or over some guidance.
    Thank you

    Thanks,
    I had a look at the site, though I could not find the answer, to how to use the java tools StyleSheet HTMLDocument and HTMLEditorKit kit. And allow the user to center text and images within a textpane, which would add the center tag to the HTMLDocument which contains the html template.
    Could you possibly advice further?

  • How do I place a transparent image over specific, centered text?

    I'm helping someone with a site that flows sales copy down the center of the browser window. We want to take a transparent oval and place it over a price that will be in the copy. (It would look like someone took a marker and circled the price.)
    I had learned that AP Div could solve this problem and, to an extent, it does. I can place the oval right over the price. But it only works when the copy is left justified, not centered. If the copy is centered, I can place the oval, but if the browser window is resized, the oval stays in place while the copy is reflowed to the new browser window size. Thus the oval is no longer over the correct text.
    Then I learned that Layout Mode might solve this problem, however that has been removed from CS4.
    So now my question is how do I to take a transparent .png file and place it over copy on this site so that if the browser window is resized, the .png file stays with the correct text as the text is "moved" to stay in the center of the brower window?
    I want to avoid the workaround of simply creating a .png with the oval and the price and inserting that in the middle of the copy at the appropriate place. There must be a better way to handle this. Not being too familiar with Dreamweaver, maybe there's some sort of Anchor function similar to one in InDesign that solves this issue.
    I've attached the simple oval .png file we're trying to use for this.
    Thanks in advance for any help.

    How about having the circle underneath the text? I know it's a compromise, but it will be much easier to do as you can assign a background image to the div or table cell which holds the text.
    For example, make a blank graphic and create a class:
    .price
        background-image: url(nocircle.png);
    then assign it to the text and give each text div a unique name
    <div class="price" id="price1">10.99</div>
    then you can turn the background image on and off using Dreamweaver's javascript controls, for example:
    onclick="MM_changeProp('price1','','background-image','url(circle.png)','DIV');"
    Hope that helps.
    Peter

  • Dreamweaver CS4 help centering please

    Hi everyone,
    I'm trying to center my website using Dreamweaver. When I preview my site in Dreamweaver it looks good and centered. When I upload the site to Godaddy my site left justifies. Can anyone please help me. I'm a novice and I'm trying to create a page for a small business. Here is the coding for the site. I've tried several help tips online and nothing seems to work. Any help will be highly appreciated. Thanks for your time! Also, I think it has something to do with the CSS part. I'm also using a CSS style sheet.
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
       "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>Loan Modification Reviews For You | Get a Loan Modification Today!</title>
    <link href="style.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
    <!--
    .header .header_center p {
    font-size: 16px;
    text-align: left;
    .header .woman p {
    color: #75B4EA;
    font-weight: bold;
    font-size: 36px;
    font-family: helvitca;
    .content p {
    text-align: center;
    color: #C1D3FB;
    .content p {
    color: #000;
    .content p {
    font-size: 12px;
    text-align: left;
    .a {
    font-size: 24px;
    .content a {
    color: #545454;
    a2 {
    color: #545454;
    .a3 {
    color: #000;
    font-size: 24px;
    text-align: center;
    p {
    text-align: left;
    font-size: 11px;
    .content .a3 .a3 {
    text-align: center;
    .content .a3 .a3 {
    text-align: center;
    .a5 {
    font-size: 36px;
    .input br {
    text-align: center;
    .a15 {
    text-align: center;
    a:link {
    color: #FF3;
    a:visited {
    color: #033;
    body {
    margin-left: auto;
    margin-right: auto;
    text-align:center;
    #contents
      margin-top: 10px;
      margin-bottom: 10px;
      margin-right:auto;
      margin-left:auto;
      width: 766px;
      padding: 10px;
      background-color: #FFF;
      color: #000;
      text-align: center;
      body {
    background-color:#fff;
    width:766px;
    text-align:center;
    margin:0 auto;
    position:relative;
    font-size: 24px;
    #contents
      margin-top: 5px;
      margin-bottom: 10px;
      margin-right:0;
      margin-left:0;
      width: 766px;
      padding: 10px;
      background-color: #FFF;
      color: #000;
      text-align: center;
    margin:0;
    padding:0;
    font-size:11px;
    font-family:Tahoma,sans-serif;
    color:#545454;
    img {
    border:0;
    text-align: center;
    a {
    text-decoration:none;
    a:hover {
    text-decoration:underline;
    text-align: left;
    color: #D6D6D6;
    .clearing {
    clear:both;
    height:0px;
    width:0px;
    font-size:0px;
    .float_l {
    float:left;
    .header {
    height:290px;
    background:url('images/border_top.jpg') repeat-x;
    .woman {
    background:url('images/woman_top.gif') top right no-repeat;
    width:766px;
    height:119px;
    color: #FFEA00;
    font-size: 24px;
    .woman img {
    margin:45px 0 0 48px;
    .header_center {
    background:url('images/woman_center.jpg') no-repeat;
    height:114px;
    text-align: left;
    .header_center p {
    width:505px;
    font-size:25px;
    font-family:Helvetica;
    color:#fff;
    text-align:center;
    padding-top:20px;
    .header_center span {
    font-family:Verdana;
    font-weight:bold;
    color:#215489;
    vertical-align:top;
    padding-left:55px;
    .header_center a {
    font-size:24px;
    font-family:Helvetica;
    font-weight:bold;
    color:#ffea00;
    vertical-align:top;
    .navigation {
    background:url('images/navigation.jpg') no-repeat;
    height:57px;
    .navigation_links {
    color:#fff;
    padding:15px 0 0 70px;
    text-align: center;
    .navigation_links img {
    margin: 0 6px;
    .content {
    background:url('images/border.gif') repeat-y;
    margin-top:15px;
    border:1px solid #fff;
    color: #4179B6;
    font-size: 24px;
    text-align: right;
    .colum_left {
    width:214px;
    margin-left:20px;
    html>body .colum_left {
    margin-left:50px;
    .news {
    width:200px;
    height:auto;
    margin:0 0 15px 5px;
    .news_title {
    background-color:#f2f2f2;
    color:#437fbe;
    margin:5px 0;
    padding:1px 0 0 10px;
    .news h1 {
    margin-left:10px;
    .news p {
    margin-bottom:5px;
    margin-left:10px;
    .news span {
    background:url('images/link.gif') no-repeat;
    background-position:right;
    padding-right:25px;
    margin-left:10px;
    .news a {
    color:#8f969c;
    font-weight:bold;
    font-size:10px;
    .search {
    width:190px;
    background-color:#f2f2f2;
    color:#4b4b4b;
    padding:10px 0 0 10px;
    margin:5px 0 0 5px;
    .search span {
    background:url('images/search.gif') no-repeat;
    background-position:left;
    padding-left:10px;
    margin-left:10px;
    .input {
    margin:5px 0 15px 0;
    .ok {
    margin-top:6px;
    vertical-align:top !important;
    vertical-align:middle;
    .colum_right {
    width:400px;
    margin-left:40px;
    .top {
    margin-bottom:17px;
    .top img {
    margin:0 10px 5px 0;
    .top p {
    margin-bottom:5px
    .top span {
    background:url('images/link.gif') no-repeat;
    background-position:right;
    padding-right:25px;
    .top a {
    color:#8f969c;
    font-weight:bold;
    font-size:10px;
    .bottom img {
    margin-bottom:5px;
    .column {
    width:200px;
    .column img {
    margin:0 10px 5px 0;
    .column p {
    margin-bottom:8px
    .column span {
    background:url('images/link_icon.gif') no-repeat;
    background-position:left;
    padding-left:10px;
    .column a {
    color:#87ad1f;
    text-decoration:underline;
    .column a:hover {
    text-decoration:none;
    .spacer {
    clear:left;
    height:1px;
    .footer {
    background:url('images/footer_background.gif') no-repeat;
    height:63px;
    margin-top:15px;
    color:#fff;
    text-align:right;
    padding:20px 40px 0 0;
    .footer a {
    color:#fff;
    .bbb {
    text-align: center;
    .header .header_center pppp {
    text-align: left;
    .a5 br {
    font-size: 11px;
    -->
    </style>
    </head>
    <body>
    <div id="container">
    <div class = "header">
      <div class = "woman">
        <p> </p>
        <p>LoanModificationReviews.com</p>
      </div>
      <div class = "header_center">
        <p>GET THE TOOLS YOU NEED TO MODIFY YOUR MORTGAGE<br />
           </p>
       <p><a href = "#">Loan Modification Tool Reviews For You</a> </p>
        </div>
      <div class = "navigation">
       <div class = "navigation_links"></div>
      </div>
    </div>
    <p> </p>
    <p> </p>
    <h1 align="center" class="a5"> Loan Modifications are  Easy </h1>
        <h1 align="center" class="a5">Loan Modification  Reviews For You</h1>
        <p align="center"> </p>
    <p><strong>Do not be fooled</strong> by any guru, system or web site that tells   you that you can not do Loan Modiciationst . Making your home affordable requires agent hard work and the right   tools you need to modify your mortgage.<br />
          <br />
          We've reviewed all of the popular Loan Modification Kits out there and we're going to tell you <strong>which are worth the money   and which to avoid! </strong><br />
          <br />
    <strong>save you time,   money </strong>and help you generate Loan Modifications and <strong>succeed</strong> at making your home more affordable</p>
        <p> </p>
    <table cellspacing="0" cellpadding="0">
          <tr>
            <td><a href="http://e2429jtwou38ok2j6aer5gkc22.hop.clickbank.net/"><img src="images/160minloanmodfixed.jpg" alt="" width="300" height="252" /></a></td>
            <td><img src="images/spacer.gif" alt="" width="10" height="10" /></td>
            <td valign="top"><table cellspacing="0" cellpadding="0" width="100%" border="0">
              <tbody>
                <tr>
                  <td><img src="images/t1.jpg" alt="" width="527" height="33" /></td>
                </tr>
                <tr>
                  <td background="images/t2.jpg"><table cellspacing="0" cellpadding="0" width="90%" border="0">
                    <tbody>
                      <tr>
                        <td><div>  
                          <div class="a3"><img src="images/title_customer_rating.gif" alt="" width="111" height="13" /><img src="images/check.gif" alt="" width="18" height="17" hspace="5" /><img height="17" alt="" hspace="0" src="images/check.gif" width="18" /><img height="17" alt="" hspace="5" src="images/check.gif" width="18" /><img height="17" alt="" hspace="5" src="images/check.gif" width="18" /><img height="17" alt="" hspace="5" src="images/check.gif" width="18" /></div>
                          <p><strong> Company:</strong> 60-Minute Loan Modification</p>
                          <p><strong>Website:</strong><a href="http://e2429jtwou38ok2j6aer5gkc22.hop.clickbank.net/"> http://www.60-minuteloanmod.com</a><br />
                            <strong>Rank:</strong> #1<br />
                            <strong>  Cost:</strong> $87.95<br />
                            <strong>Guarantee:</strong> 100% Money Back up to 60 Days<br />
                            <strong><img src="images/spacer.gif" alt="" width="1" height="1" />Description: </strong><br />
                          </p>
    </div></td>
                      </tr>
                    </tbody>
                  </table></td>
                </tr>
                <tr>
                  <td><img src="images/t3.jpg" alt="" width="527" height="33" /></td>
                </tr>
              </tbody>
            </table></td>
          </tr>
          <tr>
            <td colspan="3"><img height="10" alt="" src="images/spacer.gif" width="10" /></td>
          </tr>
        </table>
    <p> </p>
    <table cellspacing="0" cellpadding="0">
          <tr>
            <td><img src="images/4thediymortgagemodkitfixed.jpg" alt="" width="300" height="252" /></td>
            <td><img src="images/spacer.gif" alt="" width="10" height="10" /></td>
            <td valign="top"><table cellspacing="0" cellpadding="0" width="100%" border="0">
              <tbody>
                <tr>
                  <td><img src="images/t1.jpg" alt="" width="527" height="33" /></td>
                </tr>
                <tr>
                  <td background="images/t2.jpg"><table cellspacing="0" cellpadding="0" width="92%" border="0">
                    <tbody>
                      <tr>
                        <td><div>
                          <div class="input"><img src="images/title_customer_rating.gif" alt="" width="111" height="13" /><img src="images/check.gif" alt="" width="18" height="17" hspace="5" /><img height="17" alt="" hspace="0" src="images/check.gif" width="18" /><img height="17" alt="" hspace="5" src="images/check.gif" width="18" /><img height="17" alt="" hspace="5" src="images/check.gif" width="18" /><img height="17" alt="" hspace="5" src="images/check.gif" width="18" /></div>
                          <p><strong> Company:</strong></p>
                          <p class="input"><strong>Website:</strong><br />
                            <strong>Rank:</strong> #2<br />
                            <strong>Cost:</strong><br />
                            <strong>Guarantee:</strong><br />
                            <strong>Description: </strong>sdafsdfsdf asdf sadfsd fasdf asdf asdf asdf asd fsdaf asdf asd fasd fasd fasd fas df asdf asdf asd fasd f asdf dasf asd fasd fa sdf asdf asd fsad fasd fa sdf asd fasd f asdf asd fasd fasd f asdf asd fasd f asdf asd fasd fasd f asdf asd fasd f asdf daf das fsda fda fas df asdf asdf asd fad sfads f asdf ads fasd fasd fdas f <br />
                        </p>
                        </div></td>
                      </tr>
                    </tbody>
                  </table></td>
                </tr>
                <tr>
                  <td><img src="images/t3.jpg" alt="" width="527" height="33" /></td>
                </tr>
              </tbody>
            </table></td>
          </tr>
          <tr>
            <td colspan="3"><img height="10" alt="" src="images/spacer.gif" width="10" /></td>
          </tr>
        </table>
    <p> </p>
    <table cellspacing="0" cellpadding="0">
          <tr>
            <td><img src="images/5loanmodguidebookfixed.jpg" alt="" width="300" height="252" /></td>
            <td><img src="images/spacer.gif" alt="" width="10" height="10" /></td>
            <td valign="top"><table cellspacing="0" cellpadding="0" width="100%" border="0">
              <tbody>
                <tr>
                  <td><img src="images/t1.jpg" alt="" width="527" height="33" /></td>
                </tr>
                <tr>
                  <td background="images/t2.jpg"><table cellspacing="0" cellpadding="0" width="90%" border="0">
                    <tbody>
                      <tr>
                        <td><div>
                          <div><img src="images/title_customer_rating.gif" alt="" width="111" height="13" /><img src="images/check.gif" alt="" width="18" height="17" hspace="5" /><img height="17" alt="" hspace="0" src="images/check.gif" width="18" /><img height="17" alt="" hspace="5" src="images/check.gif" width="18" /><img height="17" alt="" hspace="5" src="images/check.gif" width="18" /><img height="17" alt="" hspace="5" src="images/check.gif" width="18" /></div>
                          <p><strong> Company:</strong> <a href="http://1.reosecret.hop.clickbank.net/?tid=REO4AGENT" target="_blank">1000+   Asset Management - ListingREO.com</a></p>
                          <p><strong>Website:</strong> <a href="http://1.reosecret.hop.clickbank.net/?tid=REO4AGENT" target="_blank">www.ListingREO.com</a><br />
                            <strong>Rank:</strong> #1<br />
                            <strong>Cost:</strong> $99.00<br />
                            <strong>Guarantee:</strong> 60 Day Money   Back<br />
                            <strong>Description: </strong>Absolutely, hands down, the best list of   Banks, Lenders and Asset managers we have found! With over 1,000 contacts on   this list, <strong>ANYONE</strong> can start listing REOs and processing BPOs!   While most lists include main contact numbers and general websites, this list   contains individual contact information for the key decision makers at each   bank. This is the critical information you need to succeed as a BPO and REO   agent! In addition, this list provides a monthly update to ensure your REO list   is fresh and up to date.</p>
                          <br />
                        </div></td>
                      </tr>
                    </tbody>
                  </table></td>
                </tr>
                <tr>
                  <td><img src="images/t3.jpg" alt="" width="527" height="33" /></td>
                </tr>
              </tbody>
            </table></td>
          </tr>
          <tr>
            <td colspan="3"><img height="10" alt="" src="images/spacer.gif" width="10" /></td>
          </tr>
        </table>
    <br />
    <table cellspacing="0" cellpadding="0">
          <tr>
            <td><img src="images/2doityourselfloanmodfixed.jpg" alt="" width="300" height="252" /></td>
            <td><img src="images/spacer.gif" alt="" width="10" height="10" /></td>
            <td valign="top"><table cellspacing="0" cellpadding="0" width="100%" border="0">
              <tbody>
                <tr>
                  <td><img src="images/t1.jpg" alt="" width="527" height="33" /></td>
                </tr>
                <tr>
                  <td background="images/t2.jpg"><table cellspacing="0" cellpadding="0" width="90%" border="0">
                    <tbody>
                      <tr>
                        <td><div>
                          <div><img src="images/title_customer_rating.gif" alt="" width="111" height="13" /><img src="images/check.gif" alt="" width="18" height="17" hspace="5" /><img height="17" alt="" hspace="0" src="images/check.gif" width="18" /><img height="17" alt="" hspace="5" src="images/check.gif" width="18" /><img height="17" alt="" hspace="5" src="images/check.gif" width="18" /><img height="17" alt="" hspace="5" src="images/check.gif" width="18" /></div>
                          <p><strong> Company:</strong> <a href="http://1.reosecret.hop.clickbank.net/?tid=REO4AGENT" target="_blank">1000+   Asset Management - ListingREO.com</a></p>
                          <p><strong>Website:</strong> <a href="http://1.reosecret.hop.clickbank.net/?tid=REO4AGENT" target="_blank">www.ListingREO.com</a><br />
                            <strong>Rank:</strong> #1<br />
                            <strong>Cost:</strong> $99.00<br />
                            <strong>Guarantee:</strong> 60 Day Money   Back<br />
                            <strong>Description: </strong>Absolutely, hands down, the best list of   Banks, Lenders and Asset managers we have found! With over 1,000 contacts on   this list, <strong>ANYONE</strong> can start listing REOs and processing BPOs!   While most lists include main contact numbers and general websites, this list   contains individual contact information for the key decision makers at each   bank. This is the critical information you need to succeed as a BPO and REO   agent! In addition, this list provides a monthly update to ensure your REO list   is fresh and up to date.</p>
                          <br />
                        </div></td>
                      </tr>
                    </tbody>
                  </table></td>
                </tr>
                <tr>
                  <td><img src="images/t3.jpg" alt="" width="527" height="33" /></td>
                </tr>
              </tbody>
            </table></td>
      </tr>
          <tr>
            <td colspan="3"><img height="10" alt="" src="images/spacer.gif" width="10" /></td>
          </tr>
    </table>
    <p><br />
      </p>
        <table cellspacing="0" cellpadding="0">
          <tr>
            <td><img src="images/3theloandmodkitfixed.jpg" alt="" width="300" height="252" /></td>
            <td><img src="images/spacer.gif" alt="" width="10" height="10" /></td>
            <td valign="top"><table cellspacing="0" cellpadding="0" width="100%" border="0">
              <tbody>
                <tr>
                  <td><img src="images/t1.jpg" alt="" width="527" height="33" /></td>
                </tr>
                <tr>
                  <td background="images/t2.jpg"><table cellspacing="0" cellpadding="0" width="90%" border="0">
                    <tbody>
                      <tr>
                        <td><div>
                          <div><img src="images/title_customer_rating.gif" alt="" width="111" height="13" /><img src="images/check.gif" alt="" width="18" height="17" hspace="5" /><img height="17" alt="" hspace="0" src="images/check.gif" width="18" /><img height="17" alt="" hspace="5" src="images/check.gif" width="18" /><img height="17" alt="" hspace="5" src="images/check.gif" width="18" /><img height="17" alt="" hspace="5" src="images/check.gif" width="18" /></div>
                          <p><strong> Company:</strong> <a href="http://1.reosecret.hop.clickbank.net/?tid=REO4AGENT" target="_blank">1000+   Asset Management - ListingREO.com</a></p>
                          <p><strong>Website:</strong> <a href="http://1.reosecret.hop.clickbank.net/?tid=REO4AGENT" target="_blank">www.ListingREO.com</a><br />
                            <strong>Rank:</strong> #1<br />
                            <strong>Cost:</strong> $99.00<br />
                            <strong>Guarantee:</strong> 60 Day Money   Back<br />
                            <strong>Description: </strong>Absolutely, hands down, the best list of   Banks, Lenders and Asset managers we have found! With over 1,000 contacts on   this list, <strong>ANYONE</strong> can start listing REOs and processing BPOs!   While most lists include main contact numbers and general websites, this list   contains individual contact information for the key decision makers at each   bank. This is the critical information you need to succeed as a BPO and REO   agent! In addition, this list provides a monthly update to ensure your REO list   is fresh and up to date.</p>
                          <br />
                        </div></td>
                      </tr>
                    </tbody>
                  </table></td>
                </tr>
                <tr>
                  <td><img src="images/t3.jpg" alt="" width="527" height="33" /></td>
                </tr>
              </tbody>
            </table></td>
          </tr>
          <tr>
            <td colspan="3"><img height="10" alt="" src="images/spacer.gif" width="10" /></td>
          </tr>
    </table>
    <p>  </p>
        <p align="center">  </p>
        <div class = "footer"> Copyright 2007 &copy; LoanModificationsReviews. All rights reserved<br />
          <a href = "#">Term of Use</a> / <a href = "#">Privacy Policy</a><br />
        </div>
        <p class="a3"> </p>
         </div>
    </body>
    </html>
    <script language='javascript' src='https://a12.alphagodaddy.com/hosting_ads/gd01.js'></script>

    Hi Nadia,
    I followed your instructions but it is still left justifying the site. The site link is http://www.seanwooduf.com
    I'll paste the html code again. Thank you for you fast response!
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
       "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>Loan Modification Reviews For You | Get a Loan Modification Today!</title>
    <link href="style.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
    <!--
    .header .header_center p {
    font-size: 16px;
    text-align: left;
    .header .woman p {
    color: #75B4EA;
    font-weight: bold;
    font-size: 24px;
    font-family: helvitca;
    .content p {
    text-align: center;
    color: #C1D3FB;
    .content p {
    color: #000;
    .content p {
    font-size: 12px;
    text-align: left;
    .a {
    font-size: 24px;
    .content a {
    color: #545454;
    a2 {
    color: #545454;
    .a3 {
    color: #000;
    font-size: 24px;
    text-align: center;
    p {
    text-align: left;
    font-size: 11px;
    .content .a3 .a3 {
    text-align: center;
    .content .a3 .a3 {
    text-align: center;
    .a5 {
    font-size: 36px;
    .input br {
    text-align: center;
    .a15 {
    text-align: center;
    a:link {
    color: #FF3;
    a:visited {
    color: #033;
    font-size: 18px;
    body {
    text-align:center;
    background-color: white;
    #contents
      margin-top: 10px;
      margin-bottom: 10px;
      margin-right:auto;
      margin-left:auto;
      width: 766px;
      padding: 10px;
      background-color: #FFF;
      color: #000;
      text-align: center;
    #container {
        width: 766px; 
        margin: 0 auto;
    -->
    </style>
    </head>
    <body>
    <div id="container">
    <div class = "header">
      <div class = "woman">
        <p> </p>
        <p>HomeLoanModificationReviews.com</p>
      </div>
      <div class = "header_center">
        <p>GET THE TOOLS YOU NEED TO MODIFY YOUR MORTGAGE<br />
           </p>
       <p><a href = "#">Loan Modification Tool Reviews For You</a> </p>
        </div>
      <div class = "navigation">
       <div class = "navigation_links"></div>
      </div>
    </div>
    <p> </p>
    <p> </p>
    <h1 align="center" class="a5"> Loan Modifications are  Easy </h1>
        <h1 align="center" class="a5">Loan Modification  Reviews For You</h1>
        <p align="center"> </p>
    <p><strong>Do not be fooled</strong> by any guru, system or web site that tells   you that you can not do Loan Modiciationst . Making your home affordable requires agent hard work and the right   tools you need to modify your mortgage.<br />
          <br />
          We've reviewed all of the popular Loan Modification Kits out there and we're going to tell you <strong>which are worth the money   and which to avoid! </strong><br />
          <br />
    <strong>save you time,   money </strong>and help you generate Loan Modifications and <strong>succeed</strong> at making your home more affordable</p>
        <p> </p>
    <table cellspacing="0" cellpadding="0">
          <tr>
            <td><a href="http://e2429jtwou38ok2j6aer5gkc22.hop.clickbank.net/"><img src="images/160minloanmodfixed.jpg" alt="" width="300" height="252" /></a></td>
            <td><img src="images/spacer.gif" alt="" width="10" height="10" /></td>
            <td valign="top"><table cellspacing="0" cellpadding="0" width="100%" border="0">
              <tbody>
                <tr>
                  <td><img src="images/t1.jpg" alt="" width="527" height="33" /></td>
                </tr>
                <tr>
                  <td background="images/t2.jpg"><table cellspacing="0" cellpadding="0" width="90%" border="0">
                    <tbody>
                      <tr>
                        <td><div>  
                          <div class="a3"><img src="images/title_customer_rating.gif" alt="" width="111" height="13" /><img src="images/check.gif" alt="" width="18" height="17" hspace="5" /><img height="17" alt="" hspace="0" src="images/check.gif" width="18" /><img height="17" alt="" hspace="5" src="images/check.gif" width="18" /><img height="17" alt="" hspace="5" src="images/check.gif" width="18" /><img height="17" alt="" hspace="5" src="images/check.gif" width="18" /></div>
                          <p><strong> Company:</strong> 60-Minute Loan Modification</p>
                          <p><strong>Website:</strong><a href="http://e2429jtwou38ok2j6aer5gkc22.hop.clickbank.net/"> http://www.60-minuteloanmod.com</a><br />
                            <strong>Rank:</strong> #1<br />
                            <strong>  Cost:</strong> $87.95<br />
                            <strong>Guarantee:</strong> 100% Money Back up to 60 Days<br />
                            <strong><img src="images/spacer.gif" alt="" width="1" height="1" />Description: </strong><br />
                          </p>
    </div></td>
                      </tr>
                    </tbody>
                  </table></td>
                </tr>
                <tr>
                  <td><img src="images/t3.jpg" alt="" width="527" height="33" /></td>
                </tr>
              </tbody>
            </table></td>
          </tr>
          <tr>
            <td colspan="3"><img height="10" alt="" src="images/spacer.gif" width="10" /></td>
          </tr>
        </table>
    <p> </p>
    <table cellspacing="0" cellpadding="0">
          <tr>
            <td><img src="images/4thediymortgagemodkitfixed.jpg" alt="" width="300" height="252" /></td>
            <td><img src="images/spacer.gif" alt="" width="10" height="10" /></td>
            <td valign="top"><table cellspacing="0" cellpadding="0" width="100%" border="0">
              <tbody>
                <tr>
                  <td><img src="images/t1.jpg" alt="" width="527" height="33" /></td>
                </tr>
                <tr>
                  <td background="images/t2.jpg"><table cellspacing="0" cellpadding="0" width="92%" border="0">
                    <tbody>
                      <tr>
                        <td><div>
                          <div class="input"><img src="images/title_customer_rating.gif" alt="" width="111" height="13" /><img src="images/check.gif" alt="" width="18" height="17" hspace="5" /><img height="17" alt="" hspace="0" src="images/check.gif" width="18" /><img height="17" alt="" hspace="5" src="images/check.gif" width="18" /><img height="17" alt="" hspace="5" src="images/check.gif" width="18" /><img height="17" alt="" hspace="5" src="images/check.gif" width="18" /></div>
                          <p><strong> Company:</strong></p>
                          <p class="input"><strong>Website:</strong><br />
                            <strong>Rank:</strong> #2<br />
                            <strong>Cost:</strong><br />
                            <strong>Guarantee:</strong><br />
                            <strong>Description: </strong>sdafsdfsdf asdf sadfsd fasdf asdf asdf asdf asd fsdaf asdf asd fasd fasd fasd fas df asdf asdf asd fasd f asdf dasf asd fasd fa sdf asdf asd fsad fasd fa sdf asd fasd f asdf asd fasd fasd f asdf asd fasd f asdf asd fasd fasd f asdf asd fasd f asdf daf das fsda fda fas df asdf asdf asd fad sfads f asdf ads fasd fasd fdas f <br />
                        </p>
                        </div></td>
                      </tr>
                    </tbody>
                  </table></td>
                </tr>
                <tr>
                  <td><img src="images/t3.jpg" alt="" width="527" height="33" /></td>
                </tr>
              </tbody>
            </table></td>
          </tr>
          <tr>
            <td colspan="3"><img height="10" alt="" src="images/spacer.gif" width="10" /></td>
          </tr>
        </table>
    <p> </p>
    <table cellspacing="0" cellpadding="0">
          <tr>
            <td><img src="images/5loanmodguidebookfixed.jpg" alt="" width="300" height="252" /></td>
            <td><img src="images/spacer.gif" alt="" width="10" height="10" /></td>
            <td valign="top"><table cellspacing="0" cellpadding="0" width="100%" border="0">
              <tbody>
                <tr>
                  <td><img src="images/t1.jpg" alt="" width="527" height="33" /></td>
                </tr>
                <tr>
                  <td background="images/t2.jpg"><table cellspacing="0" cellpadding="0" width="90%" border="0">
                    <tbody>
                      <tr>
                        <td><div>
                          <div><img src="images/title_customer_rating.gif" alt="" width="111" height="13" /><img src="images/check.gif" alt="" width="18" height="17" hspace="5" /><img height="17" alt="" hspace="0" src="images/check.gif" width="18" /><img height="17" alt="" hspace="5" src="images/check.gif" width="18" /><img height="17" alt="" hspace="5" src="images/check.gif" width="18" /><img height="17" alt="" hspace="5" src="images/check.gif" width="18" /></div>
                          <p><strong> Company:</strong> <a href="http://1.reosecret.hop.clickbank.net/?tid=REO4AGENT" target="_blank">1000+   Asset Management - ListingREO.com</a></p>
                          <p><strong>Website:</strong> <a href="http://1.reosecret.hop.clickbank.net/?tid=REO4AGENT" target="_blank">www.ListingREO.com</a><br />
                            <strong>Rank:</strong> #1<br />
                            <strong>Cost:</strong> $99.00<br />
                            <strong>Guarantee:</strong> 60 Day Money   Back<br />
                            <strong>Description: </strong>Absolutely, hands down, the best list of   Banks, Lenders and Asset managers we have found! With over 1,000 contacts on   this list, <strong>ANYONE</strong> can start listing REOs and processing BPOs!   While most lists include main contact numbers and general websites, this list   contains individual contact information for the key decision makers at each   bank. This is the critical information you need to succeed as a BPO and REO   agent! In addition, this list provides a monthly update to ensure your REO list   is fresh and up to date.</p>
                          <br />
                        </div></td>
                      </tr>
                    </tbody>
                  </table></td>
                </tr>
                <tr>
                  <td><img src="images/t3.jpg" alt="" width="527" height="33" /></td>
                </tr>
              </tbody>
            </table></td>
          </tr>
          <tr>
            <td colspan="3"><img height="10" alt="" src="images/spacer.gif" width="10" /></td>
          </tr>
        </table>
    <br />
    <table cellspacing="0" cellpadding="0">
          <tr>
            <td><img src="images/2doityourselfloanmodfixed.jpg" alt="" width="300" height="252" /></td>
            <td><img src="images/spacer.gif" alt="" width="10" height="10" /></td>
            <td valign="top"><table cellspacing="0" cellpadding="0" width="100%" border="0">
              <tbody>
                <tr>
                  <td><img src="images/t1.jpg" alt="" width="527" height="33" /></td>
                </tr>
                <tr>
                  <td background="images/t2.jpg"><table cellspacing="0" cellpadding="0" width="90%" border="0">
                    <tbody>
                      <tr>
                        <td><div>
                          <div><img src="images/title_customer_rating.gif" alt="" width="111" height="13" /><img src="images/check.gif" alt="" width="18" height="17" hspace="5" /><img height="17" alt="" hspace="0" src="images/check.gif" width="18" /><img height="17" alt="" hspace="5" src="images/check.gif" width="18" /><img height="17" alt="" hspace="5" src="images/check.gif" width="18" /><img height="17" alt="" hspace="5" src="images/check.gif" width="18" /></div>
                          <p><strong> Company:</strong> <a href="http://1.reosecret.hop.clickbank.net/?tid=REO4AGENT" target="_blank">1000+   Asset Management - ListingREO.com</a></p>
                          <p><strong>Website:</strong> <a href="http://1.reosecret.hop.clickbank.net/?tid=REO4AGENT" target="_blank">www.ListingREO.com</a><br />
                            <strong>Rank:</strong> #1<br />
                            <strong>Cost:</strong> $99.00<br />
                            <strong>Guarantee:</strong> 60 Day Money   Back<br />
                            <strong>Description: </strong>Absolutely, hands down, the best list of   Banks, Lenders and Asset managers we have found! With over 1,000 contacts on   this list, <strong>ANYONE</strong> can start listing REOs and processing BPOs!   While most lists include main contact numbers and general websites, this list   contains individual contact information for the key decision makers at each   bank. This is the critical information you need to succeed as a BPO and REO   agent! In addition, this list provides a monthly update to ensure your REO list   is fresh and up to date.</p>
                          <br />
                        </div></td>
                      </tr>
                    </tbody>
                  </table></td>
                </tr>
                <tr>
                  <td><img src="images/t3.jpg" alt="" width="527" height="33" /></td>
                </tr>
              </tbody>
            </table></td>
      </tr>
          <tr>
            <td colspan="3"><img height="10" alt="" src="images/spacer.gif" width="10" /></td>
          </tr>
    </table>
    <p><br />
      </p>
        <table cellspacing="0" cellpadding="0">
          <tr>
            <td><img src="images/3theloandmodkitfixed.jpg" alt="" width="300" height="252" /></td>
            <td><img src="images/spacer.gif" alt="" width="10" height="10" /></td>
            <td valign="top"><table cellspacing="0" cellpadding="0" width="100%" border="0">
              <tbody>
                <tr>
                  <td><img src="images/t1.jpg" alt="" width="527" height="33" /></td>
                </tr>
                <tr>
                  <td background="images/t2.jpg"><table cellspacing="0" cellpadding="0" width="90%" border="0">
                    <tbody>
                      <tr>
                        <td><div>
                          <div><img src="images/title_customer_rating.gif" alt="" width="111" height="13" /><img src="images/check.gif" alt="" width="18" height="17" hspace="5" /><img height="17" alt="" hspace="0" src="images/check.gif" width="18" /><img height="17" alt="" hspace="5" src="images/check.gif" width="18" /><img height="17" alt="" hspace="5" src="images/check.gif" width="18" /><img height="17" alt="" hspace="5" src="images/check.gif" width="18" /></div>
                          <p><strong> Company:</strong> <a href="http://1.reosecret.hop.clickbank.net/?tid=REO4AGENT" target="_blank">1000+   Asset Management - ListingREO.com</a></p>
                          <p><strong>Website:</strong> <a href="http://1.reosecret.hop.clickbank.net/?tid=REO4AGENT" target="_blank">www.ListingREO.com</a><br />
                            <strong>Rank:</strong> #1<br />
                            <strong>Cost:</strong> $99.00<br />
                            <strong>Guarantee:</strong> 60 Day Money   Back<br />
                            <strong>Description: </strong>Absolutely, hands down, the best list of   Banks, Lenders and Asset managers we have found! With over 1,000 contacts on   this list, <strong>ANYONE</strong> can start listing REOs and processing BPOs!   While most lists include main contact numbers and general websites, this list   contains individual contact information for the key decision makers at each   bank. This is the critical information you need to succeed as a BPO and REO   agent! In addition, this list provides a monthly update to ensure your REO list   is fresh and up to date.</p>
                          <br />
                        </div></td>
                      </tr>
                    </tbody>
                  </table></td>
                </tr>
                <tr>
                  <td><img src="images/t3.jpg" alt="" width="527" height="33" /></td>
                </tr>
              </tbody>
            </table></td>
          </tr>
          <tr>
            <td colspan="3"><img height="10" alt="" src="images/spacer.gif" width="10" /></td>
          </tr>
    </table>
    <p>  </p>
        <p align="center">  </p>
        <div class = "footer"> Copyright 2009 &copy; Home LoanModificationsReviews. All rights reserved<br />
          <a href = "#">Term of Use</a> / <a href = "#">Privacy Policy</a><br />
        </div>
        <p class="a3"> </p>
         </div>
    </body>
    </html>
    <script language='javascript' src='https://a12.alphagodaddy.com/hosting_ads/gd01.js'></script>

  • Problems centering text in an includes file.

    I am trying to create an includes file (footer.php) to be displayed in a template file (index.dwt.php).  Am having troubles trying to get it to center the text when it's drawn in and displayed in the templates page.  It always comes in left justified for some reason.  Any help would be appreciated. Thanks.
    Bob Green

    How are you doing the footer?
    If your CSS has a rule that will center text in the footer that is in a paragraph, then you must make your text file for your include have the HTML:
    If your css says:
    footer p {
         text-align: center;
    And your text file for the include is:
    <p>&copy; 2013 big business, inc., All Rights Reserved</p>
    Then the text should be centered. But if it doesn't have the opening and closing paragraph marks, then it won't.
    Simple things like that may cause peoblems for includes.

  • Help centering background video in fluid grid layout inside div

    Hopefully this all makes sense. I am trying to center the background video (the animation on the website towards the bottom)... I have tried all sorts of things to try and center this. If it can't be done, it can't be done. The banner on top works as should. If all else fails I will just not use a fluid grid page and that will be that. I self taught myself  Adobe After Effects to make that animation (took me a month and 1/2) and I have self taught myself Dreamweaver.. coming from Frontpage and Expression Web.
    Here is the website (thank you in advance for your input):
    http://a1customcomputers.com/Web%20Development/A1CC/Main.html
    I just tested it and it's not playing how it should.. I'll figure that out later but where it says "Enter", that is what I need centered. Thanks
    My html so far:
    <!doctype html>
    <!--[if lt IE 7]> <html class="ie6 oldie"> <![endif]-->
    <!--[if IE 7]>    <html class="ie7 oldie"> <![endif]-->
    <!--[if IE 8]>    <html class="ie8 oldie"> <![endif]-->
    <!--[if gt IE 8]><!-->
    <html class="">
    <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Untitled Document</title>
    <link href="boilerplate.css" rel="stylesheet"/>
    <link href="assets/style.css" rel="stylesheet"/>
    <script src="respond.min.js"></script>
    <script type="text/javascript" src="assets/jquery-1.5.1.js"></script>
    <script type="text/javascript" src="jquery.videoBG.js"></script>
    <script type="text/javascript" src="assets/script.js"></script>
    </head>
    <body>
    <div class="gridContainer clearfix">
    <div id="div1" class="fluid">
      <div align="center"><img src="A1_Banner.jpg" /></div>
    </div>
    <p> </p>
    <p> </p>
    <div id="div2" class="fluid"></div>
    </div>
    </body>
    </html>
    my style.css so far:
    @charset "utf-8";
    /* Simple fluid media
       Note: Fluid media requires that you remove the media's height and width attributes from the HTML
       http://www.alistapart.com/articles/fluid-images/
    img, object, embed, video {
    max-width: 90%;
    /* IE 6 does not support max-width so default to width 100% */
    .ie6 img {
    width:100%;
    Dreamweaver Fluid Grid Properties
    dw-num-cols-mobile:  5;
    dw-num-cols-tablet:  8;
    dw-num-cols-desktop: 12;
    dw-gutter-percentage: 15;
    Inspiration from "Responsive Web Design" by Ethan Marcotte
    http://www.alistapart.com/articles/responsive-web-design
    and Golden Grid System by Joni Korpi
    http://goldengridsystem.com/
    .fluid {
    clear: none;
    width: 400px;
    float: left;
    display: block;
    padding-left: auto;
    padding-right: auto;
    .fluidList {
        list-style:none;
        list-style-image:none;
        margin:0;
        padding:0;       
    /* Mobile Layout: 480px and below. */
    .gridContainer {
    width: 100%;
    clear: none;
    float: none;
    height: 100%;
    margin-top: 20px;
    padding-left: 0.7851px;
    padding-right: .7851px;
    #div1 {
    width: 100%;
    #div2 {
    width: 400px;
    height: 400px;
    text-align: left;
    margin-left: auto;
    margin-right: auto;
    .zeroMargin_mobile {
    margin-left: 0;
    .hide_mobile {
    display: none;
    /* Tablet Layout: 481px to 768px. Inherits styles from: Mobile Layout. */
    @media only screen and (min-width: 481px) {
    .gridContainer {
    width: 100%;
    padding-left: 0.7581%;
    padding-right: 0.7581%;
    clear: none;
    float: none;
    margin-top: 20px;
    height: 100%;
    #div1 {
    width: 100%;
    #div2 {
    width: 400px;
    height: 400px;
    text-align: left;
    margin-left: auto;
    margin-right: auto;
    .hide_tablet {
    display: none;
    .zeroMargin_tablet {
    margin-left: 0;
    /* Desktop Layout: 769px to a max of 1232px.  Inherits styles from: Mobile Layout and Tablet Layout. */
    @media only screen and (min-width: 769px) {
    .gridContainer {
    width: 100%;
    margin-top: 20px;
    clear: none;
    float: none;
    padding-left: 0.7581%;
    padding-right: 0.7581%;
    height: 100%;
    #div1 {
    width: 100%;
    margin-bottom: 13%;
    #div2 {
    width: 400px;
    margin: 0 auto;
    .zeroMargin_desktop {
    margin-left: 0;
    .hide_desktop {
    display: none;
    /* DEMOS */
    #div2 {
    width: 400px;
    margin: 0 auto;

    Not trying to argue with you and I know you are only trying to help and I know that you know ALOT more about this than I do.. you do... I don't know if background was the correct "place" to call it.. but nevertheless.. what I beleive it is, is in the background.. and maybe that is part of the problem. It is supposed to be called from a JQuery plugin, and where I have it now is in a "div [div2]" in the "gridcontainer". It was working and my latest attempts it was working great.. but wasn't centered. But I've changed a bunch of code around lately and so that is why it is not working right now... The "Enter" that you see on the link I provided is the "poster". When I get a chance I will work on it and get the animation working again.. or back to normal.. just not centered. At first I was thinking "centered vertically".. and so for like a week, maybe longer.. everthing that I was searching for and trying was for "vertically center a div".. then it hit me.. you jacka$$.. you want to horizontally center it... Haha! Again, thank you for your input.

  • I need help centering my images.

    Hi,
    I am very new to DreamWeaver and have been teaching myself
    for the past week. I am building my own small website for my
    portoflio and can not figure out how to auto center my website.
    When I center one image the other images are in the wrong spots. I
    want everything to center itself based on how big the browser is
    open. Please someone help me!!!!! It's very hard to explain what I
    am trying to do.. I have 3 layers in my page and they are
    overlapping. I dont want each of them auto centered by
    themselves,,, I want them all centered as a whole. Do I have to
    select them all then center them somehow? I have tried everything
    and now I am forced to ask for help!!
    here is a screenshot
    http://img.photobucket.com/albums/v179/smagicpie/Picture1.png

    It would work exactly the way you want if you did what I
    suggested. As far
    as I can tell, there is no change to the code at the link you
    give below.
    Using layers to build your pages is what has gotten you into
    this mess.
    It's not a best practice by any means....
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "smagicpie" <[email protected]> wrote in
    message
    news:fo5dl0$j94$[email protected]..
    > This isn't working. It is centering the links like you
    would center text.
    > I
    > just need all these layers to center as a whole in the
    page. I dont want
    > anything else to change. Is there anyway to select all
    layers and center
    > them?
    > Here is a screenshot showing the layers. The links are
    in a table within a
    > layer.
    http://img.photobucket.com/albums/v179/smagicpie/Picture1.png
    > www.alisonleahwalker.com
    >

  • Centering text & wrapping words on lines

    Hi all,
    I need to have a JLabel that centers the text in it, and allows for multiple lines, where if a line is too long, it wraps onto the next line.
    I started off with a JTextArea, setting "setLineWrap" and "setWrapStyleWord", and this works fine for long lines of text. But, I need to have the text centered as well. Is there any way of doing this? I know JTextPane can do it, but I can't see how to do it in JTextArea.
    any help much appreciated,
    Justin

    Use a JLabel, with HTML text content and set the preferred size of the label as well. This will do auto line wrap;
    ie. ew JLabel("<html><center>The long text</center></html>");ICE

  • Centering text vertically in text box

    When you open a text box how do you center the text in the middle from top to bottom(vertically), not left to right. The text starts immediately in the top left corner. I need it in the center of a predefined text box size, so that if you drew a line across the center of the box from left to right, the top half of the letters  would be above the line and the bottom half would be below the center line. In other words there should be the same distance above the words to the top edge of the text box, as to the bottom of the text box, from the center.

    Thanks for the reply. Let me start by saying I am definitely a newbie with Photoshop. So if you could explain what I should do in PS that would help. I'm using CS6 Extended. I really don't know the difference between Paragraph text and Point text, and not sure what you mean when you ask is this for an Action.
    I selected the "T" Horizontal type tool, and drew a box. Then I started typing. It looks like my selections are left align, center align, and right align. But it does not Center it in the middle of the box. The text is still at the top of the box. I have to have the box a certain size because of the project I'm working on. I'm assuming the text I'm selecting is what you are calling Paragraph Text. How do you use Point Text.
    It's basically the spine on a book cover. You place the Title and the Authors name there, but you have to make sure it fits within the spine width, and is centered in that area. Like if you were looking at the side of a book, the title/author should be centered along that spine from top to bottom.
    Thanks!

Maybe you are looking for

  • Table where Material De and Open PO Nur can be found.

    Dear All,          May I know what is Material De and Open PO Nur ?Please also state in which table above fields are found. Thanks with regards, S.Suresh

  • Attachments are not sent correctly?

    When I send an email with an attachment, the recipient does not receive the attachment; even though I use the "send windows friendly attachments". This happens very often, specially when the recipient is a PC and uses any of the following servers: ho

  • ACS 4.1.4.13 is unable authenticate user to child domain

    Does an ACS server need to be a member of the parent domain in order to see a forest trust? and Error message: "Could not start CSAdmin on local computer- Error 1069 The service did not start because of logon failure."   Does this mean it can't see t

  • How do we get to see RAW images in PSE8 organizer?

    We create all our photographic images in RAW format. Using the PSE 8 in a PC we cannot view them. How or what do we do to make them visible?

  • IView Timeout Error in Production

    Hi We are having one application developed by JSPDynPage ...this application will do lots of DB transactions...Some times when the load is very high on the DB the users will get this Iview Timeout error and they will not see any thing in the portal C