Show DevBest Basica! - Basic HTML Temlate for New Website Programmers.

BR4DLEY

Web Developer
Jan 2, 2012
328
23
Hey There DevBest,

Well Basically my Internet was offline fora bit and I got, So I was thinking about doing some HTML and CSS Designs, I have started a few, But this was the only basic one I have finished right now, I know it isn't much and it looks pretty untidy, But in my opinion it could be good to practise HTML and CSS on,


But anyway here are some Screenshots!

Screenshot 1:
demo2.png


Screenshot 2:
demo3.png


Screenshot 3:
demo1.png


Screenshot 4:
demo4.png




Thanks for reading, Like I said its basic but I gave it a shot :)


EDIT:

HTML Code
Code:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel="stylesheet" href="images/BradCSS.css" type="text/css" />
<title>Basica - By Bradley Stokes</title>
</head>
<body>
<div id="wrap">
  <div id="header">
    <h1 id="logo"><font color="orange"> Basica!</h1>
    <h2 id="slogan"><font color="blue">Your <font color="red">website <font color="green">slogan...</h2>
    <div id="menu">
      <ul>
        <li id="current"><a href="#">Home</a></li>
        <li><a href="#">Products</a></li>
        <li><a href="#">Contact</a></li>
        <li><a href="#">Suggestions</a></li>
      </ul>
    </div>
  </div>
   <div id="content-wrap">
    <div id="sidebar" >
      <h1><font color="orange"><strong>Other Links</strong></h1>
      <ul class="sidemenu">
       <li><a href="#"><font color="orange">Link1</a></li>
       <li><a href="#"><font color="orange">Link2</a></li>
       <li><a href="#"><font color="orange">Link3</a></li>
      </ul>
         <h1><font color="orange"><strong>Server Information:</strong></h1>
         <p><font color="orange"><strong>Version:</strong> v0.1</p>
         <p><font color="orange"><strong>Creator:</strong> Bradley Stokes</p>
      </div>
      <div id="main"> <a name="NewsBox"></a>
        <h1><font color="orange"><strong>A Small Introduction</span></strong></h1>
       <p><font color="white">This is a free Website template Created by <strong>Bradley Stokes</strong>, I am a 14 Year old Student from London and I am currently learning how to develop, This is a basic template i would like to release to the public, So if possible please could you give me some feed back at my website <a href="http://www.bradleystokes.url.ph"><strong>Click Me</strong></a>, Thank you for checking out my <strong>Basica</strong> Template! If you would like to request a template you could also submit one at my website, This website took 61 Lines of HTML to create and 314 lines of CSS code</p>
      </div>
            <div id="main"> <a name="NewsBox"></a>
        <h1><font color="orange">Place Holder!</h1>
       <p><font color="white">This is a Place Holder, Put any Type of Text here or remove it by simply deleting the Html Code!</p>
      </div>
            <div id="main"> <a name="NewsBox"></a>
        <h1><font color="orange">Place Holder!</h1>
       <p><font color="white">This is a Place Holder, Put any Type of Text here or remove it by simply deleting the Html Code!</p>
      </div>
            <div id="main"> <a name="NewsBox"></a>
        <h1><font color="orange">Place Holder!</h1>
       <p><font color="white">This is a Place Holder, Put any Type of Text here or remove it by simply deleting the Html Code!</p>
      </div>
            <div id="main"> <a name="NewsBox"></a>
        <h1><font color="orange">Place Holder!</h1>
       <p><font color="white">This is a Place Holder, Put any Type of Text here or remove it by simply deleting the Html Code!</p>
      </div>
      </body>
      <br>
      <br>
      <br>
      <br> <br> <br> <br> <br> <br> <br> <br> <br>
      <blockquote>
      <footer><font color="orange">Copyright© 2014 <font color="black">| <font color="orange">yourdomain.com <font color="black">| <font color="orange">Design by <font color="black"> -<a href="http://www.bradleystokes.tk/"><font color="teal"> Bradley Stokes</a></footer>
      </blockquote>
</html>


CSS Code:
Code:
/********************************************
   AUTHOR:              Bradley Stokes
   WEBSITE:               #
    CSS NAME:     Legits Coding
   CSS CODE:     S-0008
   VERSION:          0.4          
*******************************************/
/********************************************
   HTML ELEMENTS
********************************************/

/* top elements */
* {
    padding: 0; margin: 0;
}
body {
    margin: 0;     padding: 0;
    font: normal .70em/1.6em Verdana, Tahoma, sans-serif;
    color: #BDBDBD;
    background: #FFFFF;
    text-align: center; 
}
/* links */
a {
    color: #FFF;
    background-color: inherit;
    text-decoration: none;
}
a:hover {
    color: #FFF;
    background-color: inherit; 
    text-decoration: underline;
}

/* headers */
h1, h2, h3 {
    font: normal 1.3em 'Trebuchet MS', Arial, Sans-serif;
    color: #FFF; 
}
h1 { font-size: 1.6em; }
h2 { font-size: 1.4em; text-transform:uppercase; font-weight: bold;}
h3 { font-size: 1.3em; font-weight: bold; }

p, h1, h2, h3 {
    margin: 0;
    padding: 10px 15px;
}

ul, ol {
    margin: 10px 30px;
    padding: 0 15px;
    color: #FFF;
}

/* images */
img {
    border: 3px solid #555;
}
img.no-border {
    border: none;
}
img.float-right {
  margin: 5px 0px 5px 15px;
}
img.float-left {
  margin: 5px 15px 5px 0px;
}
a img {
  border: 3px solid #555;
}
a:hover img {
  border: 3px solid #CCC !important; /* IE fix*/
  border: 3px solid #555;
}

code {
  margin: 5px 0;
  padding: 10px;
  text-align: left;
  display: block;
  overflow: auto;
  font: 500 1em/1.5em 'Lucida Console', 'courier new', monospace;
  /* white-space: pre; */
  background: #0A1646;
}
acronym {
  cursor: help;
  border-bottom: 1px solid #777;
}
blockquote {
    margin: 15px;
     padding: 0 0 0 20px;   
      background: #FFFFF; 
    font: bold 1.3em/1.5em 'Trebuchet MS', Sans-serif;
}

/* form elements */
form {
    margin: 10px 15px;
    padding: 0;
    background: #0A1646; 
}
label {
    display:block;
    font-weight:bold;
    margin:5px 0;
}
input {
    padding: 2px;
    border:1px solid #eee;
    font: normal 1em Verdana, sans-serif;
    color:#777;
}
textarea {
    width: 250px;
    padding:2px;
    font: normal 1em Verdana, sans-serif;
    border:1px solid #eee;
    height:100px;
    display:block;
    color:#777;
}
input.button {
    margin: 0;
    font: bold 1em Arial, Sans-serif;
    border: 1px solid #CCC;
    background: #FFF;
    padding: 2px 3px;
    color: #333; 
}

/* search form */
.searchform form{
    background-color: transparent;
    border: none;
    margin: 0; padding: 0;
}
.searchform input.textbox {
    margin: 0;
    width: 145px;
    border: 1px solid #777;
    background: #FFF;
    color: #333;
    height: 14px;
    vertical-align: top;
}
.searchform input.button {
    margin: 0;
    padding: 2px 3px;
    font: bold 12px Arial, Sans-serif;
    background: #FFF;
    border: 1px solid #f2f2f2;
    color: #333; 
    width: 65px;
    vertical-align: top;
}

/***********************
      LAYOUT
************************/
#wrap {
    background: #212B5C url(bg.jpg) repeat-x 0 0;
    margin: 20px auto 0 auto; 
    text-align: left;     
      border-color: #444;
    border-style: solid;
    border-width: 1px 1px 5px 1px; 
} 
#wrap, #footer-wrap {
    width: 90%;
}

/* header */
#header {
    position: relative;
    height: 110px; 
    background: #7F8082 url(header-bg.jpg) repeat-x 0% 100%;
    border-bottom: 5px solid #444;     
}
#header h1#logo {
    position: absolute;
    top: 5px; left: 20px;
    margin: 0; padding: 0;
    font: bolder 50px 'Trebuchet MS', Arial, Sans-serif;
    letter-spacing: -2px; 
}
#header h2#slogan {
    position: absolute;
    top: 50px; left: 65px;
    color: #FFF;
    text-indent: 0px;
    font: bold 12px Tahoma, 'Trebuchet MS', Sans-serif;
    text-transform: none; 
}

/* content-wrap */
#content-wrap {
    clear: both;
    margin: 0; padding: 0;         
}

/* box */
.box {
    margin: 10px 15px;         
    border: 1px solid #0A1646;      
    background-color: #1B2455; 
}

/* main */
#main {
    margin: 0 0 0 270px;     
    padding-top: 20px;
}
#main .box {
    margin-left: 0;
}

/* sidebar */
#sidebar {
    float: left;
    width: 250px;
    margin: 0;
    padding-top: 20px;  
}
#sidebar ul.sidemenu {
    margin: 0 0 0 15px; padding: 0; 
    background: #242424;     
    border-top: 5px solid #444;
}
#sidebar ul.sidemenu li {
    display: inline;
    list-style: none;     
}
#sidebar ul.sidemenu li a {
  display: block; 
  padding: 5px 10px 5px 15px;
  text-decoration: none;
  color: #CCC;
  font-weight: bold;
}
#sidebar ul.sidemenu li a:hover {
  color: #333;
  background: #60F456;
}

/* Footer */
#footer-wrap {
    clear: both;
    color: #FFF;
    background: #000;
    margin: 0 auto;
    padding: 0;
    font-size: 1%;       
}
#footer-wrap a {
    text-decoration: none;
    font-weight: bold; 
    color: #FFF;
}
#footer-wrap .footer-left{
    float: center;
    width: 65%; 
    padding-bottom: 20px; 
}
#footer-wrap .footer-right{
    float: center;
    width: 30%;         
    padding-bottom: 20px;
}

/* menu tabs */
#header ul {
    position: absolute;
    top: 20px; right: 20px;
    margin:0; padding: 0;
   list-style:none;
    font: bold 1.3em  'Trebuchet MS', Tahoma, verdana,  sans-serif; 
    height: 2.3em;
}
#header li {
   display:inline;
   margin:0; padding:0;
}
#header a {
    float: left;
   margin:0;
   padding:3px 10px 2px 10px;
   text-decoration:none; 
    color: #CCC;
}
#header a:hover {
    border-top: 5px solid #CCC; 
}
#header #current a {
   color: #FFF;
    border-top: 5px solid #FFF;
}
/* end menu tabs */

/* alignment classes */
.float-left  { float: left; }
.float-right {    float: right; }
.align-left  {    text-align: left; }
.align-right {    text-align: right; }

/* additional classes */
.clear {    clear: both; }
.gray  {    color: #A0A0A0; }
.comments {
    text-align: right;
    padding: 7px 15px;
    margin: 20px 15px 15px 15px;
    background: #0A1646;  
}


Download Link:
 
Last edited:

RastaLulz

fight teh power
Staff member
May 3, 2010
3,926
3,921
Instead of taking screenshots, you should post the code so that others can use it, since you posted in the " " section.
 

Sysode

Front-End Developer
Dec 11, 2012
1,673
848
For best practice, use classes in CSS. Change your current div id's to classes.

Anyway, like you said it is a bit messy and its not overly appealing but I think for anyone learning CSS this will help them get a bit more of a grip if they were struggling. It'll teach them about various element selectors and how to style fonts etc. Maybe add comments explaining things that aren't obvious? Just to help people understand more?
Well done man, I see where you're getting at.
 

N8boy

Member
May 31, 2014
31
9
It is a good start. For getting some nice colors which fit together you can use this tool:
 

BR4DLEY

Web Developer
Jan 2, 2012
328
23
For best practice, use classes in CSS. Change your current div id's to classes.

Anyway, like you said it is a bit messy and its not overly appealing but I think for anyone learning CSS this will help them get a bit more of a grip if they were struggling. It'll teach them about various element selectors and how to style fonts etc. Maybe add comments explaining things that aren't obvious? Just to help people understand more?
Well done man, I see where you're getting at.

Thanks for the feedback
 

Users who are viewing this thread

Top