Share on Google+Share on Google+

Java Coder
paragraph height css
1 Answer(s)      6 years and a month ago
Posted in : HTML

How can i specify height of a paragraph in CSS?

Ads

View Answers

March 14, 2011 at 2:40 PM


<html>
<head>
<style type="text/css">
p.p1 {line-height:90%;}
p.p2 {line-height:200%;}
</style>
</head>

<body>
<p>
Java is great programming language for the development of enterprise grade applications. This programming Language is evolved from a language named Oak. Oak was developed in the early nineties at Sun Microsystems as a platform-independent language aimed at allowing entertainment appliances such as video game consoles and VCRs to communicate . 
</p>

<p class="p1">
Java is great programming language for the development of enterprise grade applications. This programming Language is evolved from a language named Oak. Oak was developed in the early nineties at Sun Microsystems as a platform-independent language aimed at allowing entertainment appliances such as video game consoles and VCRs to communicate . 
</p>

<p class="p2">
Java is great programming language for the development of enterprise grade applications. This programming Language is evolved from a language named Oak. Oak was developed in the early nineties at Sun Microsystems as a platform-independent language aimed at allowing entertainment appliances such as video game consoles and VCRs to communicate . 
</p>

</body>
</html>









Related Tutorials/Questions & Answers:
paragraph height css
paragraph height css  How can i specify height of a paragraph in CSS?   This is how you can set the Height of Paragraph in CSS .pclass { height:200px; } <p class="pclass"> some text </p>
paragraph height css
paragraph height css  How can i specify height of a paragraph in CSS?   <html> <head> <style type="text/css"> p.p1 {line-height:90%;} p.p2 {line-height:200%;} </style> </head> <body>
Advertisements
CSS problem height from top
CSS problem height from top  here i wrote a code but can you tell me how to increase height from top <html> <head> <style type="text/css"> .hello img { height : 100px; width :100px; margin-top
CSS
style sheet validates at Note that some warnings may be unavoidable, but your CSS
read paragraph
read paragraph  how to read paragraph from one file to another file
Working with CSS(CSS Manipulation)
;p").height());   // returns height of paragraph. $(window... : The following code get the outer Height of a paragraph : <body>... Working with CSS(CSS Manipulation)   
searching the string in a paragraph?
searching the string in a paragraph?  how to search a string in a paragraph and display the corresponding line number and position of a string in java
Paragraph in HTML
Paragraph in HTML       The Paragraph in HTML are defined inside the <p> and </p. tags. Understand with Example The Tutorial illustrates an example from Paragraph
UITabbar height
UITabbar height  Hi, What is the height of UITabbar? Thanks   Hi, Size of UITabBar is 320x49. Thanks
jQuery "height" method
;height" method of jQuery. The difference between .css('height') and .height() is that the latter returns a unit-less pixel value (for example...;nbsp;</div> <p> Sample paragraph to test height </p>
UIScrollView Height
UIScrollView Height  How can i set the height and width of the UIScrollView according to my requirement. Actually i'm creating a login application form iPhone and using UIScrollView. Also i have number of item to add
CSS in Flex
CSS in Flex  Hi...... Please tell me How do you use css styles in flex? Thanks  Ans: @namespace s "library://ns.adobe.com...-weight:bold; button-width:100px; button-height:50px; } .label{ font-family
javascript set scroll height
javascript set scroll height  How to set scroll height in JavaScript?   CSS Scroll Method div { width:150px; height:150px; overflow:scroll; } JavaScript ScrollTo method <script type="text/javascript">
HTML CSS
HTML CSS  Explain in brief about the term CSS
CSS in flex
CSS in flex  Hi....... Please tell me How can I load CSS style... dynamically loading of CSS file is not supported in flex. you can compile the CSS file in swf and use it dynamically in your application. Loading style
CSS Apply
CSS Apply  How can I apply different CSS to my application for background by taking CSS list in Select tag i.e. Combo box. for e.g As in Orkut we select theme & by clicking to apply it changes background theme & color
css
css
css
Resizing Height of UITextView iPhone
Resizing Height of UITextView iPhone  Hi all, Is it possible to resize the height of the UITextField in objective C
css click box
css click box  I wanted to create a click box in CSS with a hyperlink... file .. click box Text CSS a { display:inline-block; width:30px; height:30px; background-color:#ccc; border:1px solid #ff0000; }  
How to index a given paragraph in alphabetical order
How to index a given paragraph in alphabetical order  Write a java program to index a given paragraph. Paragraph should be obtained during runtime... paragraph : This is a technical round. Please index the given paragraph. Output
UITextView Change Height dynamically
UITextView Change Height dynamically  dynamically expand the height of UITextView.   - (void) textViewDidEndEditing:(UITextView *)textView { CGRect frame = mTextView.frame; frame.size.height
UIImage width and height
UIImage width and height  Hi, How I can find the width and height of UIImage object. Let's know an example code for finding UIImage width and height. Thanks
No Max-height Fixed
correponding style css. textarea.expandText { line-height: 10px; } This increase... No Max-height Fixed      ... of a Textarea with minimum fixed height but no max height fixed. Steps to develop the Auto
Make Paragraph and Set Alignment
Make Paragraph and Set Alignment     ... are going to explain how we can make paragraph and how we can gives various alignment. To make a paragraph we use Paragraph("Text"
How to remove paragraph from ms word
How to remove paragraph from ms word  Hi! I am using MS Word to edit my text but somehow i get paragraph sign on every line of my text. So, can any one please tell me how to remove paragraph from ms word?   CTRL+SHIFT+8
What are the advantages and disadvantages of CSS?
What are the advantages and disadvantages of CSS?  What are the advantages and disadvantages of CSS
Height for cell in table view - UITableView
Height for cell in table view - UITableView  UITableview height for cell What is the height for cell in table view iPhone mobile application
image height width php - PHP
image height width php  I am digging for the PHP Script to set the height and width of Image in my app
jQuery CSS Selector
jQuery CSS Selector       jQuery CSS Selector In this section we are learning about the jQuery CSS Selector. The CSS Selectors is the powerful API provided
Tutorials   
Java Spring Hibernate Struts Training How to display button as a link in vaadin? hi change navbar dropdown color in bootstrap How to remove the background color of bootstrap menu bar? How to change color of opened Bootstrap drop down toggle? Setting bootstrap container background color Help school all activities and admision process.. add one row after another date make a webpage HTMl HTMl Source code how to apply globalisation to a world wide asp.net application how to print HTML using javascript or Jquery How to recover from google panda update? How to survive google panda 4.0 update How to find if you have been hit by Panda 4.0 Design a web page using XHTML and JavaScript that does the followings: ffmpeg converting file mp4 to mov JavaScript How to Disable Catch-all Emails on CPanel z-index always on top What is Web hosting Database and HTML web development trainee Uploading files Image Gallery Image Gallery dropdown How to redirect from a HTML page? Easiest method for expiring the css and js headers HTML WITH AJAX VB 6 Read Web Page Header string palindrom using vbscript? html button How to add mod_deflate to apache without recompiling How to use place hoder in IE(version : 8) Html Software Question div align left css Fetching data from excel file on other website and display in interactive graph form where do I find the fix for tree view catalog not expanding and collapsing correctly for roseindia shopping cart 1.1 pass to next page to enter into a particular page only if the username,password and listbox value mtches hi Cricket stadium ticket booking design Need some help creating an order form. HTML div tag HTML div tag

Ads

 
Advertisement null

Ads