SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Thread: SPAN problem

  1. #1
    SitePoint Enthusiast
    Join Date
    Dec 2005
    Location
    Karachi, Pakistan
    Posts
    44
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    SPAN problem

    Hello,

    I have made two rows using span, it shows in IE but not in FireFox...

    I have attached my HTML + CSS code...

    This is all my code is as I was just trying to make these type of rows...

    Please check what is wrong? Please help...

    Thanks....

    <!----------------------- HTML here ------------------------->

    <html>

    <head>
    <title>New Page 1</title>
    <meta http-equiv="Content-Language" content="en-us">
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
    <LINK href="check.css" type=text/css rel=stylesheet>
    </head>

    <body>
    <span class="row1">Hello</span>
    <span class="row2">Hello</span>
    </body>

    </html>


    <!------------------- CSS here ------------------->

    .row1 {
    background-color: #ffffff;
    border: 1px solid #D1D1D0;
    border-left:0;
    border-right:0;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-weight: bold;
    color: #916515;
    height: 22px;
    padding-top: 3px;
    width: 610px;
    padding-left: 15px;}

    .row2 { background-color: #D1D1D0;
    border: 1px solid #111111;
    border-left:0;
    border-right:0;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-weight: bold;
    color: #0077A9;
    height: 22px;
    padding-top: 3px;
    width: 610px;
    padding-left: 15px;
    }

  2. #2
    SitePoint Enthusiast
    Join Date
    Dec 2005
    Location
    Karachi, Pakistan
    Posts
    44
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for your help!

    It was a good help for me!! Thanks again!


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •