LeBron 11 Blue White Nike KD VI gamma jordan 11
CodeAve.com CodeAve.com - CSS - Text Display
ASP
JavaScript
CSS
·Basics
·Page Display
·Text Display
·Script Writers
·Contents
·What's New?
HTML
Maps
Links
Mail List
Search
Sitemap


 

  • Retro 3 jordans
  • Jordan 13 retro
  • Nike free 5.0

  • First Line
  • Nike free run 2 pink
  • Nike free 5.0 kids
  • Oakley sunglasses discount
  • First line is a pseudo class element that will render the first line of any text contained within tags to display differently that the rest of the text within those tags. This is very similar to how many newspapers and magazines begin their stories. In this example, we have two copies of the first paragraph of Lincolnís Gettysburg Address contained within p tags and the first line is set to 200% the size of the rest of the text within. The difference in the two paragraphs is that the first one will expand the first to the size of the areait is given the second paragraph, we force the end of the first line by placing a <br> tag.
    View the Output
    Text View
    Print View
    Mail this Link
    Download the Code

    <html>
    <head>
    <title>CodeAve.com/CSS - First Letter</title>
    <style type="text/css">
    <!--
    /* The first line within p tags will be 
    200% larger then the rest of the text within */
    P: first-line {font-size: 200%;}
    -->
    </style>

    </head>

    <body bgcolor="#FFFFFF">

    <!-- Paragraph without a <br> tag within the the first line of text 
    The length of the first line is decided by the width of the table or 
    browser width happens first -->

    <p>
    Four score and seven years ago our fathers brought forth on this 
    continent a new nation, conceived in liberty and dedicated to the 
    proposition that all men are created equal. Now we are engaged in 
    a great civil war, testing whether that nation or any nation so 
    conceived and so dedicated can long endure. 
    </p>


    <!-- Paragraph with a <br> tag within the the first line of text 
    The length of the first line is decided by where the <br> is placed or 
    if the table or browser width happens first -->

    <p>
    Four score and seven years ago<br> our fathers brought forth on this 
    continent a new nation, conceived in liberty and dedicated to the 
    proposition that all men are created equal. Now we are engaged in 
    a great civil war, testing whether that nation or any nation so 
    conceived and so dedicated can long endure. 
    </p>

    </body>
    </html>

     

     

     



    ASP: What's New? | Articles | Script Writers | Database Display | Read/Write
    Server Variables | Response Objects | Random Events | Miscellaneous
    HTML: Forms | Hyperlinks | Headers | Tables | Hyperlinks | Headers | Text Display
    JavaScript: Document Info | Forms | Images | Navigation | Script Writers
    CSS: Basics | Page Display | Text Display | Script Writers | Miscellaneous
  • 2014 michael kors
  • air max women 2013
  • 2014 michael kors
  • air max 2014
  • oakley glasses
  • oakley glasses

  • Maps: Map Script Writers | Bing Maps | Google Maps
  • bottes fr
  • ugg boot
  • Privacy Statement

    CodeAve.com is hosted by MyHosting.com
    Donate Food Online with a Mouse Click at TheHungerSite.com
    Donate Land Online with a Mouse Click at TheRainForestSite.com
    © 1999 - 2017 CodeAve.com
    All Rights Reserved

  • Air jordan 11 low
  • New Balance 996
  • Ray ban vintage sunglasses