Jump to content

Centering Footer?


twilitegxa

Recommended Posts

I cannot get the footer image to centre with the rest of this content. The image is named bottom.png and is located within the footer class at the bottom of the CSS. Here is a link to the page so you can see what I am talking about:

 

 

http://midwestcreativeconsulting.com/jhrevell/

 

 

And here is the CSS file:

 

 


/*
Theme Name: Twenty Ten
Theme URI: http://wordpress.org/
Description: The 2010 theme for WordPress is stylish, customizable, simple, and readable -- make it yours with a custom menu, header image, and background. Twenty Ten supports six widgetized areas (two in the sidebar, four in the footer) and featured images (thumbnails for gallery posts and custom header images for posts and pages). It includes stylesheets for print and the admin Visual Editor, special styles for posts in the "Asides" and "Gallery" categories, and has an optional one-column page template that removes the sidebar.
Author: the WordPress team
Version: 1.1
Tags: black, blue, white, two-columns, fixed-width, custom-header, custom-background, threaded-comments, sticky-post, translation-ready, microformats, rtl-language-support, editor-style
*/




/* =Reset default browser CSS. Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html
-------------------------------------------------------------- */


body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td{
			padding:0px; margin:0px; color: #ffffff;
			}
fieldset,input,textarea{
			padding:0px 0px 0px 0px; margin:0px 0px 0px 0px; border:1px solid #ccc; color:#666; 
			}

input.contact {
width: 16em;
height: 1.5em;
}


img				{border:0px;}

font{			font-family:Arial, Helvetica, sans-serif; font-size:14px; color:#000; outline:none;
			}


a:link {
			text-decoration: none;
}
a:visited {
			text-decoration: none;
}
a:hover {
			text-decoration: none;
}
a:active {
			text-decoration: none;
}


.under{ font-style:italic; text-decoration:underline; padding-top:15px;}


.submit{ width:61px; height:22px;  color:#b4dde3; background:url(images/submit.jpg) top center no-repeat; border:0px; }


body{	margin:0;	padding:0px; background:url(images/bg.png) no-repeat; background-size: 100%; background-color:#000000; border:none; color:#ffffff; font-size:12px; font-family:Times New Roman;
}


#mainwrapper{
			margin:auto; padding:0px; width:1020px; vertical-align:top; height:auto; border:none;
}


.mainwrapper{
			margin:auto; padding:0px; width:100%; vertical-align:top; height:auto; border:none;
}


#mainheader{
			width:100%; height:auto; float:left;
			}

#logo{
			width:374px; height:177px; float:left;
			}	

.bolded {
font-weight: bold;
}	


.questions {
font-weight: bold;
font-style: italic;
color: #2da89a;
font-size: 16px;
}


.questionList a {
font-size: 14px;
font-weight: bold;
font-style: italic;
color: #2da89a;
}	


.questionList a: hover {
color: #f8bcd4;
}


div#form {
width: 589px;
color: #2da89a;
font-weight: bold;
font-style:italic;
}


div#form td {
padding-right: 50px;
}


div#form td.formRight {
vertical-align: top;
}


.testimonial {
font-weight: bold;
}


.footer_italics {
font-style:  italic;
}


div.topsubtitle p span.tips {
color: #2da89a;
font-weight: bold;
}	


.article_italics {
font-style: italic;
}


.article_bold {
font-weight: bold;
}


.article_green {
color: #2da89a;
}		


a {
color: #999999;
}


a:hover {
color: #FFFF00;
}			

/* ============================================== Navigation Start Here ============================================= */




/*.nav_n{float:left; width:auto; height:auto; margin:0px; padding:0px;}
.nav{float:left; width:615px; height:38px; font-family:Arial, Helvetica, sans-serif; font-size:12px; margin-top:150px; margin-left:-5px;}
.nav ul { margin:0; padding:0px 0px 0px 0px; list-style:none;}
.nav li {display:inline; float:left; padding:0; margin: auto 3px; }
*/
.nav {
FONT-WEIGHT: bold; FLOAT: right; MARGIN:4px 0px 0px 0px; LINE-HEIGHT: 1; LIST-STYLE-TYPE: none; font-family:Arial, Helvetica, sans-serif;
}
.nav ul {PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FONT-WEIGHT: bold; FLOAT: left; PADDING-BOTTOM: 0px; MARGIN: -4px 0px 0px 0px; WIDTH:475px; LINE-HEIGHT: 1;  LIST-STYLE-TYPE: none
}
.nav a {
PADDING-RIGHT:19px; DISPLAY: block; PADDING-LEFT:19px; PADDING-BOTTOM: 7px;  COLOR: #000; PADDING-TOP: 7px; TEXT-DECORATION: none
}
.nav a.daddy {
BACKGROUND: url(rightarrow2.gif) no-repeat right center
}
.nav li {
PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FLOAT: left; PADDING-BOTTOM: 0px; PADDING-TOP: 0px;  margin-top:0px;
}
.nav li ul {
BORDER-TOP-WIDTH: 0.25em; FONT-WEIGHT: normal; BORDER-LEFT-WIDTH: 0.25em; LEFT: -999em; BORDER-BOTTOM-WIDTH: 0.25em; MARGIN: 0px; WIDTH: 10em; POSITION: absolute; HEIGHT: auto; BORDER-RIGHT-WIDTH: 0.25em; margin-top:38px;
}
.nav li li {width:auto; padding:8px 0px 8px 0px; text-align:center; border-top:dashed 1px #227583; background:#B2DFDA; color:#CCC;}
.nav li ul a {WIDTH: 9em}
.nav li ul ul {MARGIN: -1.75em 0px 0px 14em}
.nav li:hover ul ul {LEFT: -999em}
.nav li:hover ul ul ul {LEFT: -999em}
.nav li.sfhover ul ul {LEFT: -999em}
.nav li.sfhover ul ul ul {LEFT: -999em}
.nav li:hover ul {LEFT: auto}
.nav li li:hover ul {LEFT: auto}
.nav li li li:hover ul {LEFT: auto}
.nav li.sfhover ul {LEFT: auto}
.nav li li.sfhover ul {	LEFT: auto}
.nav li li:hover{width:auto; text-align:center; border-top:dashed 1px #B2DFDA; background:url(images/menubg.png) repeat top left;}


.nav li li li.sfhover ul {LEFT: auto}
.nav li:hover {	BACKGROUND:none; color:#666; }
.nav li.sfhover {BACKGROUND: #eda}
.nav a {float:left; background:url(images/nav-left1.png) no-repeat left top; color:#2DA89A; margin:0; padding:0; text-decoration:none; font-weight:bold;}


.nav a span {float:left; display:block; background:url(images/nav-right1.png) no-repeat right top; padding:0px; color:#fff;}	  
.nav a span {float:none; color:#3f6f1c;}
h1{font-family:Arial, Helvetica, sans-serif; font-size:18px; color:#2da89a; padding-top:10px; }
h6{font-family:Arial, Helvetica, sans-serif; font-size:14px; color:#2da89a; padding-top:10px; text-decoration:underline; font-style:italic; }
h5{font-family:Arial, Helvetica, sans-serif; font-size:14px; color:#888; padding-top:10px; padding-bottom:10px; font-style:italic; }
.bolded {
color: #cc98ae;
}


#repeating {background-image: url(images/top-repeat.png);
background-repeat: repeat-x;
height: 90px;
}


#topnav {
text-transform: uppercase;
font-size: 10px;
}


table td {
color: #999999;
}




/* ============================================== Navigation End  Here ============================================= */










/* ============================================== body Start Here ============================================= */


.bodywrapper{float:left; margin:-75px 0 0 7px; padding:0; font-family:Arial, Helvetica, sans-serif; background:url(images/midbg.png) repeat-y top center; text-decoration:none; font-weight:12px; width:988px; }
.bodynner{ margin:auto; width:942px;}
.bodytopbg{background:url(images/bgtopbot.png) no-repeat top left; float:left; width:100%; height:22px;}
.bodymidbg{float:left; width:988px; height:auto;}
.bodybotbg{background:url(images/bgtopbot.png) no-repeat; background-position: 0% -23px; float:left; width:100%; height:22px;}
.contentwrpper{margin:auto; width:942px; margin-top:20px;}
.contentleft{float:left; width:610px; height:auto; margin-left: 25px; margin-top: -5px;}
.toptitle{font-family: "Times New Roman", Times, serif; font-size:24px; color: #FFFF00; font-weight:600; background:url(images/bot.png) bottom left repeat-x; width: 650px; height:34px; margin-bottom: 25px;}
.s3{ float:left; width:589px; border:1px dashed #2da89a; padding:10px 10px;}
.s4{ float:left; width:589px; padding:10px 10px;}
.s5 {text-align: right;}
.s6 {font-size: 18px; vertical-align: top;}
.facebooklike{float:left; text-align:right; width:99%; margin:10px 0 0 250px;*margin:10px 0 0 248px; height:auto;}
.topsubtitle{font-family:Arial, Helvetica, sans-serif; font-size:14px; line-height:22px; color:#3f3f3f; padding-top:5px; font-weight:100;width: 700px;}
.contentright{float:left; width:195px; height:auto; margin-left:120px;}
.righttab{float:left; width:100%; height:12px;}
.righttab_a{float:left; width:100%; height:auto; background:#227583; padding:10px auto;}
.topsubff{font-family:Arial, Helvetica, sans-serif; text-align:center; font-size:14px; line-height:22px; padding-bottom:6px; color:#fff; font-weight:600;}
.righttab_se{float:left; width:311px; height:auto; background:#ffe3d1; padding:5px auto;}
.righttab_se_img{float:left; width:97px; height:121px; background:#ffe3d1; padding:0px auto; margin:8px 8px 8px 8px;}
.righttab_se_txt{float:left; width:180px; height:150px; background:#ffe3d1; line-height:22px; padding:0px auto; margin:8px 8px 8px 5px;}
.righttab_se_txtfield{float:right; background:url(images/txtfield.jpg) repeat-x top left; border:1px solid #333; width:206px; height:20px;}
.righttab_se_txtfieldiv{float:right; width:206px; height:20px; margin:0px 20px 10px 0px;}
.righttab_next{float:left; text-align:left; width:311px; height:auto; height:42px;}
.righttab_blogs{float:left; margin:5px}
.righttab_blogtxt{float:left; margin:8px; font-size:20px; font-family:Arial, Helvetica, sans-serif; color:#fff; font-weight:600;}
.righttab_se_tittxt{float:left; font-weight:600; width:60px; padding-left:18px; padding-top:2px;}
.righttab_center{width:100%; margin:auto; text-align:center; background:#ffe3d1; margin:0px auto; padding-bottom:10px;}
.nextab{float:left; font-weight:100; padding:10px auto; width:311px;}
.nextab p{float:left; font-weight:600; width:100%; padding:8px; font-size:14px; color:#424242}
.nextab ul{float:left; font-weight:100; width:100%; padding-left:25px; color:#212121}
.nextab ul li{float:left; font-weight:100; width:100%; display:marker; height:22px;}
.nextab_a{float:left; font-weight:100; padding:0 8px; width:292px; line-height:21px; }
.nextab_b{float:left; text-align:right; font-weight:600; color:#424242; width:292px; padding-bottom:20px;}
.facbook{float:left; font-weight:100; width:311px; background:#ffe3d1; height: 500px;}
.facbook div{float:left; font-weight:100; width:58px; height:58px; margin:9px;}
.frmfield2{ border:1px solid #ccc; height:16px; width:175px;}
.frmfield_bi{ border:1px solid #ccc; height:80px; width:300px;}
.aboutprofileimg{ float:left; padding:2px; border:1px solid #000; margin-right:10px; margin-top:7px;}


.heading {
color: #FFFF00;
font-family:"Times New Roman", Times, serif;
font-style:italic;
font-size: 16px;
}


table#jewelry td, table#jewelry input#submit, table#jewelry input#reset {
font-size: 16px;
font-weight: bold;
color: #040617;
padding: 5px;
}


table#jewelry {
background-color: #ffffff;
padding: 10px;
margin-top: 25px;
border: 2px dashed #040617;
margin-bottom: 25px;
}


table#jewelry input#submit, table#jewelry input#reset {
padding: 5px;
background-color: #040617;
color: #FFFF00;
}
/* ============================================== body End Here ============================================= */






/* ============================================== footer Start Here ============================================= */
.footer{float:left; width:100%; background-image: url(images/bottom.png); background-repeat: no-repeat; height:10px; }
.footertxt{margin:auto; width:988px; color:#35838f;}
.footerme{float:left; width:530px; }
.footerme ul{float:left; width:180px; padding-left:35px; padding-top:12px; color:#35838f; font-family:Arial, Helvetica, sans-serif;}
.footerme ul li{float:left; width:100%; height:24px; padding-top:10px; display:block; border-bottom:dashed 1px #35838f;}
.footerme ul li a{float:left; color:#35838f; font-family:Arial, Helvetica, sans-serif;}
.footerright{float:right; width:450px;}
.footercopyleft{float:left; width:720px; color:#35838f; padding:22px 10px 10px 10px;}
.footercopyright{float:right; width:150px; color:#35838f; padding:10px;}
.footercopyright div{float:left; padding:10px;}
.footerimgmail{float:right; padding:10px; width:408px; height:76px; margin-top:60px; margin-right:25px;}






/* ============================================== footer End Here ============================================= */

 

 

Can anyone help me center this footer with the rest of the content? I have tried margin: 0px auto, but this did not work, and if i set the left margin, the image is moved when the browser is resized, so that doesn't work. Can anyone help me figure this out? I know it must be something simple I am missing, but it is driving me crazy! Any help is greatly appreciated!

Link to comment
Share on other sites

Which section is the footer on the site?

J.H. Revell Jewelers & Goldsmiths specializes in custom, handsome jewelry, and we strive to provide customers with original designs and exceptional quality. With three in-house goldsmiths, all work is done on the promises. Our customers have direct access to the goldsmiths, which means being involved in the creation process from design to completion. This ensures a personal touch in each piece of custom jewelry.

 

And do you want it centered on both columns or just below the left column?

 

 

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.