CoolInterview.com - World's Largest Collection of Interview Questions & Answers, FAQs, queries, sample papers, exam papers, dumps, what, why, how, where, when questions
Interview Success Kit - Get Success in Job Interviews Interview Success Kit - 30,000 Interview Que. & Ans.
Covers 30,000+ Interview Questions asked in actual MNC Interviews - all with model answers.

Sponsored Links

Interview Questions
Our Services

INTERVIEW QUESTIONS WEB CSS DETAILS
Question :
Justified Text?
Category CSS Interview Questions
Rating (2.8) By 17 users
Added on 9/4/2014
Views 125
Rate it!


Answers:

Source: CoolInterview.com

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.
Source: CoolInterview.com



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 & Answers

    User Options
    India News Network

    Latest 20 Questions
    What is the meaning of Forfeiting?
    Describe the two components of financial restructuring?
    What is the meaning of Capital Restructuring?
    State the demerits of Merges and Acquisitions?
    State the merits of Mergers and Acquisitions?
    What is the difference between Mergers and Acquisition?
    State the types of Merger?
    What is the meaning of Mergers?
    What is Price Limit in Futures and Options Trading Market?
    What is Price Discovery in Futures and Options Trading Market?
    What is Premium (options) in Futures and Options Trading Market?
    What is Premium (futures) in Futures and Options Trading Market?
    What is Premium in Futures and Options Trading Market?
    State the advantages of Foreign Collaboration?
    What is Position Trading in Futures and Options Trading Market?
    What is Position Limit in Futures and Options Trading Market?
    What is Position Day in Futures and Options Trading Market?
    What is Position in Futures and Options Trading Market?
    What are Point-and-Figure Charts in Futures and Options Trading Market?
    What is Pit in Futures and Options Trading Market?



    Fresher Jobs | Experienced Jobs | Government Jobs | Walkin Jobs | Company Profiles | Interview Questions | Placement Papers | Companies In India | Consultants In India | Colleges In India | Exams In India | Latest Results | Notifications In India | Call Centers In India | Training Institutes In India | Job Communities In India | Courses In India | Jobs by Keyskills | Jobs by Functional Areas

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

    Gate Articles | Gate Books | Gate Colleges | Gate Downloads | Gate Faqs | Gate Jobs | Gate News | Gate Sample Papers | Gate Training Institutes

    MBA Articles | MBA Books | MBA Case Studies | MBA Business Schools | MBA Current Affairs | MBA Downloads | MBA Events | MBA Notifications | MBA FAQs | MBA Jobs
    MBA Job Consultants | MBA News | MBA Results | MBA Courses | MBA Sample Papers | MBA Interview Questions | MBA Training Institutes

    GRE Articles | GRE Books | GRE Colleges | GRE Downloads | GRE Events | GRE FAQs | GRE News | GRE Training Institutes | GRE Sample Papers

    IAS Articles | IAS Books | IAS Current Affairs | IAS Downloads | IAS Events | IAS FAQs | IAS News | IAS Notifications | IAS UPSC Jobs | IAS Previous Question Papers
    IAS Results | IAS Sample Papers | IAS Interview Questions | IAS Training Institutes | IAS Toppers Interview

    SAP Articles | SAP Books | SAP Certifications | SAP Companies | SAP Study Materials | SAP Events | SAP FAQs | SAP Jobs | SAP Job Consultants
    SAP Links | SAP News | SAP Sample Papers | SAP Interview Questions | SAP Training Institutes |




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



    Cache = 0.875 Seconds