Feeds:
Posts
Comments

Archive for the ‘CSS’ Category

This property removes the line break before or after the html element

Example Code:

 <html>
 <body>
 <p style="display:inline">This paragraph is continued </p>
 <p style="display:inline">without line break because of <b>display-inline</b> property</p>
 </body>
 </html>

If you run the above code, you wont see any line breaks between the first and second <p> tags

Advertisements

Read Full Post »

This property hides the content placed inside an html element

Example Code:

<html>
 <body>
 <p style="display:none">This paragraph is not diplayed because of <b>display-none</b> property</p>
 </body>
 </html>

If you run the above code, the contents enclosed in <p></p> tag are not displayed

Read Full Post »