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
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

CSS text justification with dreamweaver MX

  • 13-02-2006 6:27pm
    #1
    Registered Users, Registered Users 2 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, Registered Users 2 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, Registered Users 2 Posts: 1,363 ✭✭✭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, Registered Users 2 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, Registered Users 2 Posts: 1,363 ✭✭✭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, Registered Users 2 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