Jump to content

BARCS continued from long Website Critique discussion


crmamx

Recommended Posts

The topic of discussion has now moved to pure css so I closed the topic Radio Control Model Airplane Club on Website Critique and opened this one. Hope that was right.

 

I would first like to thank gizmola and pikachu who have patiently gotten me this far. Hope they aren't worn out.

 

All of the following is used with permission from maxdesign.

 

gizmola:

I'd recommend you use this site.  One big advantage is that they already have navigation and you can also choose from a variety of different skeletons.  You have to decide whether you want a liquid layout, that expands and contracts with the browser size, or a fixed width display. For a site like yours, one advantage of a fixed width display is that you can put a background image behind it, and being that your site is a hobby club, a picture, perhaps with reduced opacity or tweaked with one of the photoshop filters, might be a nice touch.

 

http://www.maxdesign.com.au/articles/css-layouts/

 

I decided on 2 columns rather than 3. I tried building the css script block by block but never could get it to work. I finally figured out how to download the sample.css script and link it locally. I did a tiny bit of tinkering and here it is.

 

barcs.css

/* -----------------------------------
Site:       Max Design
CSS author: Russ Weakley
Updated:    5/1/10
Updated by: Russ Weakley
----------------------------------- */

/* -----------------------------------
general
----------------------------------- */

body
{
margin: 20px;
padding: 0;
font: 100%/1.4 helvetica, arial, sans-serif;
color: #444;
background: #fff;
}

h1, h2, h3, h4, h5, h6
{
margin: 0 0 1em;
line-height: 1.1;
}

h2, h3 { color: #003d5d; }
h2 { font-size: 218.75%; }
h3 { font-size: 137.5%; }
h4 { font-size: 118.75%; }
h5 { font-size: 112.5%; }
p { margin: 0 0 1em; }
img { border: none; }
a:link { color: #035389; }
a:visited { color: #09619C; }

a:focus
{
color: #fff;
background: #000;
}

a:hover { color: #000; }

a:active
{
color: #cc0000;
background: #fff;
}

table
{
margin: 1em 0;
border-collapse: collapse;
width: 100%;
}

table caption
{
text-align: left;
font-weight: bold;
padding: 0 0 5px;
text-transform: uppercase;
color: #236271;
}

table td, table th
{
text-align: left;
border: 1px solid #b1d2e4;
padding: 5px 10px;
vertical-align: top;
}

table th { background: #ecf7fd; }

blockquote
{
background: #ecf7fd;
margin: 1em 0;
padding: 1.5em;
}

blockquote p.source
{
margin: 0;
font-size: 87.5%;
padding: 2px 0 5px 25px;
background: url(../images/icon-tweet.gif) no-repeat;
}

code
{
background: #ecf7fd;
font: 115% courier, monaco, monospace;
margin: 0 .3em;
}

abbr, acronym
{
border-bottom: .1em dotted;
cursor: help;
}

/* -----------------------------------
classes
----------------------------------- */

.edit
{
clear: left;
margin: 2em 0;
}

.edit a
{
font-weight: bold;
color: #fff;
background: red;
text-decoration: none;
padding: 5px 10px;
}

pre.codesample
{
background: #444;
color: #fff;
margin: 1em 0;
padding: 1.5em;
overflow: auto;
}

.codesample code
{
background: none;
line-height: 1;
margin: 0;
}

.copyright { margin: 3em 0 0; }
#sample-container { clear: left; }

/* -----------------------------------
samples
----------------------------------- */

.sample01
{
width: 30em;
color: #000;
background: #eee;
}

.sample02
{
min-width: 25em;
max-width: 33em;
background: #eee;
}

.sample03
{
width: 400px;
height: 100px;
background: url(../images/sample03.jpg) no-repeat;
font-size: 1px;
color: #fff;
}

/* -----------------------------------
sample04
----------------------------------- */

#sample04
{
margin: 1em 5%;
background-color: #FFF;
background-image: url(Pictures_Other/background_pinkish.jpg);
background-repeat: repeat-y;
border: 1px solid #333;
color: #000;
}

#sample04 #banner
{
background-color: #666;
border-bottom: 1px solid #333;
}

#sample04 #banner h1
{
margin: 0;
padding: .5em;
}

#sample04 #nav
{
float: left;
width: 160px;
margin-left: 10px;
padding-top: 1em;
}

#sample04 #nav p { margin-top: 0; }

#sample04 #content
{
padding-top: 1em;
margin: 0 2em 0 200px;
}

#sample04 #content h2 { margin-top: 0; }

#sample04 #footer
{
clear: both;
background-color: #666;
padding: 1em;
text-align: right;
border-top: 1px solid #333;
}

/* -----------------------------------
sample05
----------------------------------- */

#sample05
{
margin: 1em 5%;
background-color: #FFF;
background-image: url(/wp-content/uploads/two-column-background.jpg);
background-repeat: repeat-y;
border: 1px solid #333;
background-position: right;
color: #000;
}

#sample05 #banner
{
background-color: #666;
border-bottom: 1px solid #333;
}

#sample05 #banner h1
{
margin: 0;
padding: .5em;
}

#sample05 #nav
{
float: right;
width: 160px;
margin-right: 10px;
padding-top: 1em;
}

#sample05 #nav p { margin-top: 0; }

#sample05 #content
{
padding-top: 1em;
margin: 0 200px 0 2em;
}

#sample05 #content h2 { margin-top: 0; }

#sample05 #footer
{
clear: both;
background-color: #666;
padding: 1em;
text-align: right;
border-top: 1px solid #333;
}

/* -----------------------------------
sample06
----------------------------------- */

#sample06
{
margin: 1em 5%;
background-color: #FFF;
background-image: url(/wp-content/uploads/two-column-variation.gif);
background-repeat: repeat-y;
border: 1px solid #333;
color: #000;
}

#sample06 #banner
{
background-color: #666;
border-bottom: 1px solid #333;
}

#sample06 #banner h1
{
margin: 0;
padding: .5em;
}

#sample06 #nav
{
float: left;
width: 160px;
margin-left: 10px;
padding-top: 1em;
}

#sample06 #nav p { margin-top: 0; }

#sample06 #content
{
padding-top: 1em;
margin: 0 2em 0 200px;
}

#sample06 #content h2 { margin-top: 0; }

#sample06 #footer
{
clear: both;
background-color: #666;
padding: 1em;
text-align: right;
border-top: 1px solid #333;
}

/* -----------------------------------
example07
----------------------------------- */

#example07 #header
{
height: 50px;
background-color: #666;
margin-bottom: 10px;
}

#example07 #nav
{
float: left;
width: 25%;
height: 150px;
background-color: #999;
margin-bottom: 10px;
}

#example07 #content
{
float: left;
margin-left: 5%;
width: 65%;
height: 150px;
background-color: #999;
margin-bottom: 10px;
}

#example07 #footer
{
clear: both;
height: 50px;
background-color: #666;
margin-bottom: 10px;
}

/* -----------------------------------
sample08
----------------------------------- */

#sample08 #header
{
height: 50px;
background-color: #666;
margin-bottom: 10px;
}

#sample08 #nav
{
float: left;
width: 180px;
height: 150px;
background-color: #999;
margin-bottom: 10px;
}

#sample08 #content
{
margin: 0 30px 10px 210px;
height: 150px;
background-color: #999;
}

#sample08 #footer
{
clear: both;
height: 50px;
background-color: #666;
margin-bottom: 10px;
}

/* -----------------------------------
sample09
----------------------------------- */

#sample09 #header
{
height: 50px;
width: 700px;
background-color: #666;
margin-bottom: 10px;
}

#sample09 #nav
{
float: left;
width: 180px;
height: 150px;
background-color: #999;
margin-bottom: 10px;
}

#sample09 #content
{
margin-left: 210px;
height: 150px;
width: 490px;
background-color: #999;
}

#sample09 #footer
{
clear: both;
height: 50px;
width: 700px;
background-color: #666;
margin-bottom: 10px;
}

/* -----------------------------------
sample10
----------------------------------- */

#sample10 #header
{
height: 50px;
width: 44em;
background-color: #666;
margin-bottom: 10px;
}

#sample10 #nav
{
float: left;
width: 11em;
height: 150px;
background-color: #999;
margin-bottom: 10px;
}

#sample10 #content
{
margin-left: 13em;
height: 150px;
width: 31em;
background-color: #999;
}

#sample10 #footer
{
clear: both;
height: 50px;
width: 44em;
background-color: #666;
margin-bottom: 10px;
}

/* -----------------------------------
sample11
----------------------------------- */

#sample11 #header
{
height: 50px;
background-color: #666;
margin-bottom: 10px;
}

#sample11 #gutter
{
float: left;
width: 3%;
height: 1px;
}

#sample11 #col1
{
float: left;
width: 48%;
background-color: #bbb;
margin-bottom: 10px;
}

#sample11 #col2
{
float: left;
width: 20%;
margin-left: 3%;
background-color: #bbb;
margin-bottom: 10px;
}

#sample11 #col3
{
float: left;
width: 20%;
margin-left: 3%;
background-color: #bbb;
margin-bottom: 10px;
}

#sample11 #footer
{
clear: both;
height: 50px;
background-color: #666;
}

#sample11 h1
{
margin: 0;
padding: 5px;
}

#sample11 h2
{
margin-top: 0;
padding-top: 7px;
}

#sample11 h2, #sample11 p
{
margin-left: 7px;
margin-right: 7px;
}

/* -----------------------------------
sample12
----------------------------------- */

#sample12 #header
{
height: 50px;
background-color: #666;
margin-bottom: 10px;
}

#sample12 #gutter
{
float: left;
width: 3%;
height: 1px;
}

#sample12 #col1
{
float: left;
width: 48%;
background-color: #bbb;
margin-bottom: 10px;
margin-left: 3%;
}

#sample12 #col2
{
float: left;
width: 20%;
background-color: #bbb;
margin-bottom: 10px;
}

#sample12 #col3
{
float: left;
width: 20%;
margin-left: 3%;
background-color: #bbb;
margin-bottom: 10px;
}

#sample12 #footer
{
clear: both;
height: 50px;
background-color: #666;
}

#sample12 h1
{
margin: 0;
padding: 5px;
}

#sample12 h2
{
margin-top: 0;
padding-top: 7px;
}

#sample12 h2, #sample12 p
{
margin-left: 7px;
margin-right: 7px;
}

/* -----------------------------------
sample13
----------------------------------- */

#sample13 #header
{
height: 50px;
background-color: #666;
margin-bottom: 10px;
}

#sample13 #gutter
{
float: left;
width: 3%;
height: 1px;
}

#sample13 #col1
{
float: left;
width: 48%;
background-color: #bbb;
margin-bottom: 10px;
margin-left: 3%;
}

#sample13 #col2
{
float: left;
width: 20%;
background-color: #bbb;
margin-bottom: 10px;
}

#sample13 #col3
{
float: left;
width: 20%;
margin-left: 3%;
background-color: #bbb;
margin-bottom: 10px;
}

#sample13 #footer
{
clear: both;
height: 50px;
background-color: #666;
}

#sample13 h1
{
margin: 0;
padding: 5px;
}

#sample13 h2
{
margin-top: 0;
padding-top: 7px;
}

#sample13 h2, #sample13 p
{
margin-left: 7px;
margin-right: 7px;
}

/* -----------------------------------
sample14
----------------------------------- */

#sample14 #header
{
height: 50px;
margin-bottom: 1em;
border-bottom: 1px solid #999;
background-color: #ddd;
}

#sample14 #gutter
{
float: left;
width: 3%;
height: 1px;
}

#sample14 #col1
{
float: left;
width: 44%;
margin-bottom: 1em;
border-right: 1px solid #999;
padding-right: 3%;
}

#sample14 #col2
{
float: left;
width: 19%;
margin-left: 3%;
margin-bottom: 1em;
border-right: 1px solid #999;
padding-right: 3%;
}

#sample14 #col3
{
float: left;
width: 19%;
margin-left: 3%;
margin-bottom: 1em;
}

#sample14 #footer
{
clear: both;
height: 50px;
border-top: 1px solid #999;
padding: .5em;
text-align: right;
}

#sample14 h1
{
margin: 0;
padding: .5em;
}

#sample14 h2 { margin-top: 0; }

/* -----------------------------------
sample15
----------------------------------- */

#sample15 #banner
{
border-top: 1px solid #ddd;
border-bottom: 1px solid #ddd;
float: left;
width: 94%;
background-color: #ddd;
}

#sample15 .clearboth { clear: both; }

#sample15 .spacer
{
float: left;
width: 3%;
}

#sample15 #row1col1
{
border-top: 1px solid #ddd;
border-bottom: 1px solid #ddd;
margin-top: 10px;
float: left;
width: 46%;
background-color: #bbb;
}

#sample15 #row1col2
{
border-top: 1px solid #ddd;
border-bottom: 1px solid #ddd;
margin-top: 10px;
float: left;
margin-left: 3%;
width: 45%;
background-color: #bbb;
}

#sample15 #row2col1
{
border-top: 1px solid #ddd;
border-bottom: 1px solid #ddd;
margin-top: 10px;
float: left;
margin-left: 3%;
width: 48%;
background-color: #ddd;
}

#sample15 #row2col2
{
border-top: 1px solid #ddd;
border-bottom: 1px solid #ddd;
margin-top: 10px;
float: left;
width: 20%;
background-color: #ddd;
}

#sample15 #row2col3
{
border-top: 1px solid #ddd;
border-bottom: 1px solid #ddd;
margin-top: 10px;
float: left;
margin-left: 3%;
width: 20%;
background-color: #ddd;
}

#sample15 #row3col1
{
border-top: 1px solid #ddd;
border-bottom: 1px solid #ddd;
margin-top: 10px;
float: left;
width: 71%;
background-color: #bbb;
}

#sample15 #row3col2
{
border-top: 1px solid #ddd;
border-bottom: 1px solid #ddd;
margin-top: 10px;
float: left;
margin-left: 3%;
width: 20%;
background-color: #bbb;
}

#sample15 #row4col1
{
border-top: 1px solid #ddd;
border-bottom: 1px solid #ddd;
margin-top: 10px;
float: left;
width: 20%;
background-color: #ddd;
}

#sample15 #row4col2
{
border-top: 1px solid #ddd;
border-bottom: 1px solid #ddd;
margin-top: 10px;
float: left;
margin-left: 3%;
width: 71%;
background-color: #ddd;
}

#sample15 #footer
{
border-top: 1px solid #ddd;
border-bottom: 1px solid #ddd;
margin-top: 10px;
float: left;
width: 94%;
background-color: #bbb;
text-align: right;
}

#sample15 h1, #sample15 h2, #sample15 h3, #sample15 h4, #sample15 h5, #sample15 h6, #sample15 p, #sample15 ul, #sample15 ol, #sample15 dl
{
margin-left: 7px;
margin-right: 7px;
}

#sample15 h1, #sample15 h2, #sample15 h3, #sample15 h4, #sample15 h5, #sample15 h6
{
margin-top: 5px;
margin-bottom: 0;
}

#sample15 h1+p, #sample15 h2+p, #sample15 h3+p, #sample15 h4+p { margin-top: .2em; }

/* -----------------------------------
sample16
----------------------------------- */

#sample16
{
background-color: #FFF;
border: 1px solid #676767;
margin: 1em auto;
text-align: left;
width: 650px;
}

#sample16 h2
{
color: #B52C07;
font: 140% georgia, times, "times new roman", serif;
font-weight: bold;
margin: 0;
}

#sample16 h3
{
color: #B52C07;
font: 120% georgia, times, "times new roman", serif;
font-weight: bold;
}

#sample16 #sample16-container
{
margin: 1em auto;
width: 650px;
text-align: left;
background-color: #fff;
border: 1px solid #676767;
}

#sample16 #sample16-header
{
height: 53px;
background: url(/wp-content/uploads/benefits-header.jpg) no-repeat 0 0;
border-bottom: 1px solid #fff;
position: relative;
}

#sample16 #sample16-header h1
{
font-size: 1px;
text-align: right;
color: #fff;
margin: 0;
padding: 0;
}

#sample16 #sample16-skipmenu
{
position: absolute;
right: 10px;
top: 5px;
}

#sample16 #sample16-skipmenu a
{
color: #555;
text-decoration: none;
}

#sample16 #sample16-skipmenu a:hover
{
color: #fff;
background-color: #555;
text-decoration: none;
}

#sample16 #sample16-mainnav
{
background-color: #9FA41D;
color: #272900;
padding: 2px 0;
margin: 0 0 20px 0;
}

#sample16 #sample16-mainnav ul
{
margin: 0 0 0 20px;
padding: 0;
list-style-type: none;
border-left: 1px solid #C4C769;
}

#sample16 #sample16-mainnav li
{
display: inline;
padding: 0 10px;
border-right: 1px solid #C4C769;
}

#sample16 #sample16-mainnav li a
{
text-decoration: none;
color: #272900;
}

#sample16 #sample16-mainnav li a:hover
{
text-decoration: none;
color: #fff;
background-color: #272900;
}

#sample16 #textsize
{
margin: 0 20px 20px 0;
text-align: right;
}

#sample16 #sample16-menu
{
float: right;
width: 150px;
}

#sample16 #sample16-menu ul
{
margin-left: 0;
padding-left: 0;
list-style-type: none;
line-height: 165%;
}

#sample16 #sample16-contents
{
margin: 0 170px 40px 20px;
border-right: 1px solid #C5C877;
padding-right: 20px;
}

#sample16 #sample16-contents p { line-height: 165%; }

#sample16 .imagefloat
{
float: right;
padding: 2px;
border: 1px solid #9FA41D;
margin: 0 0 10px 10px;
}

#sample16 #sample16-footer
{
clear: both;
color: #272900;
background-color: #9FA41D;
text-align: right;
padding: 5px;
font-size: 90%;
}

/* -----------------------------------
sample17
----------------------------------- */

#sample17 h2
{
color: #6F428C;
font-size: 140%;
margin: 0;
}

#sample17 h3
{
color: #6F428C;
font-size: 120%;
}

#sample17 #sample17-container
{
margin: 1em auto;
width: 90%;
text-align: left;
background-color: #fff;
border: 1px solid #BCA6CA;
}

#sample17 #sample17-header
{
height: 70px;
background: url(/wp-content/uploads/benefits-header2.jpg) no-repeat;
border-bottom: 1px solid #fff;
position: relative;
background-color: #fff;
}

#sample17 #sample17-header h1
{
font-size: 1px;
text-align: right;
color: #fff;
margin: 0;
padding: 0;
}

#sample17 #sample17-skipmenu
{
position: absolute;
right: 10px;
top: 5px;
}

#sample17 #sample17-skipmenu a
{
color: #555;
text-decoration: none;
}

#sample17 #sample17-skipmenu a:hover
{
color: #fff;
background-color: #555;
text-decoration: none;
}

#sample17 #sample17-mainnav
{
background-color: #8F5CB0;
color: #272900;
padding: 2px 0;
margin: 0 0 20px 0;
}

#sample17 #sample17-mainnav ul
{
margin: 0 0 0 20px;
padding: 0;
list-style-type: none;
border-left: 1px solid #D5C7DC;
}

#sample17 #sample17-mainnav li
{
display: inline;
padding: 0 10px;
border-right: 1px solid #D5C7DC;
}

#sample17 #sample17-mainnav li a
{
text-decoration: none;
color: #fff;
}

#sample17 #sample17-mainnav li a:hover
{
text-decoration: none;
color: #fff;
background-color: #427122;
}

#sample17 #sample17-textsize
{
margin: 0 20px 20px 0;
text-align: right;
}

#sample17 #sample17-menu
{
float: left;
display: inline;
margin-left: 20px;
width: 120px;
}

#sample17 #sample17-menu ul
{
margin-left: 0;
padding-left: 0;
list-style-type: none;
line-height: 165%;
}

#sample17 #sample17-contents
{
margin: 0 20px 40px 160px;
border-left: 1px solid #D5C7DC;
padding-left: 20px;
}

#sample17 #sample17-contents p { line-height: 165%; }

#sample17 .imagefloat
{
float: right;
padding: 2px;
border: 1px solid #BCA6CA;
margin: 0 0 10px 10px;
}

#sample17 #sample17-footer
{
clear: both;
color: #fff;
background-color: #8F5CB0;
text-align: right;
padding: 5px;
font-size: 90%;
}

/* -----------------------------------
sample18
----------------------------------- */

#sample18-header { border-bottom: 1px solid #999; }
#sample18-header h1 { color: #000; }
#sample18-skipmenu { display: none; }
#sample18-mainnav { display: none; }
#sample18-menu { display: none; }

#sample18-menu ul
{
margin-left: 0;
padding-left: 0;
list-style-type: none;
line-height: 165%;
}

#sample18-contents p { line-height: 165%; }
.sample18-imagefloat { display: none; }

#sample18-footer
{
clear: both;
color: #000;
text-align: right;
padding: 5px;
font-size: 90%;
border-top: 1px solid #999;
margin-top: 2em;
}

/* -----------------------------------
sample19
----------------------------------- */

.sample19-red { color: red; }
.sample19-blue { color: blue; }

/* -----------------------------------
remote-control
----------------------------------- */

#remote-control
{
position: relative;
background: url(/wp-content/uploads/remote-back2.jpg) no-repeat;
width: 224px;
height: 507px;
}

#remote-control h2, #remote-control span
{
position: absolute;
left: -5000px;
}

#remote-control ul
{
margin: 0;
padding: 0;
list-style-type: none;
}

#home a, #sitemap a, #button1 a, #button2 a, #button3 a, #button4 a, #button5 a, #button6 a, #button7 a, #button8 a, #button9 a, #button10 a, #button11 a, #button12 a, #view a, #info a, #help a, #rewind a, #back a, #forward a, #top a, #bottom a, #ok a
{
position: absolute;
display: block;
}

#remote-control li#home a
{
left: 33px;
top: 29px;
width: 37px;
height: 37px;
background: url(/wp-content/uploads/remote-home.jpg) no-repeat;
}

#remote-control li#home a:hover
{
background-image: url(/wp-content/uploads/remote-home.jpg);
background-repeat: no-repeat;
background-position: 0 -37px;
}

#remote-control li#sitemap a
{
left: 154px;
top: 29px;
width: 37px;
height: 37px;
background: url(/wp-content/uploads/remote-sitemap.jpg) no-repeat;
}

#remote-control li#sitemap a:hover
{
background-image: url(/wp-content/uploads/remote-sitemap.jpg);
background-repeat: no-repeat;
background-position: 0 -37px;
}

#remote-control li#button1 a, #remote-control li#button2 a, #remote-control li#button3 a, #remote-control li#button4 a, #remote-control li#button5 a, #remote-control li#button6 a, #remote-control li#button7 a, #remote-control li#button8 a, #remote-control li#button9 a, #remote-control li#button10 a, #remote-control li#button11 a, #remote-control li#button12 a
{
width: 41px;
height: 21px;
background: url(/wp-content/uploads/remote-button.jpg) no-repeat;
}

#remote-control li#button1 a
{
left: 38px;
top: 114px;
}

#remote-control li#button2 a
{
left: 91px;
top: 114px;
}

#remote-control li#button3 a
{
left: 145px;
top: 114px;
}

#remote-control li#button4 a
{
left: 38px;
top: 155px;
}

#remote-control li#button5 a
{
left: 91px;
top: 155px;
}

#remote-control li#button6 a
{
left: 145px;
top: 155px;
}

#remote-control li#button7 a
{
left: 38px;
top: 196px;
}

#remote-control li#button8 a
{
left: 91px;
top: 196px;
}

#remote-control li#button9 a
{
left: 145px;
top: 196px;
}

#remote-control li#button10 a
{
left: 38px;
top: 237px;
}

#remote-control li#button11 a
{
left: 91px;
top: 237px;
}

#remote-control li#button12 a
{
left: 145px;
top: 237px;
}

#remote-control li#button1 a:hover, #remote-control li#button2 a:hover, #remote-control li#button3 a:hover, #remote-control li#button4 a:hover, #remote-control li#button5 a:hover, #remote-control li#button6 a:hover, #remote-control li#button7 a:hover, #remote-control li#button8 a:hover, #remote-control li#button9 a:hover, #remote-control li#button10 a:hover, #remote-control li#button11 a:hover, #remote-control li#button12 a:hover
{
background-image: url(/wp-content/uploads/remote-button.jpg);
background-repeat: no-repeat;
background-position: 0 -21px;
}

#remote-control li#view a
{
width: 29px;
height: 30px;
left: 41px;
top: 331px;
background: url(/wp-content/uploads/remote-circle3.jpg) no-repeat 0 -19px;
}

#remote-control li#info a
{
width: 33px;
height: 23px;
left: 74px;
top: 312px;
background: url(/wp-content/uploads/remote-circle3.jpg) no-repeat -33px 0px;
}

#remote-control li#help a
{
width: 33px;
height: 23px;
left: 116px;
top: 312px;
background: url(/wp-content/uploads/remote-circle3.jpg) no-repeat -75px 0;
}

#remote-control li#rewind a
{
width: 29px;
height: 30px;
left: 154px;
top: 332px;
background: url(/wp-content/uploads/remote-circle3.jpg) no-repeat -113px -20px;
}

#remote-control li#back a
{
width: 25px;
height: 59px;
left: 58px;
top: 365px;
background: url(/wp-content/uploads/remote-circle3.jpg) no-repeat -17px -53px;
}

#remote-control li#forward a
{
width: 23px;
height: 59px;
left: 139px;
top: 365px;
background: url(/wp-content/uploads/remote-circle3.jpg) no-repeat -98px -53px;
}

#remote-control li#top a
{
width: 62px;
height: 23px;
left: 80px;
top: 342px;
background: url(/wp-content/uploads/remote-circle3.jpg) no-repeat -39px -30px;
}

#remote-control li#bottom a
{
width: 61px;
height: 22px;
left: 80px;
top: 424px;
background: url(/wp-content/uploads/remote-circle3.jpg) no-repeat -39px -112px;
}

#remote-control li#ok a
{
width: 44px;
height: 46px;
left: 89px;
top: 371px;
background: url(/wp-content/uploads/remote-circle3.jpg) no-repeat -48px -59px;
}

#remote-control li#view a:hover { background: url(/wp-content/uploads/remote-circle3.jpg) no-repeat 0 -157px; }
#remote-control li#info a:hover { background: url(/wp-content/uploads/remote-circle3.jpg) no-repeat -33px -138px; }
#remote-control li#help a:hover { background: url(/wp-content/uploads/remote-circle3.jpg) no-repeat -75px -138px; }
#remote-control li#rewind a:hover { background: url(/wp-content/uploads/remote-circle3.jpg) no-repeat -113px -158px; }
#remote-control li#back a:hover { background: url(/wp-content/uploads/remote-circle3.jpg) no-repeat -17px -191px; }
#remote-control li#forward a:hover { background: url(/wp-content/uploads/remote-circle3.jpg) no-repeat -98px -191px; }
#remote-control li#top a:hover { background: url(/wp-content/uploads/remote-circle3.jpg) no-repeat -39px -168px; }
#remote-control li#bottom a:hover { background: url(/wp-content/uploads/remote-circle3.jpg) no-repeat -39px -250px; }
#remote-control li#ok a:hover { background: url(/wp-content/uploads/remote-circle3.jpg) no-repeat -48px -197px; }

/* -----------------------------------
layout-one-fixed
----------------------------------- */

#layout-one-fixed
{
clear: both;
float: left;
width: 100%;
padding: 0 0 20px;
}

#layout-one-fixed #container
{
margin: 0 auto;
width: 600px;
background: #fff;
}

#layout-one-fixed #header
{
background: #ccc;
padding: 20px;
}

#layout-one-fixed #header h1 { margin: 0; }

#layout-one-fixed #navigation
{
float: left;
width: 600px;
background: #333;
}

#layout-one-fixed #navigation ul
{
margin: 0;
padding: 0;
}

#layout-one-fixed #navigation ul li
{
list-style-type: none;
display: inline;
}

#layout-one-fixed #navigation li a
{
display: block;
float: left;
padding: 5px 10px;
color: #fff;
text-decoration: none;
border-right: 1px solid #fff;
}

#layout-one-fixed #navigation li a:hover { background: #383; }

#layout-one-fixed #content
{
clear: left;
padding: 20px;
}

#layout-one-fixed #content h2
{
color: #000;
font-size: 160%;
margin: 0 0 .5em;
}

#layout-one-fixed #footer
{
background: #ccc;
text-align: right;
padding: 20px;
height: 1%;
}

/* -----------------------------------
layout-one-liquid
----------------------------------- */

#layout-one-liquid
{
clear: both;
float: left;
width: 100%;
margin: 0 0 30px;
}

#layout-one-liquid #container
{
margin: 0;
background: #fff;
}

#layout-one-liquid #header
{
background: #ccc;
padding: 20px;
}

#layout-one-liquid #header h1 { margin: 0; }

#layout-one-liquid #navigation
{
float: left;
width: 100%;
background: #333;
}

#layout-one-liquid #navigation ul
{
margin: 0;
padding: 0;
}

#layout-one-liquid #navigation ul li
{
list-style-type: none;
display: inline;
}

#layout-one-liquid #navigation li a
{
display: block;
float: left;
padding: 5px 10px;
color: #fff;
text-decoration: none;
border-right: 1px solid #fff;
}

#layout-one-liquid #navigation li a:hover { background: #383; }

#layout-one-liquid #content
{
clear: left;
padding: 20px;
}

#layout-one-liquid #content h2
{
color: #000;
font-size: 160%;
margin: 0 0 .5em;
}

#layout-one-liquid #footer
{
background: #ccc;
text-align: right;
padding: 20px;
height: 1%;
}

/* -----------------------------------
layout-three-fixed
----------------------------------- */

#layout-three-fixed
{
clear: both;
float: left;
width: 100%;
margin: 0 0 30px;
}

#layout-three-fixed #container
{
margin: 0 auto;
width: 1000px;
background: #fff;
}

#layout-three-fixed #header
{
background: #ccc;
padding: 20px;
}

#layout-three-fixed #header h1 { margin: 0; }

#layout-three-fixed #navigation
{
float: left;
width: 1000px;
background: #333;
}

#layout-three-fixed #navigation ul
{
margin: 0;
padding: 0;
}

#layout-three-fixed #navigation ul li
{
list-style-type: none;
display: inline;
}

#layout-three-fixed #navigation li a
{
display: block;
float: left;
padding: 5px 10px;
color: #fff;
text-decoration: none;
border-right: 1px solid #fff;
}

#layout-three-fixed #navigation li a:hover { background: #383; }

#layout-three-fixed #content-container
{
float: left;
width: 1000px;
background: #fff url(/wp-content/uploads/layout-three-fixed-background.gif) repeat-y 100% 0;
}

#layout-three-fixed #section-navigation
{
float: left;
width: 160px;
padding: 20px 0;
margin: 0 20px;
display: inline;
}

#layout-three-fixed #section-navigation ul
{
margin: 0;
padding: 0;
}

#layout-three-fixed #section-navigation ul li
{
margin: 0 0 1em;
padding: 0;
list-style-type: none;
}

#layout-three-fixed #content
{
float: left;
width: 500px;
padding: 20px 0;
margin: 0 0 0 30px;
}

#layout-three-fixed #content h2 { margin: 0; }

#layout-three-fixed #aside
{
float: right;
width: 200px;
padding: 20px 0;
margin: 0 20px 0 0;
display: inline;
}

#layout-three-fixed #aside h3 { margin: 0; }

#layout-three-fixed #footer
{
clear: left;
background: #ccc;
text-align: right;
padding: 20px;
height: 1%;
}

/* -----------------------------------
layout-three-liquid
----------------------------------- */

#layout-three-liquid
{
clear: both;
float: left;
width: 100%;
margin: 0 0 30px;
}

#layout-three-liquid #container
{
margin: 0 auto;
width: 100%;
background: #fff;
}

#layout-three-liquid #header
{
background: #ccc;
padding: 20px;
}

#layout-three-liquid #header h1 { margin: 0; }

#layout-three-liquid #navigation
{
float: left;
width: 100%;
background: #333;
}

#layout-three-liquid #navigation ul
{
margin: 0;
padding: 0;
}

#layout-three-liquid #navigation ul li
{
list-style-type: none;
display: inline;
}

#layout-three-liquid #navigation li a
{
display: block;
float: left;
padding: 5px 10px;
color: #fff;
text-decoration: none;
border-right: 1px solid #fff;
}

#layout-three-liquid #navigation li a:hover { background: #383; }

#layout-three-liquid #content-container1
{
float: left;
width: 100%;
background: #fff url(/wp-content/uploads/layout-three-liquid-background1.gif) repeat-y 20% 0;
}

#layout-three-liquid #content-container2
{
float: left;
width: 100%;
background: url(/wp-content/uploads/layout-three-liquid-background2.gif) repeat-y 80% 0;
}

#layout-three-liquid #section-navigation
{
float: left;
width: 16%;
padding: 20px 0;
margin: 0 2%;
display: inline;
}

#layout-three-liquid #section-navigation ul
{
margin: 0;
padding: 0;
}

#layout-three-liquid #section-navigation ul li
{
margin: 0 0 1em;
padding: 0;
list-style-type: none;
}

#layout-three-liquid #content
{
float: left;
width: 56%;
padding: 20px 0;
margin: 0 0 0 2%;
}

#layout-three-liquid #content h2 { margin: 0; }

#layout-three-liquid #aside
{
float: right;
width: 16%;
padding: 20px 0;
margin: 0 2% 0 0;
display: inline;
}

#layout-three-liquid #aside h3 { margin: 0; }

#layout-three-liquid #footer
{
clear: left;
background: #ccc;
text-align: right;
padding: 20px;
height: 1%;
}

/* -----------------------------------
layout-two-fixed-spread
----------------------------------- */

#layout-two-fixed-spread
{
clear: both;
float: left;
width: 100%;
margin: 0 0 30px;
}

#layout-two-fixed-spread #head-container
{
color: #000;
background: #ccc;
}

#layout-two-fixed-spread #header
{
margin: 0 auto;
width: 860px;
padding: 20px;
background: #ddd;
}

#layout-two-fixed-spread #header h1 { margin: 0; }

#layout-two-fixed-spread #navigation-container
{
float: left;
width: 100%;
color: #000;
background: #333;
}

#layout-two-fixed-spread #navigation
{
margin: 0 auto;
width: 900px;
}

#layout-two-fixed-spread #navigation ul
{
margin: 0;
padding: 0;
}

#layout-two-fixed-spread #navigation ul li
{
list-style-type: none;
display: inline;
}

#layout-two-fixed-spread #navigation li a
{
display: block;
float: left;
padding: 5px 10px;
color: #fff;
text-decoration: none;
border-right: 1px solid #fff;
}

#layout-two-fixed-spread #navigation li a:hover { background: #383; }

#layout-two-fixed-spread #content-container
{
float: left;
width: 100%;
color: #000;
background: #eee;
}

#layout-two-fixed-spread #content-container2
{
margin: 0 auto;
width: 900px;
}

#layout-two-fixed-spread #content-container3
{
float: left;
width: 900px;
background: #FFF url(two-fixed-background.gif) repeat-y 100% 0;
}

#layout-two-fixed-spread #content
{
clear: left;
float: left;
width: 560px;
padding: 20px 0;
margin: 0 0 0 30px;
display: inline;
}

#layout-two-fixed-spread #content h2 { margin: 0; }

#layout-two-fixed-spread #aside
{
float: right;
width: 240px;
padding: 20px 0;
margin: 0 20px 0 0;
display: inline;
}

#layout-two-fixed-spread #aside h3 { margin: 0; }

#layout-two-fixed-spread #footer-container
{
clear: left;
color: #fff;
background: #000;
}

#layout-two-fixed-spread #footer
{
margin: 0 auto;
width: 900px;
text-align: right;
padding: 20px;
height: 1%;
}

/* -----------------------------------
layout-two-fixed
----------------------------------- */

#layout-two-fixed
{
clear: both;
float: left;
width: 100%;
margin: 0 0 30px;
}

#layout-two-fixed #container
{
margin: 0 auto;
width: 900px;
background: #fff;
}

#layout-two-fixed #header
{
background: #ccc;
padding: 20px;
}

#layout-two-fixed #header h1 { margin: 0; }

#layout-two-fixed #navigation
{
float: left;
width: 900px;
background: #333;
}

#layout-two-fixed #navigation ul
{
margin: 0;
padding: 0;
}

#layout-two-fixed #navigation ul li
{
list-style-type: none;
display: inline;
}

#layout-two-fixed #navigation li a
{
display: block;
float: left;
padding: 5px 10px;
color: #fff;
text-decoration: none;
border-right: 1px solid #fff;
}

#layout-two-fixed #navigation li a:hover { background: #383; }

#layout-two-fixed #content-container
{
float: left;
width: 900px;
background: #fff url(/wp-content/uploads/layout-two-fixed-background.gif) repeat-y 100% 0;
}

#layout-two-fixed #content
{
clear: left;
float: left;
width: 560px;
padding: 20px 0;
margin: 0 0 0 30px;
display: inline;
}

#layout-two-fixed #content h2 { margin: 0; }

#layout-two-fixed #aside
{
float: right;
width: 240px;
padding: 20px 0;
margin: 0 20px 0 0;
display: inline;
}

#layout-two-fixed #aside h3 { margin: 0; }

#layout-two-fixed #footer
{
clear: left;
background: #ccc;
text-align: right;
padding: 20px;
height: 1%;
}

/* -----------------------------------
layout-two-liquid
----------------------------------- */

#layout-two-liquid
{
clear: both;
float: left;
width: 100%;
margin: 0 0 30px;
}

#layout-two-liquid #container
{
margin: 0 auto;
width: 100%;
background: #fff;
}

#layout-two-liquid #header
{
background: #ccc;
padding: 20px;
}

#layout-two-liquid #header h1 { margin: 0; }

#layout-two-liquid #navigation
{
float: left;
width: 100%;
background: #333;
}

#layout-two-liquid #navigation ul
{
margin: 0;
padding: 0;
}

#layout-two-liquid #navigation ul li
{
list-style-type: none;
display: inline;
}

#layout-two-liquid #navigation li a
{
display: block;
float: left;
padding: 5px 10px;
color: #fff;
text-decoration: none;
border-right: 1px solid #fff;
}

#layout-two-liquid #navigation li a:hover { background: #383; }

#layout-two-liquid #content-container
{
float: left;
width: 100%;
background: #FFF url(/wp-content/uploads/layout-two-liquid-background.gif) repeat-y 68% 0;
}

#layout-two-liquid #content
{
clear: left;
float: left;
width: 60%;
padding: 20px 0;
margin: 0 0 0 4%;
display: inline;
}

#layout-two-liquid #content h2 { margin: 0; }

#layout-two-liquid #aside
{
float: right;
width: 26%;
padding: 20px 0;
margin: 0 3% 0 0;
display: inline;
}

#layout-two-liquid #aside h3 { margin: 0; }

#layout-two-liquid #footer
{
clear: left;
background: #ccc;
text-align: right;
padding: 20px;
height: 1%;
}

/* -----------------------------------
media-sample
----------------------------------- */

html, body, ul, ol, li, form, fieldset, legend
{
margin: 0;
padding: 0;
}

h1, h2, h3, h4, h5, h6, p { margin-top: 0; }
fieldset,img { border: 0; }
legend { color: #000; }
li { list-style: none; }
sup { vertical-align: text-top; }
sub { vertical-align: text-bottom; }

table
{
border-collapse: collapse;
border-spacing: 0;
}

caption, th, td
{
text-align: left;
vertical-align: top;
font-weight: normal;
}

input, textarea, select
{
font-size: 110%;
line-height: 1.1;
}

abbr, acronym
{
border-bottom: .1em dotted;
cursor: help;
}

body
{
margin: 20px;
color: #000;
background: #fff;
font: 90%/1.3 "DejaVu Sans", "URW Gothic L", "Helvetica Neue", Helvetica, Arial, "Microsoft Sans Serif", sans-serif;
}

#media-container
{
float: left;
width: 1000px;
background: #bbb;
}

#media-container #nav
{
float: left;
width: 200px;
background: lime;
}

#media-container #content
{
float: left;
width: 550px;
margin: 0 0 0 25px;
background: yellow;
}

#media-container #extras
{
float: right;
width: 200px;
background: gray;
}

#media-container .feature-image
{
float: right;
margin: 0 0 10px 10px;
}

@media screen and (max-width:999px)
{
#media-container { width: 800px; }

#media-container #extras
{
	clear: left;
	float: none;
	margin: 0 0 0 225px;
	width: 550px;
}
}

@media screen and (max-width:480px)
{
#media-container { width: 400px; }

#media-container #nav
{
	float: none;
	width: auto;
}

#media-container #content
{
	float: none;
	width: auto;
	margin: 0;
}

#media-container #extras
{
	float: none;
	width: auto;
	margin: 0;
}

#media-container .feature-image { display: none; }
}

 

The first thing I would like to do is clean it up and delete everything not being used. He uses this one catch all css script for many different tutorials. Other than one by one and then checking the result, any suggestions on how to go about that?

 

Wow! I just exceeded the 40,000 characters so I will have to continue in another post.

Link to comment
Share on other sites

index.html

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>Two columns with color &#8211; Final layout | Max Design</title>
<meta name="Description" content="Max Design - standards based web design, development and training" />
<meta name="robots" content="all, index, follow" />
<meta name="distribution" content="global" />
<!--	<link rel="shortcut icon" href="/favicon.ico" /> -->
<!--	<link rel="stylesheet" href="http://www.maxdesign.com.au/wp-content/themes/maxdesign/stylesheets/sample.css" type="text/css" media="screen" /> -->
<!--	<link rel="stylesheet" href="http://www.maxdesign.com.au/wp-content/themes/maxdesign/stylesheets/print.css" type="text/css" media="print" /> -->
<!--[if IE 5]><link rel="stylesheet" href="http://www.maxdesign.com.au/wp-content/themes/maxdesign/stylesheets/ie5.css" type="text/css" media="screen" /><![endif]-->
<!--[if IE 6]><link rel="stylesheet" href="http://www.maxdesign.com.au/wp-content/themes/maxdesign/stylesheets/ie6.css" type="text/css" media="screen" /><![endif]-->
<!--[if IE 7]><link rel="stylesheet" href="http://www.maxdesign.com.au/wp-content/themes/maxdesign/stylesheets/ie7.css" type="text/css" media="screen" /><![endif]-->
<link rel="stylesheet" type="text/css" href="barcs.css" /> 

</head>
<body>
<!-- div id's 04 and 08 -->
<div id="sample04"> <!-- This is the right one except width of nav is wrong -->

<div id="banner">
<h1>BAY AREA REMOTE CONTROL SOCIETY</h1>
</div>
<div id="nav">
<p>NAVIGATION</p>
HOME<br>
CLUB INFO
</div>
<div id="content">
<h2>CONTENT</h2>
<p>Welcome to our web page. Look around. We have some interesting stuff for RC Model Enthusiasts.</p>
</div>
<div id="footer">Footer stuff here</div>
</div>
		</div>
<div class="copyright">
©Copyright Max Design 2010
</div>
</body>
</html>

 

The only problem I have is the width of the nav panel #sample04 #nav (hope that is the right one). I can't get it to expand horiz to the right width. He was using a background.gif which I replaced with background_pinkish.jpg. Would the size of the image have anything to do with it?

 

If not, Help!

 

Link to comment
Share on other sites

I hope you do realize that you just posted your complete stylesheet, and that no one is going to read through that.

 

As for any css topic i recomend you host this somewhere so we have a visual reference and by using a nice tools such as firebug (for firefox) we can immediately see what lines in your stylesheet you mean.

 

Anyway i don't see the image in your html mark-up, so that would not be the reason why your div is not expanding. (a background image in css wont either) what you could do is give the div a min-width:

 

Something like this:

 

div#sample04{
    min-width: 500px;
}

 

There are some free hosting companies that offer you php mysql and everything for free. So you can upload it there and show us. that way it is much easier to help you out on css. I use this one: http://www.000webhost.com/

 

Although this is an okay approach for a first few websites, i rather make my own since the naming of id's and classes is often terrible. for instnace sample4 ? what does that mean... i rather use #header #left #mid #right #footer etc

Link to comment
Share on other sites

Thanks for the info.

 

I hope you do realize that you just posted your complete stylesheet, and that no one is going to read through that.

I posted the complete css script just for a fast purusal and looking for hints on how to clean it up.

As for any css topic i recomend you host this somewhere so we have a visual reference and by using a nice tools such as firebug (for firefox) we can immediately see what lines in your stylesheet you mean.

I have managed to finish most of my tasks with mySQL and php but I am almost brand new to css so thanks for the tip.

http://bayarearcsociety.com/index2.html

For a quick summary of what I am trying to do, I am trying to rewrite an old, drab, 1990s website (phpfreaks critiques) using css.

http://bayarearcsociety.com

This is not too encouraging. I am using Komodo Edit 6.1 and running IE7. The preview is almost perfect except for the horiz width previously mentioned. But the display after the upload to my host is nothing close to being the same.

 

I really don't understand what is going on. I have used inline stylesheets but this is my first external. When I do a view/source on index2.html, it is missing a great deal of the code that I know it needs and which it gets when I view it from my editor.

 

 

 

Link to comment
Share on other sites

I posted the complete css script just for a fast purusal and looking for hints on how to clean it up.

ah maybe you should have mentioned that. ;) The thing is pretty much everything of that style sheet is not needed,  except for the top part, and the stuff mentioned about id #example4. For instance you have #example5 in there too, but you don't need it. That's the problem when people just use someone's stylesheet better make on yourself :) happy to help with that too.

 

Like I mentioned in the mail 960.gs is really great its a grid system which is very easy to understand, loadsof examples there too. go check it out and i am happy to help with that.

 

also make an index3.php use php (instead of .html) as extension otherwise your php (if you use it) wont work.

 

This is not too encouraging. I am using Komodo Edit 6.1 and running IE7. The preview is almost perfect except for the horiz width previously mentioned. But the display after the upload to my host is nothing close to being the same.
Well i don't know alot about komodo edit, but i do know IE 7 is pretty outdated.

What i do, is design for firefox. if it works there it's very easy to apply special style to it for ie 7 6 5 (since IE is really mind goggling and it takes time to know all bugs.) So download firefox and use that.

 

I also use netbeans as an editor its free also.

 

If you want i can guide you through the process of the 960 grid system. it's really easy to do. let me know.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.