Skip to main content

css problem 77 Responses

Last post: 2 years, 2 months ago | Thread started: Mar 9, 10, 5:42 a.m.

RespondNew TopicDisable Images

Out of context: Response #4 [Mar 9, 10, 5:42 a.m.]

  • flashbender

    in the simpliest layout, all you need is:

    <style type="text/css">
    <!--

    body{
    padding:0;
    margin:0;
    text-align:center;
    }
    .contentBox{
    width:622px;
    text-align:left;
    margin:0 auto;
    }

    .header {
    font-size: 14px;
    padding:10px;
    margin:0 0 10px 0;
    background-color:#CCC;
    border:1px dotted #CCC;
    width:600px;
    }

    .item {
    font-size: 10px;
    padding:10px;
    margin:0 0 10px 0;
    background-color:#F1F1F1;
    border:1px dotted #333;
    width:600px;
    }
    -->
    </style>
    </head>

    <body>
    <div class="contentBox">
    <div class="header style1">Header</div>
    <div class="item">item</div>
    <div class="item">item</div>
    <div class="item">item</div>
    </div>
    </body>

    next note >add note

    You must be logged in to add a note. Login now or register for an account.

    Cancel

Skip to main content