WordPress.org

Forums

[resolved] Help with wrap bordered in CSS (1 post)

  1. MaddTechWF
    Member
    Posted 4 years ago #

    I have been racking my brain lately and can't quite seem to figure it out.

    I have the following CSS but it will not surround all of my page.
    CSS

    #wrap
    {
    	border-style: dashed;
    	border-color: #70dbdb;
    	border-width: 2px;
    	display: block;
    	width: 960px;
    	margin: 0 auto;
    	padding: 0;
    	height: auto;
    }

    Page HTML

    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Test</title>\
    <link rel="stylesheet" type="text/css" href="style.css"/>
    </head>
    <body>
    	<div id="wrap">
        	<div id="header">
        	</div>
        	<div id="wrapper">
           	  	<div id="sidebar">
                </div>
                <div id="main-body">
                </div>
            </div>
            <div id="footer">
            </div>
        </div>
    </body>
    </html>

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.