Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Software Development
Programming
Programming Q&A
My page is on crack..
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Sean" data-source="post: 209176" data-attributes="member: 10142"><p>HTML / PHP :</p><p> </p><p>[PHP]<html></p><p> <head></p><p> <title>LiquidCCMS</title></p><p> <link href="{url}/templates/default/style.css" type="text/css" rel="stylesheet" /></p><p> </head></p><p> <body></p><p> <div id="banner"> </div></p><p> <div id="wrapper"></p><p> <!-- START SIDEBAR --></p><p> <div id="sidebar"></p><p> <div class="title"> Navigation </div></p><p> <div class="content"></p><p> <ul></p><p> <li><a href="#">Home</a></li></p><p> <li><a href="#">Test</a></li></p><p> <li><a href="#">Test</a></li></p><p> <li><a href="#">Test</a></li></p><p> </ul></p><p> </div></p><p> </div></p><p> <!-- END SIDEBAR --></p><p> </p><p> <!-- START MAIN CONTAINER --></p><p> <div id="container"></p><p> <div class="title"> Welcome </div></p><p> <div class="content"></p><p> <p> Hello </p></p><p> </div></p><p> </div></p><p> <!-- END MAIN CONTAINER --></p><p> </div></p><p> </body></p><p></html>[/PHP]</p><p> </p><p>CSS :</p><p>[CODE]body {</p><p> background-image: url('bg.png');</p><p> margin: 0 auto;</p><p>}</p><p> </p><p>#banner { </p><p> background: #19A3D1 url('banner.png') no-repeat top left;</p><p> padding-top: 62px; </p><p>}</p><p> </p><p>#wrapper {</p><p> width: 80%;</p><p> height: auto;</p><p> margin: 20px auto;</p><p> min-width: 600px;</p><p> </p><p>}</p><p> </p><p>#sidebar {</p><p> background: #FFFFFF;</p><p> border: 2px solid #19A3D1;</p><p> float: left;</p><p> width: 20%;</p><p>}</p><p> </p><p>#container {</p><p> background: #FFFFFF;</p><p> border: 2px solid #19A3D1;</p><p> float: right;</p><p> width: calc(80% - 20px);</p><p>}</p><p> </p><p>.title {</p><p> width: calc(100% - 18px);</p><p> background: #19A3D1;</p><p> font-family: Helvetica;</p><p> color: #FFFFFF;</p><p> font-weight: bold;</p><p> height: 30px;</p><p> line-height: 30px;</p><p> padding: 0px 10px 0px 10px;</p><p>}</p><p> </p><p>.content {</p><p> padding: 0px 10px 20px 10px;</p><p>}[/CODE]</p></blockquote><p></p>
[QUOTE="Sean, post: 209176, member: 10142"] HTML / PHP : [PHP]<html> <head> <title>LiquidCCMS</title> <link href="{url}/templates/default/style.css" type="text/css" rel="stylesheet" /> </head> <body> <div id="banner"> </div> <div id="wrapper"> <!-- START SIDEBAR --> <div id="sidebar"> <div class="title"> Navigation </div> <div class="content"> <ul> <li><a href="#">Home</a></li> <li><a href="#">Test</a></li> <li><a href="#">Test</a></li> <li><a href="#">Test</a></li> </ul> </div> </div> <!-- END SIDEBAR --> <!-- START MAIN CONTAINER --> <div id="container"> <div class="title"> Welcome </div> <div class="content"> <p> Hello </p> </div> </div> <!-- END MAIN CONTAINER --> </div> </body> </html>[/PHP] CSS : [CODE]body { background-image: url('bg.png'); margin: 0 auto; } #banner { background: #19A3D1 url('banner.png') no-repeat top left; padding-top: 62px; } #wrapper { width: 80%; height: auto; margin: 20px auto; min-width: 600px; } #sidebar { background: #FFFFFF; border: 2px solid #19A3D1; float: left; width: 20%; } #container { background: #FFFFFF; border: 2px solid #19A3D1; float: right; width: calc(80% - 20px); } .title { width: calc(100% - 18px); background: #19A3D1; font-family: Helvetica; color: #FFFFFF; font-weight: bold; height: 30px; line-height: 30px; padding: 0px 10px 0px 10px; } .content { padding: 0px 10px 20px 10px; }[/CODE] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Software Development
Programming
Programming Q&A
My page is on crack..
Top