sunshine4lb Posted February 24, 2009 Share Posted February 24, 2009 I have recently installed Osc using a template, everything seems to go well except that the page is not centered! here is my stylesheet.css /* $Id: stylesheet.css,v 1.56 2003/06/30 20:04:02 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2003 osCommerce Released under the GNU General Public License */ .boxText { font-family: tahoma, arial, helvetica, sans-serif; font-size: 10px; } .errorBox { font-family : tahoma, arial, helvetica, sans-serif; font-size : 10px; background: #ffb3b5; font-weight: bold; } .stockWarning { font-family : tahoma, arial, helvetica, sans-serif; font-size : 10px; color: #cc0033; } .productsNotifications { background: #f2fff7; } .orderEdit { font-family : tahoma, arial, helvetica, sans-serif; font-size : 10px; color: #70d250; text-decoration: underline; } body { color: #000000; font-family: tahoma, arial, helvetica, sans-serif; margin: 0px auto; padding: 0px; } .violet { color: #74598F; } .px14 { font-size: 14px; } .px12 { font-size: 12px; } .px10 { font-size: 10px; } .uppercase { text-transform: uppercase; } .green { color: #91C920; } p { margin: 0px; padding-top: 0px; padding-right: 10px; padding-bottom: 0px; padding-left: 10px; } a:link, a:visited { text-decoration: none; font-size: 11px; font-family: Tahoma, Arial; } .px18 { font-size: 18px; } a:hover, a:active { text-decoration: underline; } .white { color: #FFFFFF; } .black { color: #000000; } .grey { color: #848282; } .dotted-line { border-bottom-width: 1px; border-bottom-style: dotted; border-bottom-color: #999999; } .double_dot { border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: #22060C; } input { border:1px solid #BDBDBD; font:11px Tahoma, Arial; } form { margin:0px; padding:0px; } .border { border:1px solid #A5A5A5; } TD { font-family: Tahoma, Arial; font-size: 11px; color: #000000; } .orange { color: #FF9600; } .blue { color: #2AB5D8; } .red { color: #A71300; } .text_ind{ text-indent:20px; } FORM { display: inline; } TR.header { background: #ffffff; } TR.headerNavigation { } TD.headerNavigation { font-family: tahoma, arial, helvetica, sans-serif; font-size: 10px; color: #ffffff; font-weight : bold; } A.headerNavigation { color: #FFFFFF; } A.headerNavigation:hover { color: #ffffff; } TR.headerError { background: #ff0000; } TD.headerError { font-family: Tahoma, tahoma, arial, helvetica, sans-serif; font-size: 12px; background: #ff0000; color: #ffffff; font-weight : bold; text-align : center; } TR.headerInfo { background: #00ff00; } TD.headerInfo { font-family: Tahoma, tahoma, arial, helvetica, sans-serif; font-size: 12px; background: #00ff00; color: #ffffff; font-weight: bold; text-align: center; } TR.footer { } TD.footer { font-family: tahoma, arial, helvetica, sans-serif; font-size: 10px; color: #ffffff; font-weight: bold; } .infoBox { } .infoBoxContents { font-family: tahoma, arial, helvetica, sans-serif; font-size: 10px; } .infoBoxNotice { } .infoBoxNoticeContents { font-family: tahoma, arial, helvetica, sans-serif; font-size: 10px; } TD.infoBoxHeading { font-family: tahoma, arial, helvetica, sans-serif; font-size: 10px; font-weight: bold; color: #ffffff; } TD.infoBox, SPAN.infoBox { font-family: tahoma, arial, helvetica, sans-serif; font-size: 10px; } TR.accountHistory-odd, TR.addressBook-odd, TR.alsoPurchased-odd, TR.payment-odd, TR.productListing-odd, TR.productReviews-odd, TR.upcomingProducts-odd, TR.shippingOptions-odd { background: #f8f8f9; } TR.accountHistory-even, TR.addressBook-even, TR.alsoPurchased-even, TR.payment-even, TR.productListing-even, TR.productReviews-even, TR.upcomingProducts-even, TR.shippingOptions-even { background: #f8f8f9; } TABLE.productListing { border: 1px; border-style: solid; border-color: #b6b7cb; border-spacing: 1px; } .productListing-heading { font-family: tahoma, arial, helvetica, sans-serif; font-size: 10px; background: #b6b7cb; color: #FFFFFF; font-weight: bold; } TD.productListing-data { font-family: tahoma, arial, helvetica, sans-serif; font-size: 10px; } A.pageResults { color: #0000FF; } A.pageResults:hover { color: #0000FF; background: #FFFF33; } TD.pageHeading, DIV.pageHeading { font-family: tahoma, arial, helvetica, sans-serif; font-size: 11px; font-weight: bold; color: #FFFFFF; text-indent:15px; height: 38px; background-image: url(images/nav_back.gif); text-transform: uppercase; } TR.subBar { background: #f4f7fd; } TD.subBar { font-family: tahoma, arial, helvetica, sans-serif; font-size: 10px; color: #000000; } TD.main, P.main { font-family: tahoma, arial, helvetica, sans-serif; font-size: 11px; line-height: 1.5; } TD.smallText, SPAN.smallText, P.smallText { font-family: tahoma, arial, helvetica, sans-serif; font-size: 10px; } TD.accountCategory { font-family: tahoma, arial, helvetica, sans-serif; font-size: 13px; color: #aabbdd; } TD.fieldKey { font-family: tahoma, arial, helvetica, sans-serif; font-size: 12px; font-weight: bold; } TD.fieldValue { font-family: tahoma, arial, helvetica, sans-serif; font-size: 12px; } TD.tableHeading { font-family: tahoma, arial, helvetica, sans-serif; font-size: 12px; font-weight: bold; } SPAN.newItemInCart { font-family: tahoma, arial, helvetica, sans-serif; font-size: 10px; color: #ff0000; } CHECKBOX, INPUT, RADIO, SELECT { font-family: tahoma, arial, helvetica, sans-serif; font-size: 11px; } TEXTAREA { width: 100%; font-family: tahoma, arial, helvetica, sans-serif; font-size: 11px; } SPAN.greetUser { font-family: tahoma, arial, helvetica, sans-serif; font-size: 12px; color: #f0a480; font-weight: bold; } TABLE.formArea { background: #f1f9fe; border-color: #7b9ebd; border-style: solid; border-width: 1px; } TD.formAreaTitle { font-family: Tahoma, tahoma, arial, helvetica, sans-serif; font-size: 12px; font-weight: bold; } SPAN.markProductOutOfStock { font-family: Tahoma, tahoma, arial, helvetica, sans-serif; font-size: 12px; color: #c76170; font-weight: bold; } SPAN.productSpecialPrice { font-family: tahoma, arial, helvetica, sans-serif; color: #ff0000; } SPAN.errorText { font-family: tahoma, arial, helvetica, sans-serif; color: #ff0000; } .moduleRow { } .moduleRowOver { background-color: #D7E9F7; cursor: pointer; cursor: hand; } .moduleRowSelected { background-color: #E9F4FC; } .checkoutBarFrom, .checkoutBarTo { font-family: tahoma, arial, helvetica, sans-serif; font-size: 10px; color: #8c8c8c; } .checkoutBarCurrent { font-family: tahoma, arial, helvetica, sans-serif; font-size: 10px; color: #000000; } /* message box */ .messageBox { font-family: tahoma, arial, helvetica, sans-serif; font-size: 10px; } .messageStackError, .messageStackWarning { font-family: tahoma, arial, helvetica, sans-serif; font-size: 10px; background-color: #ffb3b5; } .messageStackSuccess { font-family: tahoma, arial, helvetica, sans-serif; font-size: 10px; background-color: #99ff00; } /* input requirement */ .inputRequirement { font-family: tahoma, arial, helvetica, sans-serif; font-size: 10px; color: #ff0000; } Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.