使用Css的例子

來源:互聯網
上載者:User

 

<HTML>
    <HEAD>
        <title>WebForm1</title>
        <meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
        <meta content="C#" name="CODE_LANGUAGE">
        <meta content="JavaScript" name="vs_defaultClientScript">
        <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
        <style type="text/css">.box{}{font-weight:bold;}
        </style>
        <style type="text/css">.table{}{margin-left:8%;margin-righ:10%}
        </style>
        <style type="text/css">body{}{margin-left:10%;margin-right:10%}
        </style>
<link href="style.css" rel="stylesheet" type="text/css">
    </HEAD>
    <body MS_POSITIONING="GridLayout">
        <p class="box">i'm very happy</p>
        <TABLE id="Table1" style="Z-INDEX: 101; LEFT: 8px; POSITION: absolute; TOP: 80px" cellSpacing="1"
            cellPadding="1" width="300" border="1" class="table">
            <TR>
                <TD>a</TD>
                <TD>b</TD>
                <TD>c</TD>
            </TR>
            <TR>
                <TD>d</TD>
                <TD>e</TD>
                <TD>f</TD>
            </TR>
            <TR>
                <TD>1</TD>
                <TD>2</TD>
                <TD>3</TD>
            </TR>
        </TABLE>
    </body>
</HTML>
相關文章

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.