• Archives

  • AddThis Social Bookmark Button

    Add to Technorati Favorites

  • Upcoming Conferences

    • no upcoming events
  • Outlining the text

    By krates | March 31, 2008

    Sometimes you need to outline a text

    we can do it easily by using css border command

    Syntax:

    <html>
    <head>
    <style type=”text/css”>
    p
    {
    border: red solid thin;
    background-color:yellow;

    }
    </style>
    </head>
    <body>

    <center><p>Some text</p></center>

    </body>
    </html>

    The this code will produce below like elements

    Thanks

    krates

    Share and Enjoy:
    • Digg
    • del.icio.us
    • Facebook
    • NewsVine
    • Reddit
    • StumbleUpon
    • YahooMyWeb
    • Google Bookmarks
    • Yahoo! Buzz
    • TwitThis
    • Live
    • LinkedIn
    • Pownce
    • MySpace

    Topics: CSS | Comments Off

    Related Links:

    Comments are closed.