Sent by bryan on 8 May 2010 15:03
Hi All
I could do with someone to look over my css - first foray into this!
I grabbed a template and all was well until I added a nav bar, now the
main content and footer don't centre align anymore. I've obviously
missed something that someone else might be able to see. I've stared at
the screen for ages so would appreciate a bit of insigt from someone
more knowledgeable than me.
Thanks
Bryan
http://www.redfedora.co.uk/memoriesontocanvas8/index.html
CSS: --
/*
Created by Keith Donegan of Code-Sucks.com
E-Mail: [EMAIL-REMOVED]
You can do whatever you want with these layouts,
but it would be greatly appreciated if you gave a link
back to http://www.code-sucks.com
*/
* { padding: 0; margin: 0; }
body {
font-family: Arial, Helvetica, sans-serif;
font-size: 14px;
background-image:url('stripe.png');
background-repeat:repeat-x;
}
#wrapper {
margin: 0 auto;
width: 922px;
}
#header {
width: 900px;
color: #FFF;
#padding: 10px;
#border: 1px solid #ccc;
height: 100px;
margin: 10px 5px 5px 5px;
#background: #DAC8BF;
}
#navigation {
width: 900px;
color: #006968;
padding: 10px 0px 10px 0px;
#border: 1px solid #ccc;
margin: 0px 5px 5px 5px;
background: #FFF;
}
#navigation li {
display: inline;
text-decoration: none;
}
#navigation a:link,
#navivation a:visited {
#color:#003858;
#background:#FFF;
#padding:10px;
#text-decoration: none;
#}
#content {
width: 900px;
color: #333;
#border: 1px solid #ccc;
background: #FFF;
margin: 0px 0px 10px 0px;
padding: 10px;
height: 350px;
}
#footer {
width: 900px;
color: #FFF;
border: 1px solid #ccc;
background: #003858;
text-align: center;
margin: 0px 0px 10px 0px;
padding: 10px;
}
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/