WeLoveCSS Logo
Home Profile Members Search Rules Help New Posts



WeLoveCSS > WEB DESIGN > CSS > errors with page margins

Reply
  Thread Tools Display Modes
Old 8th August 11, 04:35 AM   #1
new2css
WLC Member
 
Join Date: Aug 2011
Posts: 2
Default errors with page margins

Hi. I have an account with weebly.com an online webpage editor similar to wordpress. When I was editing something went terribly wrong with the page margins click here

It appears to have messed all my pages so I'm thinking it's an error in the css stylesheet.

Here's the style sheet text

ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,body,html,p,bl ockquote,fieldset,input{
margin:0;
padding:0;
}
ul{
list-style:none;
}
fieldset{
border:0;
}
a img{
border:0;
}
.clear{
clear:both;
}

body {
background: #0c2335;
font-family: arial, sans-serif;
font-size:12px;
color:#666666;
margin:0;
padding:0;
}
a{
color: #4fc1e1;
text-decoration: none;
}
p {
line-height: 170%;
color: #fff;
font-size: 13px;
padding: 5px 0px 5px 0px;
}
h1 {
font-size:15px;
font-weight:bold;
color:#fff;
line-height:1.5;
padding: 5px 0px 5px 0px;
}
h2 {
font-family: arial, sans-serif;
font-size:15px;
color:#cecece;
line-height:1.5;
padding: 5px 0px 5px 0px;
}
#wrapper {
width:860px;
margin:0pt auto;
}

#navigation{
width: 960px;
height: 110px;
text-align: right;
}

.title{
font-family: Helvetica;
padding: 35px 0px 0px 0px;
font-size: 30px;
color: #fff;
float: left;
margin-right:20px;
}

#navigation ul{
display: inline;
position: relative;
top: 55px;
}

#navigation li{
display: inline;
}

#navigation li a{
display: inline-block;
white-space: nowrap;
height: 46px;
color: #fff;
padding: 9px 16px 0px 16px;
font-weight: bold;
font-size: 12px;
text-decoration: none;
}

#navigation li a:hover{
color: #fff;
padding: 9px 15px 0px 16px;
border-right: 1px solid #11324d;
background: #00b6e4;
text-decoration: none;
}

#navigation li#active a{
padding: 9px 15px 0px 16px;
border-right: 1px solid #11324d;
background: #00b6e4;
}

#header{
width: 960px;
height: 290px;
border-top: 4px solid #4fc1e1;
}

.weebly_header{
background: url(%%HEADERIMG%%) no-repeat;
}


#weebly-menus .weebly-menu-wrap { z-index: 5000; margin: 4px 0px 0px 0px;}
#weebly-menus .weebly-menu { padding: 0; margin: 0; list-style: none; }
#weebly-menus .weebly-menu li { float: left; clear: left; width: 163px; text-align: left; }
#weebly-menus .weebly-menu li a { position: relative; display: block; width: 100%; background: #9fe8fa; border-top: none; border-bottom: 1px solid #59D7F7; border-right: none; border-left: none; text-decoration: none; font-size: 12px; font-weight: normal; line-height:1; padding: 8px 6px 8px 12px; color: #333333; }
#weebly-menus .weebly-menu li a:hover { background: #4fc1e1; color: #fff; font-weight: bold; }

#content{
width: 890px;
height:auto !important;
min-height:400px;
padding: 25px 35px 35px 35px;
margin: 0px 0px 17px 0px;
background-image: url(http://www.fileden.com/files/2011/8/5/3178431//bg3.jpg

); background-repeat: repeat;}


#content a{
color: #fff;
font-weight: bold;
text-decoration: none;
}

#footercontainer{
width: 950px;
clear: both;
background: #11324d;
padding: 5px;
margin: 0px 0px 20px 0px;
}

#footer{
width: 898px;
color: #ffffff;
font-size: 14px;
font-weight: bold;
text-align: right;
border: 1px solid #16456b;
padding: 25px;
}


Does anyone know where the error is?

I really need to get this fixed and I don't want to have to redo the entire website

Thanks for your time.

Mark
new2css is offline   Reply With Quote
Old 8th August 11, 11:19 AM   #2
chrishirst
Banned
 
Join Date: Jun 2006
Location: Blackp ool U.K.
Posts: 3,197
Default Re: errors with page margins

Please use [code] or [html] delimiters for code blocks NOT bold so it is readable.
chrishirst is offline   Reply With Quote
Old 8th August 11, 12:58 PM   #3
new2css
WLC Member
 
Join Date: Aug 2011
Posts: 2
Default Re: errors with page margins

My apologies for the cross posting and bold font.

Here's the code for my home page.

html click here

css stylesheet click here
new2css is offline   Reply With Quote
Reply


Thread Tools
Display Modes
Linear Mode Linear Mode

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:27 PM.



Home | Advertise | Contact Us | Top
Home | Advertise | Contact Us | Top

Copyright© 2006 WeLoveCSS.com. All Rights Reserved.
Powered by vBulletin Version 3.8.4 Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.