- Home
- Categorie
- Coding e Sistemistica
- HTML e CSS
- Sito a sinistra e non centrato
-
Sito a sinistra e non centrato
Perchè il mio sito si trova tutto sulla sinistra invece di essere al centro??
Link: revolutiondj.altervista.org/website/
-
Forse hai già sistemato non so... comunque io lo vedo centrato, forse con un margine maggiore di qualche pixel a destra...
Queste impostazioni sono contenute nei file css o nei tag <style></style> quindi è li che devi modificare un possibile margin-right al div principale.
-
Non lo sò.. io con lo schermo 1024 x 768 lo vedo centrato (perchè è piccolo), ma l'altro giorno collegandomi da un Apple che ha lo schermo più largo, il sito risultava a sinistra
Il fatto e che non sò dove modificare. Dai un occhiata magari tu al CSS
-
risolto
-
Ciao Burn,
credo che non hai risolto. Controlla bene.
Io col monitor da 24 pollici non la vedo centrata.
-
Metti un margin: auto; al div che contiene tutto e assicurati di non aver usato dei valori assoluti per posizionare dei div!
-
Dove lo inseriscoooo???
-
L'ho inserito nel body.
Prova a vedere se ho risolto:body { line-height: 135%; font-family: Trebuchet MS, Verdana, Arial, Helvetica, sans-serif; font-size: 10pt; font-style: normal; font-weight: bold; letter-spacing: normal; padding: 0; margin: auto; background-color: #333; }
-
No, è come prima.
-
che faccio?
-
Meglio se posti tutto il CSS!
-
eccolo
/* CSS Document */ html { height : 100%; } body { line-height: 135%; font-family: Trebuchet MS, Verdana, Arial, Helvetica, sans-serif; font-size: 10pt; font-style: normal; font-weight: bold; letter-spacing: normal; padding: 0; margin: auto; background-color: #333; } /* Body Print */ body.contentpane { color : black; background : #282828; } /* Layout */ #wrapper { display : block; width: 100%; margin: 0; padding: 0; float: left; } #wrap { display : block; width: 980px; margin: 50px auto 0 auto; } #top_menu { with: auto; float : left; height : 40px; padding : 0; margin : 0; overflow : visible; display: block; background-color:; left: 0px; right: 0px; top: 100px; border-bottom: 1px solid #101010; border-top: 1px solid #4c4c4c; z-index: 99999; } #top_menu_inner { padding: 9px; margin: 0px; height : 0px; display: block; width: auto; overflow : visible; } #spacer_top { width : 100%; height : 30px; float: left; padding : 0; margin : 0; background-color:; top: 0px; left: 0px; right: 0px; z-index: 99999; font-size: 14px; font-weight: bold; } #fontsize { font-family: Trebuchet MS; height: 20px; font-size: 9pt; float: left; padding: 0; margin: 0; padding: 5px 0 0 8px; } a, a:link, a:visited { color:#ffffff; } a:hover { color:#C60; } #fontsize_inner { margin: 0; padding: 10px 0 0 30px; } #syndicate { width: auto; float: left; padding: 12px 0 0 20px; margin: 0 0 1px 0; font-size: 9pt; } #menu-moo { font-family: Trebuchet MS; overflow : visible; width: auto; float: left; height: 25px; margin: 0; padding: 0px 0 0 7px; } #condividi { font-family: Trebuchet MS; height: 20px; font-size: 9pt; float: left; padding: 0; margin: 0; padding: 4px 0 0 1px; } #user13 { height: 24px; float: right; margin: 0; padding: 0; } #pagetitle { float: left; width: 980px; height: 1px; margin: 0 0 0px 0; display: block; } .pagetitle { font-family: Georgia, "Times New Roman", Times, serif; font-size: 48px; line-height: 10px; font-style: italic; font-weight: bold; letter-spacing: normal; margin: 0; padding: 0 0 0 10px; width: auto; } .sec_pagetitle { font-family: Georgia, "Times New Roman", Times, serif; font-size: 48px; line-height: 10px; font-style: italic; font-weight: bold; letter-spacing: normal; color:#282828; text-shadow: -1px -1px 0px, 1px 1px 0px #505050; float: right; padding: 0; } #search_modul { float: right; width: auto; margin: 5px 0 0 0; padding: 0; } #header { width: 980px; height: auto; padding : 0; margin : 0 0 30px 0; display: block; float: left; } #content_outer { width : 980px; padding : 0; float: left; margin: 0 0 40px 0; display: block; } #content_inner { width : 980px; padding : 0; margin: 0; display: block; float: left; } .content_float { width: 980px; display: block; height: auto; float: left; } .content_small { width: 550px; float: left; } .content_med { width: 730px; float: left; } .content_large { width: 980px; float: left; } #main_content { float : none; padding : 10px; margin : 10px; } #breadcrumbs { float: left; width: 950px; height: 40px; padding: 0 0 0 22px; margin: 10px 0 5px 0; } .breadcrumbs { font-size: 12px; height: 40px; line-height: 40px; } .pathway { height : 20px; line-height : 20px; font-size: 12px; } #left_outer { float : left; width : 220px; margin: 5px 0 0 15px; padding: 0px; } .left_inner { float : none; padding : 0px; margin: 0; font-size: 12px; } .left_inner_float { width : 210px; margin: 5px; } #right_outer { float : left; width : 175px; margin: 0; padding: 0px; } .right_inner { float : none; padding : 0; margin: 0; font-size: 12px; } .right_inner_float { width : 170px; margin: 5px; } #top_container { height : auto; width : 980px; font-size : 90%; margin: 0; color: #eee; float: left; background-color:; } #top_newsflash { height : auto; width : 980px; margin: 0; float: left; padding: 0; } #top_newsflash_inner { padding: 10px; margin: 20px auto; display: block; width: 900px; border-top: 1px solid; border-left: 1px solid; border-right: 1px solid; border-bottom: 1px solid; background-color:; } #top_module_container { padding: 0; display: block; width: 980px; margin: 0; float: left; background-image: url(../images/top_spacer.gif); background-repeat: no-repeat; background-position: top center; } #top_module_container_inner { width: 920px; display: block; margin: 0 auto; } #top_module { padding: 0; margin: 0 0 20px 0; display: block; float: left; font-size: 90%; width: 980px; } #top_module_inner { width: 940px; display: block; margin: 0 auto; } #user3 { width: auto; float: right; height: 30px; margin: 10px 0 0 0; } #user5 { padding: 0; margin: 0; position: fixed; top: 180px; right: 0px; float: right; z-index: 999999; } #user5_inner { display: block; width: auto; height: auto; margin: 0; padding: 10px 20px; color: #CCCCCC; background-color: #333333; border-top: 1px solid #5c5c5c; border-left: 1px solid; border-bottom: 1px solid #1c1c1c; border-right: none; font-size: 12px; } .user5_modul { padding: 0; margin: 0; } #network { font-family: Trebuchet MS; height: 20px; font-size: 9pt; float: right; padding: 0; margin: 0; padding: 5px 0 0 10px; } #panel_buttons { height: 30px; float: right; margin: 0; padding: 0; } .panel_buttons { float: left; padding: 5px 8px 0 0; } #bottom_nav { width: 100%; height: 70px; float: left; background-color:; margin: 0; border-top: 1px solid; padding: 0; } #bottom_nav_inner { width: 975px; height: 60px; padding : 0; margin : 10px auto 0 auto; background-image: url(../images/footer_spacer.gif); background-repeat: no-repeat; background-position: bottom center; } #bottom_module { padding: 0; margin: 0; display: block; float: left; font-size: 90%; width: 980px; } #bottom_module_inner { width: 940px; display: block; margin: 0 auto; } #footer { width : 100%; margin: 0; float: left; background-color:; padding: 0; } #footer_module { padding: 0; margin: 20px auto 0 auto; display: block; font-size: 90%; width: 980px; color: #bbb; } #footer_module_inner { width: 980px; display: block; margin: 0; padding: 0; } #copy { text-align: center; color:#ffffff; height: 30px; font-size: 9pt; width: 100%; float: left; margin: 0; padding: 15px 0 0 0; } a, a:link, a:visited { color:#ffffff; } a:hover { color:#C60; } /* BackToTop Container */ #back-to-top,.visible { display: none; } { position: fixed; bottom: 30px; right: 20px; cursor: pointer; z-index: 99999; font-size: 30px; font-weight: bolder; }.visible { display: inline; } #gototop { } #gotop { } /* USERS Top Container */ #users_top_container { margin: 0; padding: 0; } .moduletable { margin: 20px 0; padding: 10px 15px; border-top: 1px solid; border-left: 1px solid; border-right: 1px solid; border-bottom: 1px solid; background-color:; } .users_top_container, .users_med_top_container, .users_big_top_container { overflow: hidden; float: left; margin-left: 1%; } .users_med_top_container { width: 32.6%; } .users_big_top_container { width: 49.5%; } div:first-child.users_med_top_container, div:first-child.users_big_top_container { margin-left: 0; } /* USERS Top Content */ #users_top { margin: 0; padding: 0; } .moduletable { margin: 0; padding: 10px 15px; } .users_top, .users_med_top, .users_big_top { overflow: hidden; float: left; margin-left: 1%; } .users_med_top { width: 32.6%; } .users_big_top { width: 49.5%; } div:first-child.users_med_top, div:first-child.users_big_top { margin-left: 0; } /* USERS Bottom Container */ #users_bottom { margin: 0; padding: 0; } .moduletable { margin: 0 0 20px 0; padding: 10px 15px; } .users_bottom, .users_med_bottom, .users_big_bottom { overflow: hidden; float: left; margin-left: 1%; } .users_med_bottom { width: 32.6%; } .users_big_bottom { width: 49.5%; } div:first-child.users_med_bottom, div:first-child.users_big_bottom { margin-left: 0; } /* USERS Footer */ #users_footer { margin: 0; padding: 0; } .moduletable { margin: 0 0 20px 0; padding: 10px 15px; border-top: 1px solid; border-left: 1px solid; border-right: 1px solid; border-bottom: 1px solid; background-color:; } .users_footer, .users_med_footer, .users_big_footer { overflow: hidden; float: left; margin-left: 1%; } .users_med_footer { width: 32.6%; } .users_big_footer { width: 49.5%; } div:first-child.users_med_footer, div:first-child.users_big_footer { margin-left: 0; } /* Moduletable h3 */ .moduletable_text h3, .module_text h3, div.moduletable h3 { background-image: url(../images/h3_info.gif); background-repeat: no-repeat; color:#ddd; background-color:; border-top: 1px solid; border-left: 1px solid; border-right: 1px solid; border-bottom: 1px solid; text-align : left; font-weight: bold; height : 30px; line-height : 30px; font-size : 12pt; padding-left : 10px; margin: 2px 0; } .moduletable_text h3, .module_text h3, div.moduletable h3 { text-align : left; font-weight: bold; height : 30px; line-height : 30px; font-size : 14px; padding-left : 10px; margin: 2px 0; } .moduletable, .moduletable_text, div.moduletable { margin: 10px 0 0 0; padding: 10px 8px; } div.moduletable { margin-bottom: 20px; padding : 0; } /* Module h3 Neu */ .module_neu h3, .moduletable_neu h3, .moduletable_text_neu h3, .module_text_neu h3 { margin: 0 0 10px 0; padding-left: 10px; text-align : left; font-weight: bold; height : 30px; line-height : 30px; font-size : 14px; } /* Module h3 */ div.module h3 { margin: 0 0 10px 0; padding-left: 10px; text-align : left; font-weight: bold; height : 30px; line-height : 30px; font-size : 14px; } /* Module */ div.module { margin: 0; padding: 0; margin-bottom: 15px; width: auto; } div.module div div div { padding: 10px 8px; width: auto; } /* Module Menu h3 */ div.module_menu h3 { margin: 0 0 2px 0; padding-left: 10px; text-align : left; font-weight: bold; height : 30px; line-height : 30px; font-size : 13px; } /* Module Menu */ div.module_menu { margin: 0; padding: 0; margin-bottom: 15px; width: auto; } div.module_menu div div div { padding: 10px 8px; width: auto; } /* Menu */ /* Level 1 */ div.module_menu ul.menu { margin: 0 0 2px 0; padding : 0; list-style : none; background : none; width: auto; } div.module_menu ul.menu li { margin : 0; padding : 0; list-style : none; background : none; } div.module_menu ul.menu li a { display : block; vertical-align : middle; font-size : 11px; font-weight: normal; text-align : left; height : 30px; line-height: 30px; padding-left : 30px; text-decoration : none; margin : 0; } div.module_menu ul.menu li a span { background : none; } div.module_menu ul.menu li a:hover { text-align : left; text-decoration : none; } div.module_menu ul.menu li.active a { text-decoration : none; text-align : left; } div.module_menu ul.menu li.active a:hover { text-decoration: none; text-align: left; } div.module_menu ul.menu li.active a span { background : none; } /* Level 2 */ div.module_menu ul.menu li ul { margin : 0; padding : 0; list-style : none; } div.module_menu ul.menu li li { margin : 0; padding : 0; list-style : none; background : none; } div.module_menu ul.menu li li a { list-style : none; vertical-align : middle; font-size : 10px; text-align : left; text-decoration : none; height : auto; line-height: 24px; padding-left : 30px; margin : 0; background-image: url(../images/user_sublevel_li.gif); background-repeat: no-repeat; background-position: 10px center; } div.module_menu ul.menu li li a:hover { text-decoration : none; text-align : left; } div.module_menu ul.menu li li.active a { text-decoration : none; text-align : left; } div.module_menu ul.menu li li.active a:hover { text-decoration : none; text-align : left; } div.module_menu ul.menu li li a span { list-style : none; background : none; } /* USER3 Menu */ ul#mainlevel-nav { list-style : none; padding : 0; margin : 0; } ul#mainlevel-nav li { display: block; height : 24px; line-height : 24px; float : left; margin : 0; padding : 0; background: none; } ul#mainlevel-nav li a { text-align : center; display : block; float: left; white-space : nowrap; margin: 0 0 0 5px; padding : 2px 12px 3px 12px; text-decoration : none; font-size : 11px; font-weight : normal; color :; border-top: 1px solid; border-left: 1px solid; border-right: 1px solid; border-bottom: 1px solid; background-color:; } ul#mainlevel-nav li a:hover { color :; border-top: 1px solid; border-left: 1px solid; border-right: 1px solid; border-bottom: 1px solid; background-color: #383838; } ul#mainlevel-nav li a#active_menu-nav { float : left; white-space : nowrap; font-size : 11px; font-weight : normal; text-align : center; display : block; color :; border-top: 1px solid; border-left: 1px solid; border-right: 1px solid; border-bottom: 1px solid; background-color:; } ul#mainlevel-nav li a#active_menu-nav:hover { margin: 0 0 0 5px; padding : 2px 12px 3px 12px; text-decoration : none; color :; border-top: 1px solid; border-left: 1px solid; border-right: 1px solid; border-bottom: 1px solid; background-color:; } /* Tables */ td { margin : 0px; padding : 0px; border-spacing: 0px; } .contentpaneopen { width : auto; } .contentpaneopen_edit { float: right; width: 100%; } .contentpane { width : auto; padding : 0; margin : 0; height: 300px; } table.contentpane { width : auto; padding : 0; margin : 0; } table.contentpaneopen { width : auto; padding : 0; margin : 0; } table.searchinto { width : 100%; } table.contenttoc { font-size : 11px; padding : 5px; margin-left : 10px; margin-bottom : 10px; float : right; } .toclink { padding: 5px; } table.contenttoc td { font-size : 11px; padding : 2px; margin : 2px; } table.contenttoc th { font-size : 12px; font-weight : normal; text-align : left; padding : 5px 10px; margin : 5px; } /* Blog */ .blog { width : 100%; } table.blog { width : 100%; } .blog_more { margin : 10px 5px 20px 5px; float: left; } .blog_more h2 { margin : 2px; display : block; font-size : 14px; font-weight : bold; } .blog_more ul { margin : 5px; padding : 0; } .blog_more ul li { text-align : left; padding-left : 25px; background-image : url(../images/li.gif); background-repeat : no-repeat; background-position : 1px 4px; } /* Article */ .article-content { display: block; width: 100%; float: left; } .article-tools { width: 100%; float: left; clear: both; display: block; margin: 0 0 10px 0; padding: 0; } .article-tools-frontpage { display: block; margin: 0; padding: 0; float: none; } .article-head { display: block; width: 100%; margin: 0; float: left; } .article-tools a, .article-tools-frontpage a { font-size: 13px; } .article-tools a:hover, .article-tools-frontpage a:hover { font-size: 13px; } .article-meta { padding: 0; margin: 0; width: 100%; float: left; } .article-meta-frontpage { padding: 0; margin: 0; } .article_separator { clear : both; display : block; height : 2px; margin: 5px 0 30px 0; } .article_seperator_right { float: right; display : block; height : 2px; margin: 0 0 30px 0; padding: 0 20px 0 0; } /* CONTENT'S GRIDS */ .article_column { float: left; position: relative; } .cols1 .article_column { width: 100%; } .cols2 .article_column { width: 50%; } .cols3 .article_column { width: 33.33%; } .cols4 .article_column { width: 25%; } .cols5 .article_column { width: 20%; } .article_column .contentpaneopen { /* for article columns, we only need to add margin or padding to this div */ padding-left: 15px; padding-right: 15px; } /* Layout Deco */ .leading { } .article_row { /* minus the spacing of the article row to match with the Gutter & global grid */ margin-left: -10px; margin-right: -10px; } /* Clearfix */ * html .clearfix { height: 1%; /* IE5-6 */ } html[xmlns] .clearfix { /* O */ display: block; } .clearfix:after { /* FF, O, etc. */ content: "."; display: block; height: 0; clear: both; visibility: hidden; } /* Inputbox */ .inputbox { padding : 3px; margin : 2px; } .inputbox { font-size : 11px; padding : 4px 5px; margin : 0 5px; color:; border-top: 1px solid; border-left: 1px solid; border-right: 1px solid; border-bottom: 1px solid; background-color:; } .inputbox:hover { border-top: 1px solid; border-left: 1px solid; border-right: 1px solid; border-bottom: 1px solid; background-color:; color :; } /* Button */ .button, .validate { text-align : center; font-size : 11px; font-weight: normal; cursor: pointer; padding : 2px 3px; margin : 5px 2px 3px 0px; } .button, .validate { padding : 2px 3px; margin : 0 0 0 5px; } .button { text-align : center; font-size : 10px; font-weight: normal; padding : 2px 3px; margin : 2px; color:; border-top: 1px solid; border-left: 1px solid; border-right: 1px solid; border-bottom: 1px solid; background-color:; } .button:hover { border-top: 1px solid; border-left: 1px solid; border-right: 1px solid; border-bottom: 1px solid; background-color:; color :; } .back_button { text-align : center; font-size : 11px; font-weight: bold; cursor: pointer; padding : 2px 3px; margin : 5px 2px 3px 0px; } /* Pagination */ ul.pagination { margin: 0 0 10px 0; padding: 5px 0; font-size: 11px; height: 24px; float: left; text-align: center; width: 100%; } ul.pagination li { margin: 0; padding: 0; display: inline; background: none; } ul.pagination li span { padding: 2px 5px; } ul.pagination a { padding: 2px 5px; } ul.pagination a:hover, ul.pagination a:active, ul.pagination a:focus { text-decoration: none; } .sortby { margin: 10px 0 5px; } .sortby .filter, .sortby .display { float: left; width: 40%; } .sortby .display { float: right; text-align: right; } .counter { float: left; margin: 0 0 10px 0 !important; text-align: center; width: 100%; } .counter span { padding: 5px; font-size: 12px; } .pagenavbar { padding-left: 10px; font-size: 12px; } .pagenavcounter { padding: 5px; font-size: 12px; } .pagenav_prev { font-size: 11px; font-weight: normal; } .pagenav_next { font-size: 11px; font-weight: normal; } /* Readon */ .readmore { float: left; margin: 5px 5px 5px 0; padding: 2px; } .readmore a.readon { font-weight: normal; } .readon { font-size : 11px; font-weight: normal; padding: 3px 8px; } /* Banner */ .bannerheader { font-size : 13px; font-weight : bold; padding : 2px 5px; } .banneritem { padding : 0; } .banneritem_text { padding : 0 10px; } .bannerfooter_text { padding : 2px 5px; font-size : 12px; font-weight : bold; } /* Form */ #form-login .input { padding : 2px; margin : 2px; background : none; border : none; font-size : 11px; } form { margin : 0; padding : 0; border : none; } { border : none; margin: 0; padding: 0; }-username { border : none; margin: 0; padding: 5px 0; }-password { border : none; margin: 0; padding: 5px 0; }-username { border : none; margin: 0; padding: 5px 0; }-remember { border : none; margin: 0; padding: 5px 0; } ul { padding : 0; margin : 0; list-style : none; } li { padding : 2px; margin : 0; background : none; list-style : none; } li a { font-size : 11px; } li a:hover { font-size : 11px; } /* Newsfeed */ .newsfeed { margin : 2px 0 !important; padding : 0 !important; } .feed_link { margin : -10px 0 5px 0 !important; padding : 0 !important; font-size: 14px; font-weight: bold; } .feed_title { margin : 0 0 5px 0 !important; padding : 0 !important; font-size: 14px; font-weight: bold; } .feed_description { margin : 0 !important; padding : 0 !important; } .newsfeed ul { margin : 2px 0 !important; padding : 0 !important; } .newsfeed li { text-align : left; list-style: none; padding : 0; margin: 0; background-image : none; } div.newsfeed_item { margin : 4px 0; padding : 0 5px !important; } /* Section */ .sectiontableheader { text-align : left; height: 35px; margin : 0; padding : 0 5px; } .sectiontableheader img { vertical-align : baseline; margin: 0px 5px 0px 5px; } .sectiontableheader a, .sectiontableheader a:link, .sectiontableheader a:visited { padding-left : 5px; } .sectiontablefooter { padding : 5px; margin : 0; text-align : left; } .sectiontableentry1 { text-align : left; } .sectiontableentry2 { text-align : left; } .sectiontableentry0 { text-align : left; } .sectiontableentry1 td { padding : 5px; margin : 2px; } .sectiontableentry2 td { padding : 5px; margin : 2px; } .sectiontableentry0 td { padding : 5px; margin : 2px; } table.poll { padding : 0; width : 100%; border-collapse : collapse; } table.pollstableborder { padding : 0; width : 100%; border : none; text-align : left; } table.pollstableborder img { vertical-align : baseline; padding-left : 10px; } table.pollstableborder td { padding : 5px; border-collapse : collapse; border-spacing: 0px; } table.pollstableborder tr.sectiontableentry1 td { margin : 5px; padding : 5px; text-align : left; } table.pollstableborder tr.sectiontableentry2 td { margin : 5px; padding : 5px; text-align : left; } table.pollstableborder tr.sectiontableentry0 td { margin : 5px; padding : 5px; text-align : left; } /* Most Latest */ /* Content Inner Most Latest */ ul.mostread, ul.latestnews, ul.users_med, ul.users_big, ul.users { margin : 0; padding : 0; } .mostread li, .latestnews li, .users_med li, .users_big li, .users li { list-style : none; text-align : left; padding: 5px 25px; margin: 2px 0; } .mostread li a, .latestnews li a, .users_med li a, .users_big li a, .users li a { padding-left : 5px; font-size: 9pt; } /* Standard Top & Footer Most Latest */ ul.mostread, ul.latestnews, ul.users_med, ul.users_big, ul.users, ul.mostread, ul.latestnews, ul.users_med, ul.users_big, ul.users { margin : 0; padding : 0; } .mostread li, .latestnews li, .users_med li, .users_big li, .users li, .mostread li, .latestnews li, .users_med li, .users_big li, .users li { background-image: url(../images/user_li.gif); background-repeat: no-repeat; background-position : 10px center; border-top: 1px solid; border-left: 1px solid; border-right: 1px solid; border-bottom: 1px solid; background-color:; list-style : none; text-align : left; padding: 5px 25px; margin: 2px 0; } .mostread li:hover, .latestnews li:hover, .users_med li:hover, .users_big li:hover, .users li:hover, .mostread li:hover, .latestnews li:hover, .users_med li:hover, .users_big li:hover, .users li:hover { background-image: url(../images/user_li_hover.gif); background-repeat: no-repeat; background-position : 10px center; border-top: 1px solid; border-left: 1px solid; border-right: 1px solid; border-bottom: 1px solid; background-color:; } .mostread li a, .latestnews li a, .users_med li a, .users_big li a, .users li a, .mostread li a, .latestnews li a, .users_med li a, .users_big li a, .users li a { color:; padding-left : 5px; font-size: 90%; } .mostread li a:hover, .latestnews li a:hover, .users_med li a:hover, .users_big li a:hover, .users li a:hover, .mostread li a:hover, .latestnews li a:hover, .users_med li a:hover, .users_big li a:hover, .users li a:hover { color:; } /* Headings */ .componentheading, h1 .componentheading { font-size : 20px; font-weight : bold; line-height: 28px; padding : 0 0 10px 0; margin : 0; width: 100%; } .contentheading, h2 .contentheading, .contentpagetitle, h2 .contentpagetitle { font-size : 13pt; font-weight : bold; line-height: 28px; padding : 2px 0 0 0; margin : 0; width: 100%; } h1 { font-size : 20px; line-height : 26px; font-weight : bold; } h2 { font-size : 18px; line-height : 22px; font-weight : bold; float: none; } h3 { font-size : 16px; line-height : 20px; font-weight : bold; } h4 { font-size : 15px; line-height : 18px; font-weight : bold; } h5 { font-size : 14px; line-height : 16px; font-weight : bold; } h6 { font-size : 12px; line-height : 14px; font-weight : bold; } /* General */ .clr { clear : both; } ul, ol, li { margin : 0; padding : 0; } ul, ol { margin : 10px 0; padding-left : 10px; } ol li { list-style-type : decimal; line-height : 14px; } ul { margin : 5px; padding : 2px; list-style : none; } li { text-align : left; padding-left : 25px; background-image : url(../images/li.gif); background-repeat : no-repeat; background-position : 2px 5px; list-style-type : none; } #blockrandom.wrapper { margin: 10px 0; padding: 0; } #component-contact { margin-top : 10px; } .contact_email { padding : 5px; margin : 5px; } .content_vote { font-size: 12px; float: left; } .content_rating { font-size: 12px; float: left; width: 80%; } .content_rating img { margin: 1px 2px 1px 2px; } img { border : none; } div.mosimage { border : 2px solid #cdcdcd; background-color : #fff; } .mosimage { margin : 0; background-color : #f3f3f3; } .mosimage_caption { margin-top : 0; background-color :; padding : 0; color : #888; font-size : 10px; } .error { font-style: normal; text-transform : uppercase; padding : 5px; font-size : 14px; font-weight : bold; } div.message { font-weight : bold; font-size : 14px; text-align : center; width : auto; margin : 3px 0 10px; padding : 3px 20px; } .small { font-size : 11px; } .create_date { float: left; width: 66px; height: 60px; margin-right: 10px; padding-bottom: 6px; text-align: center; } .month { font-size : 10px; line-height: 12px; } .year { font-size : 9px; line-height: 12px; } .written_by { font-size : 11px; } .modifydate { font-size : 11px; padding: 0 5px; margin: 10px 0; float: right; clear: both; } div.buttonheadings { float: right; width: auto; padding: 0; margin: 10px 0 0 0; } .buttonheadings span { width: 16px; height: 16px; padding: 0; margin: 3px; } .section_link { font-size : 14px; line-height: 18px; } .code { background-color: #e8e8e8; border-top: 1px solid; border-left: 1px solid; border-right: 1px solid #ffffff; border-bottom: 1px solid; } fieldset { margin : 10px; padding : 10px; background-color:; border-top: 1px solid; border-left: 1px solid; border-right: 1px solid; border-bottom: 1px solid; } /* Tips */ .hasTip { color : #666; border : none; float: right; } .tool-tip, .tipper-tip { color: #efefef; width: 200px; z-index: 13000; } .tool-title, .tipper-title { font-weight: bold; font-size: 13px; line-height: 11px; margin: 0; padding: 40px 25px 5px 35px; background: url(../images/bubble.png) top left; } .tool-text, .tipper-text { font-size: 11px; padding: 5px 25px 40px 35px; background: url(../images/bubble.png) bottom right; } .tipper { font-weight: bold; padding: 0; margin: 0; } /* System */ table.paramlist { margin-top : 5px; } table.paramlist td.paramlist_key { width : 128px; text-align : left; height : 30px; } #system-message { margin : 0; padding: 0; } dd.message ul li, dd.error ul li, dd.notice ul li { background: none; line-height : 24px; margin : 5px; padding: 0; font-size : 16px; font-weight : bold; list-style-image : none; }
-
Nel wrapper su margin metti 0 auto; anziché 0;
-
Com'è?