Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

CSS text justification with dreamweaver MX

Options
  • 13-02-2006 7:27pm
    #1
    Registered Users Posts: 673 ✭✭✭


    Has anyone had this problem with Dreamweaver MX?

    I have set the main text style to justify the text. Sometimes it justify's the text and sometimes it doesnt. Before i upload it and check it in the browser it all seems to be perfectly justified but when i look at it in my broswer (Internet Explorer and Firefox) it only justifies the text some of the time.

    Anyone know how to sort this out?

    Thanks


Comments

  • Registered Users Posts: 849 ✭✭✭Cr8or


    paste the css code .. i havnt seen dreamweaver doing this before .. unless your using some kind of css includes ect..


  • Registered Users Posts: 1,341 ✭✭✭chabsey


    Has anyone had this problem with Dreamweaver MX?

    I have set the main text style to justify the text. Sometimes it justify's the text and sometimes it doesnt. Before i upload it and check it in the browser it all seems to be perfectly justified but when i look at it in my broswer (Internet Explorer and Firefox) it only justifies the text some of the time.

    Anyone know how to sort this out?

    Thanks


    It might be styling the justification on a 'span' and if your text is over multiple lines, the justification will only appear on the first line. Use a div if that's the problem.


  • Registered Users Posts: 673 ✭✭✭Bananna man


    This is a section of code from the site. The first paragraph isint justifying but the second one is:
    <img src="/lifeline_images/18.jpg" width="20" height="20" align="absbottom"><span class="headings">INTRODUCTION</span><span class="text_main"><br>
                            <br>
                      </span><span class="text_main">Lifeline Relocations Ltd are the Professionals when it comes to Office Relocations and Household Moving. With over 20 years experience in the moving business we are experts in managing Local, National and International Household moves. We cater for Corporate and Ambassadorial clients relocating to new postings in foreign countries. We also specialize in Large Scale Office Relocations. We have complete knowledge and experience of all commercial moving situations and provide a customized relocation package to suit each client. We are not interested in doing substandard work. We are a listening organization. We listen to our clients varied requirements and tailor our service to meet their different needs. We are meticulous, we deliver 110% each time to our clients, and we continue to grow on the strength of our tried and tested reputation.</span></p>
                        <p><img src="/lifeline_images/18.jpg" width="20" height="20" align="absbottom"><span class="headings">COMMITMENT</span> </p>
                        <p class="text_main">Our commitment to you, our potential future client, is to provide you or your organisation with the very best relocation service experience. We will make every effort possible to take the worry and angst out of office moving or household moving, and take control of the move on your behalf. We are a dynamic, professional, quality service organisation. Our Corporate Creed stresses the crucial importance of attention to detail. Detail and planning are the main drivers of a successful relocation project. We seek to achieve and surpass your objectives of a smooth and expedient relocation. Our Staff and Management are fully committed to providing you with the customised service that you demand. This will be achieved by deploying the correct levels of resources to accomplish all projects within, if not before project completion deadlines.
    

    Again, in dreamweaver it all looks justified but when i view it in browser im getting this problem


  • Registered Users Posts: 1,341 ✭✭✭chabsey


    This is a section of code from the site. The first paragraph isint justifying but the second one is:

    Again, in dreamweaver it all looks justified but when i view it in browser im getting this problem

    You've not actually posted the CSS so it's hard to tell the problem. However you've messy code there, get rid of the :

    <span class="text_main"><br><br></span>


    At a quick glance I'd say the problem is as I assumed above, in the second paragraph you've styled the <P> tag, while in the first paragraph you've styled a <SPAN> tag.


  • Registered Users Posts: 673 ✭✭✭Bananna man


    chabsey wrote:
    You've not actually posted the CSS so it's hard to tell the problem. However you've messy code there, get rid of the :

    <span class="text_main"><br><br></span>


    At a quick glance I'd say the problem is as I assumed above, in the second paragraph you've styled the <P> tag, while in the first paragraph you've styled a <SPAN> tag.

    Cheers, that got it sorted. I had styled the span class but the <p> tags were messing it up.


  • Advertisement
Advertisement