CoolInterview.com - World's Largest Collection of Interview Questions
Start Your Own website Now
Sponsored Links

Interview Questions
Our Services

Get 9,000 Interview Questions & Answers in an eBook.


  • 9500+ Pages
  • 9000 Question & Answers
  • All Tech. Categories
  • 14 MB Content

    Get it now !!



    Send your Resume to 6000 Companies


  • INTERVIEW QUESTIONS WEBSITE RELATED CSS DETAILS
    Question :
    Justified Text?
    Category CSS Interview Questions
    Rating (1.1) By 171 users
    Added on 9/4/2009
    Views 1415
    Rate it!
    Answers:

    You redefine the <p> tag like:

    p {text-align: justify;}

    and that renders all <p>s with justified text.

    Another possibility is to define a class, like:

    .just {text-align: justify;}

    and then you style the paragraphs in question like:

    <td class="just">text </td>

    Note that NN 4.xx has problems with the inheritance of styles; that some NN4.xx browsers have a funny way to interpret "justify"; and that you have to have at least one blank space between the last character and the </p> tag, because otherwise NN 4.xx likes to justify even a three word half-sentence... also, some browsers do a pretty ugly job of rendering justified text, adding spaces between words, instead of spaces between letters, as with word-processing programs.



    If you have the better answer, then send it to us. We will display your answer after the approval.
    Rules to Post Answers in CoolInterview.com:-

  • There should not be any Spelling Mistakes.
  • There should not be any Gramatical Errors.
  • Answers must not contain any bad words.
  • Answers should not be the repeat of same answer, already approved.
  • Answer should be complete in itself.
  • Name :*
    Email Id :*
    Answer :*
    Verification Code Code Image - Please contact webmaster if you have problems seeing this image code Not readable? Load New Code
    Process Verification  Enter the above shown code:*
    Inform me about updated answers to this question

       
    Related Questions
    View Answer
    Do any WYSIWYG editors support the creation of Style Sheets? Any text-based HTML editors?
    View Answer
    Must I quote property values?
    View Answer
    How do I centre my page?
    View Answer
    What is the percentage value in 'font-size' relative to?
    View Answer
    Can I attach more than one declaration to a selector?
    View Answer
    How To Style Forms?
    View Answer
    How To Style Table Cells?
    View Answer
    How far can CSS be taken beyond the web page--that is, have generalized or non-web specific features for such things as page formatting or type setting?
    View Answer
    How frustrating is it to write a specification knowing that you're at the browser vendors' mercy?
    View Answer
    What is initial value?
    View Answer
    What is value?
    View Answer
    What is shorthand property?
    View Answer
    Why shouldn't I use fixed sized fonts ?
    View Answer
    What browsers support style sheets? To what extent?
    View Answer
    Which characters can CSS-names contain?
    View Answer
    How to make text-links without underline?
    View Answer
    What is the difference between ID and CLASS?
    View Answer
    Can I include comments in my Style Sheet?
    View Answer
    Is there anything that CAN'T be replaced by Style Sheets?
    View Answer
    How can I make a page look the same in e.g. NS and MSIE ?
    View Answer


    Please Note: We keep on updating better answers to this site. In case you are looking for Jobs, Pls Click Here Vyoms.com - Best Freshers & Experienced Jobs Website.

    View ALL CSS Interview Questions

    User Options
    Sponsored Links


    Copyright ©2003-2014 CoolInterview.com, All Rights Reserved.
    Privacy Policy | Terms and Conditions

    Download Yahoo Messenger | Placement Papers| FREE SMS | ASP .Net Tutorial | Web Hosting | Dedicated Servers | C Interview Questions & Answers

    Testing Articles | Testing Books | Testing Certifications | Testing FAQs | Testing Downloads | Testing Interview Questions | Testing Jobs | Testing Training Institutes


    Cache = 0.019531 Seconds