|
Centering banner
|
|
Topic Started: Mar 17 2014, 03:53 AM (540 Views)
|
|
sprankton
|
Mar 17 2014, 03:53 AM
Post #1
|
- Posts:
- 18
- Group:
- Members
- Member
- #614,676
- Joined:
- March 17, 2014
- I'm Browsing With
- Firefox
|
Board - http://s13.zetaboards.com/HaxSB/index/
Currently cannot get the bannerlogo to center. I've tried quite a few different codes. Here's the current {failed} setup
Theme Settings: <div id="bannerimages"><a href="http://s13.zetaboards.com/HaxSB/index/"><img src="http://i.imgur.com/pLkAV0B.jpg" / alt='Home' border='0' /></div>
CSS: #bannerimages { text-align: center; }
Help would be greatly appreciated
|
|
|
| |
|
Kankuro
|
Mar 17 2014, 04:44 AM
Post #2
|
- Posts:
- 1,092
- Group:
- Members
- Member
- #608,916
- Joined:
- May 25, 2013
- I'm Browsing With
- Chrome
- My Board URL
- http://gamesandanime.net/index/
- Latest Design
- http://if.invisionfree.com/topic/5195959/
|
- sprankton
- Mar 17 2014, 03:53 AM
Board - http://s13.zetaboards.com/HaxSB/index/Currently cannot get the bannerlogo to center. I've tried quite a few different codes. Here's the current {failed} setup Theme Settings:<div id="bannerimages"><a href="http://s13.zetaboards.com/HaxSB/index/"><img src="http://i.imgur.com/pLkAV0B.jpg" / alt='Home' border='0' /></div> CSS:#bannerimages { text-align: center; } Help would be greatly appreciated
This should work just fine (but not with ALL browsers)
- Code:
-
<center> <img src="http://i.imgur.com/pLkAV0B.jpg" alt=Home border" /> </center>
Or if you want to use CSS
- Code: CSS
-
<style type="text/css"> .bannerimages { text-align:center; margin-top:0px; margin-bottom:0px; padding:0px; } </style>
- Code: Settings
-
<div id="bannerimages"><a href="http://s13.zetaboards.com/HaxSB/index/"><img src="http://i.imgur.com/pLkAV0B.jpg" alt="Home border"></div>
Edited by Kankuro, Mar 17 2014, 04:55 AM.
|
|
|
| |
|
sprankton
|
Mar 17 2014, 12:44 PM
Post #3
|
- Posts:
- 18
- Group:
- Members
- Member
- #614,676
- Joined:
- March 17, 2014
- I'm Browsing With
- Firefox
|
No luck on either one. There must be something else in the CSS that is throwing it off but I'm not sure what
Here is the full CSS:
- Code:
-
html,body { background: #666666 url() repeat-x; color:#5c5c5c; font-family: "Tahoma", "Bitstream Vera Sans", "Verdana", sans-serif; font-size: 13px; margin: 0; padding:0; height: 100%; }
#bannerimages { text-align: center; }
a { color:#80221a; text-decoration:none; }
a:hover { color:#434343; text-decoration:none; }
hr { background-color:#eeeeee; border:0; clear:both; height:1px; }
table { border-collapse:collapse; border-spacing:0; clear:both; empty-cells:show; width:100%; }
th,td { border:1px solid #cccccc; }
th { background:url(http://z3.ifrm.com/291/21/0/p131150/Th.jpg) repeat-x top #eeeeee; padding:3px 5px; text-align:left; }
.tableclass td { background:#eeeeee url(http://z3.ifrm.com/291/21/0/p131137/Rl.jpg) repeat-x; }
td { background: #eeeeee; color:#5c5c5c; padding:5px 10px; }
.hello td { padding: 2px; }
td.c_nosig { background:#eeeeee; }
h1 { }
h2,h3 { font-size: 14px; }
h2 img { display: none; }
.category h2,.topic h2,#portal h2,#portal_foot h2,thead th { background:url(http://z3.ifrm.com/291/21/0/p131135/Hover.jpg) repeat-x top #8e271d; color:#ffffff; font-size: 14px; font-weight:700; border-color:#8e271d; } h2 a, h2 a:hover { color: #ffffff; font-size: 14px; }
thead th { border-bottom: 1px solid #cccccc; } thead th a, thead th a:hover { color: #ffffff; }
h2.special { background:url(http://z3.ifrm.com/291/21/0/p131135/Hover.jpg) repeat-x top #8e271d; color: #ffffff; border-color:#8e271d; } h2.special a, h2.special a:hover { color: #ffffff; }
div.topic h2.special { border: 1px solid #8e271d; margin-left: -1px; margin-right: 0; }
.cat_head td { border-color:#8e271d; border-bottom: 0px; padding:0; }
input,select,textarea,button,a.btn_fake { background:#ffffff url(http://z3.ifrm.com/291/21/0/p131342/Input.jpg) repeat-x; border:1px solid #cccccc; color:#5c5c5c; padding:3px 5px; vertical-align:middle; font-size: 11px; }
textarea { font-family:"Tahoma", sans-serif; margin:auto; width:98%; background:#ffffff url(http://z3.ifrm.com/291/21/0/p131342/Input.jpg) repeat-x; font-size: 12px; }
.submit_error { background:#e8e8e8 url(http://z3.ifrm.com/291/21/0/p131138/Rd.jpg) repeat-x; border:1px solid #cccccc; }
#c_bbcode button { padding: 1px 3px; margin-bottom: 2px; } #c_bbcode select { padding: 1px 3px; margin-bottom: 2px; }
button,a.btn_fake { background:url(http://z3.ifrm.com/291/21/0/p131150/Th.jpg) repeat-x top #eeeeee; cursor:default; font-family:Verdana, Tahoma, sans-serif; overflow:visible; width:auto; font-size: 11px; }
#c_notes button { margin-top: 5px; }
button:hover,a.btn_fake:hover { background:url(http://z3.ifrm.com/291/21/0/p131135/Hover.jpg) repeat-x top #8e271d; color:#ffffff; border-color:#8e271d; }
button.btn_text { background:none; border:0; cursor:pointer; font-family:Tahoma, "Bitstream Vera Sans", Verdana, sans-serif; }
.notice { background:#e8e8e8 url(http://z3.ifrm.com/291/21/0/p131138/Rd.jpg) repeat-x; border:1px solid #cccccc; color:#5c5c5c; margin:10px auto 10px; width:70%; }
.notice dt { color:#5c5c5c; font-weight:700; }
.notice dd { font-style:italic; }
dl.info { background:#e8e8e8 url(http://z3.ifrm.com/291/21/0/p131138/Rd.jpg) repeat-x; border-color:#cccccc; }
.info dt { background:#e8e8e8 url(http://z3.ifrm.com/291/21/0/p131138/Rd.jpg) repeat-x; color:#5c5c5c; }
dl.error { background:#e8e8e8 url(http://z3.ifrm.com/291/21/0/p131138/Rd.jpg) repeat-x; border-color:#cccccc; }
.error dt { background:#e8e8e8 url(http://z3.ifrm.com/291/21/0/p131138/Rd.jpg) repeat-x; color:#5c5c5c; }
#top ul,#nav,ul.cat-pages,ul.cat-topicpages,table.calendar ul,div.meta_menu ul,#pm_folderlist { list-style:none; padding:0; }
ul.cat-topicpages,blockquote dl,#fast-reply dd, table.calendar ul { margin:0; }
#top li,#nav li,ul.cat-pages li,ul.cat-topicpages li,table.calendar li,#profile_menuwrap li,#pm_folderlist li,#ucp_gallery li { display:inline; }
#top_bar { display:none; }
#top { color: #b3b3b3; padding: 0 20px 0 10px; }
#top_info { float:left; margin-top: 2px; }
#top_menu { float:right; margin: 0; }
#top_menu a, #top_info a, #top_info a { color: #bfbfbf; }
.drop_menu li { float:left; text-align:center; padding: 0 10px 0 0; }
.drop_menu a { font-weight: bold; display:block; padding:4px 5px 3px 5px; position:relative; width: 100px; }
#top img { display:none; }
.drop_menu a:hover { border-bottom: none; }
.drop_menu ul { background: url(http://z3.ifrm.com/291/21/0/p131314/Dropmenu.png) bottom center no-repeat; border-top: none; left:-999em; margin: 0; position:absolute; width: 139px; padding-top: 5px!important; padding-bottom: 17px!important; margin-left: -10px!important; }
.drop_menu ul li { margin:0; width:100%; }
#top .drop_menu ul li a { width: 138px; padding: 2px 0 3px 0; margin: 0 1px 1px 1px; background: transparent; color: #bfbfbf; }
#top .drop_menu li ul li a:hover { width: 138px; padding: 2px 0 3px 0; margin: 0 1px 1px 1px; border: none; background: url(http://z3.ifrm.com/291/21/0/p131315/Drophover.png) bottom center no-repeat; color: #333333; }
*:first-child+html #logo { margin-top: -1px; }
#submenu_bar { display: none; }
#submenu { background:url(http://z3.ifrm.com/291/21/0/p131150/Th.jpg) repeat-x top #eeeeee; padding: 3px 5px; border: 1px solid #cccccc; font-size:12px; text-align: center; }
#submenu a:link, #submenu a:active, #submenu a:visited { margin: 0 2px; padding: 4px 6px; font-weight: bold; } #submenu a:hover { background: #8e271d url(http://z3.ifrm.com/291/21/0/p131135/Hover.jpg) repeat-x top; border:1px solid #8e271d; padding: 3px 5px; font-weight: bold; color: #ffffff; }
#nav { padding: 2px 5px; border: 1px solid #cccccc; background:#dcdcdc url(http://z3.ifrm.com/291/21/0/p131151/Foots.jpg) repeat-x; }
.meta_box { background: #d2eaec; border:1px solid #cccccc; line-height:150%; padding:10px 25px; }
.meta_menu { background:#eeeeee; border:1px solid #cccccc; padding:0; width:49%; }
.meta_menu h3 { background:#dcdcdc url(http://z3.ifrm.com/291/21/0/p131151/Foots.jpg) repeat-x; border:1px solid #cccccc; clear:both; color:#5c5c5c; font-weight:700; margin:-1px; text-align:center; }
ul.cat-pages { float:left; margin:15px 0; padding: 5px 1px; width:49%; }
.cat-pages a,.cat-pagesjump i,.cat-topicpages a { background:#eeeeee url(http://z3.ifrm.com/291/21/0/p131137/Rl.jpg) repeat-x; border:1px solid #cccccc; color:#5c5c5c; }
.cat-pages a:hover,.cat-topicpages a:hover { background:url(http://z3.ifrm.com/291/21/0/p131150/Th.jpg) repeat-x top #eeeeee; color:#434343; border-color:#cccccc; }
.cat-pages span { background:url(http://z3.ifrm.com/291/21/0/p131135/Hover.jpg) repeat-x top #8e271d; color:#ffffff; border:1px solid #8e271d; cursor:default; font-weight:700; padding:2px 5px; }
.cat-pages input { background:#e8e8e8 url(http://z3.ifrm.com/291/21/0/p131138/Rd.jpg) repeat-x; color:#5c5c5c; padding:3px 5px; vertical-align:baseline; }
ul.cat-topicpages { float:right; padding:1px 0; }
tr.generic td,div.generic { font-weight:700; padding:20px; text-align:center; }
td.c_head,td.c_foot,td.c_sort,td.c_topicfoot { background:#dcdcdc url(http://z3.ifrm.com/291/21/0/p131151/Foots.jpg) repeat-x; color:#5c5c5c; }
tr.c_postfoot td { background:#dcdcdc url(http://z3.ifrm.com/291/21/0/p131151/Foots.jpg) repeat-x; color:#5c5c5c; }
.posts tbody .c_foot, .topic .c_foot { border-bottom: none; }
td.c_desc { background:#eeeeee url(http://z3.ifrm.com/291/21/0/p131137/Rl.jpg) repeat-x; font-weight:700; text-align:right; vertical-align:middle; width:200px; }
td.c_desc small { display:block; font-weight:400; }
tr.pm_new td { background:#eeeeee; font-weight:700; }
tr.hidden td.c_post { background:#eeeeee url(http://z3.ifrm.com/291/21/0/p131137/Rl.jpg) repeat-x; }
.bday { background:url(http://z3.ifrm.com/static/1/s_minibday.png) no-repeat; font-weight:700; height:16px; padding:2px 2px 2px 18px; width:20px; }
.c_mark { background:#e8e8e8 url(http://z3.ifrm.com/291/21/0/p131138/Rd.jpg) repeat-x!important; text-align:center; width:1%; padding: 7px 5px; }
.c_forum { width:60%; font-size: 11px; }
.c_forum div { padding-top: 5px; }
.c_forum strong a { font-size: 12px; background: url(http://z3.ifrm.com/291/21/0/p131142/Forumname.jpg) no-repeat bottom left; padding: 0 0 4px 5px; height: 14px; margin-right: 19px; }
.c_forum strong { font-size: 12px; background: url(http://z3.ifrm.com/291/21/0/p131144/Forumright.jpg) no-repeat bottom right; height: 14px; padding: 0 0 4px 0; }
.c_forum strong a:hover { background: url(http://z3.ifrm.com/291/21/0/p131143/Forumhover.jpg) no-repeat bottom left; padding: 0 0 4px 5px; height: 14px; }
.c_forum strong:hover { background: url(http://z3.ifrm.com/291/21/0/p131145/Forumrighthover.jpg) no-repeat bottom right; height: 14px; padding: 0 0 4px 0; }
td.c_last { background:#e8e8e8 url(http://z3.ifrm.com/291/21/0/p131138/Rd.jpg) repeat-x; }
.c_forum-desc { color:#5c5c5c; }
.c_last-title { background:url(http://z3.ifrm.com/291/21/0/p131317/C_last_title.png) no-repeat left; display:block; line-height:16px; padding-left:10px; }
td.c_info-v, td.c_info-t, td.c_info-r { text-align:center; font-size: 11px; padding: 3px 5px; background:url(http://z3.ifrm.com/291/21/0/p131150/Th.jpg) repeat-x top #eeeeee; }
td.c_subforum { background:#dcdcdc url(http://z3.ifrm.com/291/21/0/p131151/Foots.jpg) repeat-x; color:#80221a; font-size: 11px; padding: 3px 10px; }
.c_subforum strong { color: #5c5c5c; }
.description { color:#5c5c5c; }
td#stats_events a,td#stats_events span { background:url(http://z3.ifrm.com/176/152/0/p68172/Expand.png) no-repeat 2px; padding:1px 0 4px 14px; }
td#stats_legend { background:#e8e8e8 url(http://z3.ifrm.com/291/21/0/p131138/Rd.jpg) repeat-x; }
td.c_username { background:#e8e8e8 url(http://z3.ifrm.com/291/21/0/p131138/Rd.jpg) repeat-x; padding:1px 0; text-align:center; font-size: 12px; }
td.c_user { }
td.c_user dl { background:#e8e8e8 url(http://z3.ifrm.com/291/21/0/p131138/Rd.jpg) repeat-x; border:1px solid #cccccc; margin:10px 0; padding:5px 7px; width:160px; }
dl.user_profile { overflow:hidden; font-size: 11px; }
dl.user_profile dd { font-style:italic; margin-left:8px; }
dl.user_info dd { font-weight:700; margin-bottom:1px; }
td.c_poll-choice label { font-weight:700; padding-left:1em; }
table.poll { margin-bottom: 10px; }
td.c_poll-votes { text-align:center; width:15%; }
td.c_poll-bar div { background: #b33124 url(http://z3.ifrm.com/291/21/0/p139114/Pollb.jpg) right no-repeat; float:left; height:10px; }
td.c_poll-bar span { background: #b33124 url(http://z3.ifrm.com/291/21/0/p139115/Polll.jpg) left no-repeat; display:block; float:left; height:10px; width:1px; padding-right: 3px; }
.editby,.queued { border:1px dotted #cccccc; color:#5c5c5c; font-style:italic; margin-top:1em; padding:3px 5px; }
.queued { background:#e8e8e8 url(http://z3.ifrm.com/291/21/0/p131138/Rd.jpg) repeat-x; border-color:#5c5c5c; }
blockquote { font-size: 11px; background:#e8e8e8; border: 1px solid #cccccc; margin:10px auto; padding-bottom:1px; width:98%; }
blockquote dl { background:#dcdcdc url(http://z3.ifrm.com/291/21/0/p131151/Foots.jpg) repeat-x; border-bottom:1px solid #cccccc; font-size: 11px; }
blockquote dl dt { background:#ffffff url(http://z3.ifrm.com/291/21/0/p131342/Input.jpg) repeat-x; color:#80221a; float:left; font-weight:bold; border-right:1px solid #cccccc; border-bottom: 1px solid #cccccc; padding: 1px 3px 1px 3px; }
code { display:block; font-family:Monaco, Consolas, "Courier New", Courier, monospace; max-height:400px; overflow:auto; white-space:pre; }
div.spoiler { background: #e8e8e8 url(http://z3.ifrm.com/291/21/0/p131138/Rd.jpg) repeat-x; border:1px solid #cccccc; border-top:0; padding:5px 7px; }
div.spoiler_toggle { background:#dcdcdc url(http://z3.ifrm.com/291/21/0/p131151/Foots.jpg) repeat-x; border:1px solid #cccccc; color:#5c5c5c; cursor:pointer; font-weight:700; padding:2px 4px; }
td.c_postinfo { background:#e8e8e8 url(http://z3.ifrm.com/291/21/0/p131138/Rd.jpg) repeat-x; color:#5c5c5c; vertical-align:middle;
}
td.c_postinfo input {
vertical-align:middle; }
td.c_sig { color:#5c5c5c;
}
td.c_sig blockquote { background:none transparent; border:0; border-left:3px solid #999; padding-left:5px; }
td.c_sig blockquote dl { background:none transparent; border:0; }
td.c_sig blockquote dl dt,td.c_sig blockquote dl dd { color:#5c5c5c; padding:0; }
td.c_sig blockquote div { background:transparent; margin-left:5px; padding:0;
}
tr.c_postfoot td { clear:both; }
td.c_footicons,td.c_postinfo { width:100%; }
td.c_username { width:195px; }
.c_next a { display:block; font-weight:700; text-align:center; }
td.c_view { background:#eeeeee url(http://z3.ifrm.com/291/21/0/p131137/Rl.jpg) repeat-x; line-height: 2; color:#5c5c5c; }
div.c_view-list { background:#ffffff url(http://z3.ifrm.com/291/21/0/p131342/Input.jpg) repeat-x; padding: 0px 5px; border: 1px solid #cccccc; color:#5c5c5c; }
dl#fast-reply dt { padding: 3px 10px;
background:url(http://z3.ifrm.com/291/21/0/p131135/Hover.jpg) repeat-x top #8e271d; border: 1px solid #8e271d; border-bottom: none; color:#ffffff; font-size: 14px; font-weight:700;
margin:0;
}
dl#fast-reply dd { background:#eeeeee; border:1px solid #cccccc; padding:15px 0; text-align:center; }
#c_post-preview { background:#eeeeee; border:1px solid #cccccc; margin:0 auto 10px; padding:5px; text-align:left; }
#c_post-resize span { color:#5c5c5c; cursor:pointer; padding:20px 5px 0; }
#emot_wrap { background:url(http://z3.ifrm.com/291/21/0/p131137/Rl.jpg) repeat-x top #eeeeee; border:1px solid #cccccc; }
#emot_wrap h3 { background:#ffffff url(http://z3.ifrm.com/291/21/0/p131342/Input.jpg) repeat-x; border-bottom:1px solid #cccccc; color:#5c5c5c; text-align:center; font-size: 12px; }
#emot_end { background:#e8e8e8 url(http://z3.ifrm.com/291/21/0/p131138/Rd.jpg) repeat-x; border-top:1px solid #cccccc; display:block; font-weight:700; padding:4px 0; text-align:center; }
#pm_folders { border-left:1px solid #cccccc; border-right:1px solid #cccccc; padding-top:30px; vertical-align:top; width:150px; }
#pm_folderlist { position: relative; margin-left:0; margin-top:0 }
#pm_folderlist li { background: none; display:list-item; margin-bottom:4px; padding-left:28px; }
#pm_forwarded { border:1px dotted #cccccc; color:#5c5c5c; font-style:italic; margin-top:1em; padding:3px 5px; }
#ucp_gallery { background:#eeeeee url(http://z3.ifrm.com/291/21/0/p131137/Rl.jpg) repeat-x!important; }
#ucp_gallery a { font-weight: bold; }
#ucp_gallery button { font-weight: bold; }
.calendar td.cal_inactive { color:#aaaaaa!important; }
/* Calendar header */ .calendar thead th { padding:3px 5px; background:url(http://z3.ifrm.com/291/21/0/p131135/Hover.jpg) repeat-x top #8e271d; border: 1px solid #8e271d; border-bottom: none; } .calendar thead th a, .calendar thead th a:hover { color: #ffffff; } .calendar big { font-size: 14px; }
.calendar td div.cal_div { border-bottom:1px solid #cccccc; font-weight:700; padding:5px 7px; }
.calendar div.cal_div a { background: none; float:right; font-weight:400; padding:0 0 6px 24px; }
.calendar li a,.calendar li span { border-color:transparent; border-style:solid; border-width:1px; display:block; padding:3px; }
div.portal_content { background:#eeeeee url(http://z3.ifrm.com/291/21/0/p131137/Rl.jpg) repeat-x; border:1px solid #cccccc; margin:0; padding:5px 7px; overflow-x: hidden; }
#portal h2 { border: 1px solid #8e271d; }
#portal h4 { background:#e8e8e8 url(http://z3.ifrm.com/291/21/0/p131138/Rd.jpg) repeat-x; border-left:1px solid #cccccc; border-right:1px solid #cccccc; color:#5c5c5c; font-weight:400; margin:0; padding:5px 7px; }
#faq dt a { color:#5c5c5c; font-weight:700; }
#faq dd.faq_more a,#faq dl.faq_more a:hover { color:#5c5c5c; font-style:italic; }
.search_results { background:#eeeeee url(http://z3.ifrm.com/291/21/0/p131137/Rl.jpg) repeat-x; border:1px solid #cccccc; margin-bottom:1em; padding:5px 7px; }
.search_results h3 { display:inline; }
.search_results cite,.search_results p { color:#5c5c5c; margin:0; }
#findposts .c_mark { color:#5c5c5c; font-weight:700; vertical-align:top; }
#pmtoast { background: url(http://z3.ifrm.com/291/21/0/p139111/PMnotice.png) no-repeat top left; bottom:10px; color:#bfbfbf; display:none; position:fixed; right:10px; text-align:right; text-decoration:none; width:240px; z-index:1; height: 101px; }
#pmtoast:hover { background: url(http://z3.ifrm.com/291/21/0/p139112/PMnoticehover.png) no-repeat top left; }
#pmlink { color:#bfbfbf; display:block; padding:10px 10px 10px 55px; text-decoration:none; }
#pmlink big { color:#bfbfbf; display:block; font-weight:700; padding-bottom:5px; }
#pmlink strong { color:#bfbfbf; }
#pmclose { color:#bfbfbf; display:block; padding:0px 10px 2px 0; text-decoration: none; }
#pmclose:hover { color:#bfbfbf; }
#foot_wrap { margin:20px 0px 0 0; }
#foot td { background:#e8e8e8 url(http://z3.ifrm.com/291/21/0/p131138/Rd.jpg) repeat-x;
border:1px solid #cccccc; color:#5c5c5c; }
#foot a,#foot a:hover { color:#5c5c5c; }
td#foot_datetime { background:#e8e8e8 url(http://z3.ifrm.com/291/21/0/p131138/Rd.jpg) repeat-x; border-left:1px solid #cccccc; width:1%; white-space:nowrap; }
/* Removes image */
#foot_datetime img { display: none; }
#copyright { color:#b3b3b3; text-align:center; font-size: 11px; padding: 10px 0; } #copyright a, #copyright a:hover { color: #bfbfbf; font-weight: bold; }
#c_tos h3 { color:#5c5c5c; }
td.username_ok { background:#eeeeee; }
input.username_ok { outline:2px solid #cccccc; }
td.username_no { background:#eeeeee; }
input.username_no { outline:2px solid #cccccc; }
#acplogin { background:url() repeat-x 0 -195px #eeeeee; border:2px solid #cccccc; height:275px; left:50%; margin:-137.5px 0 0 -250px; padding:0; position:absolute; top:50%; width:500px; }
#acplogin h1 { color:#5c5c5c; font-weight:400; height:50px; margin-bottom:20px; padding:50px 20px 0 0; text-align:right; }
#acplogin h1 img { position:absolute; left:0; top:0; }
a img { border:0; }
form { display:inline; margin:0; padding:0; }
.category h2,.topic h2,#portal h2, thead th { padding: 2px 10px; text-align:center; }
.cat_head h2 { background:url(http://z3.ifrm.com/291/21/0/p131135/Hover.jpg) repeat-x top #8e271d; color:#ffffff; font-size: 14px; font-weight:700; border-color:#8e271d; padding: 2px 10px; }
h3 { padding:3px 0; }
input[type=checkbox] { background:transparent; border:0; padding:0; vertical-align:bottom; }
input[type=radio] { border:0; }
select { margin:0 7px; padding:0; vertical-align:bottom; }
option { margin:2px 0; }
button.btn_img { border:0; cursor:pointer; padding:0; }
.notice dt,.notice dd { padding:5px 7px; }
.drop_menu a img { vertical-align:bottom; }
.drop_menu li:hover ul,.drop_menu li.hover ul { left:auto; }
#submenu a { padding:3px 5px; }
#main { height:1%; }
#nav li img { vertical-align:top; }
.meta_box,.meta_menu { margin:10px 0; }
.meta_box li { display:list-item; list-style-position:inside; list-style-type:square; margin-left:10px; }
.meta_menu ul { margin:5px 5%; }
.meta_menu img,.meta_menu span { float:right; margin:10px 20px; }
.cat-pages a,.cat-pagesjump i,.cat-topicpages a { cursor:pointer; padding:2px 5px; }
.cat-topicpages a { padding:0 2px; }
.cat-buttons,.topic-buttons { float:right; margin:15px 0; text-align:right; width:50%; }
tr.postbtn td { padding:5px; text-align:center; }
.row1,.row2 { line-height:1.4; }
/* Hints background fix */ input.row1 { background: #eeeeee; }
td.c_head input,td.c_head button,td.c_foot input,td.c_foot button,td.c_sort input,td.c_sort button { padding:1px; }
td.c_desc img,td.c_desc input { float:left; vertical-align:middle; }
.category { margin:10px 0 0; }
span.collapse,span.uncollapse { cursor:pointer; float:right; position:relative; }
.c_mark img { display:block; margin:auto; }
.c_last { line-height:1.4; min-width:300px; width:30%; }
#stats_members { line-height:1.2; }
td.c_cat-mark,td.c_cat-icon { padding:5px 0; text-align:center; width:30px;
}
td.c_cat-starter { width:125px; }
td.c_cat-lastpost { width:175px;
}
.c_user {
vertical-align:top; width:175px; min-width:175px; max-width:175px; }
img.c_user { height: 1px; }
.avatar { display:block; margin:auto; text-align:center; }
.av_wrap { overflow:hidden; text-align:center;
margin:auto; }
td.c_user .usertitle { margin:3px 0; text-align:center;
}
.pip { margin:3px 0; white-space:nowrap; }
dl.user_info dt,dl.user_info dd { padding:.1em; font-size: 11px; }
dl.user_info dt { float:left; margin:0; min-width:4em; }
dl.user_info dd.spacer,dl.user_profile dd.spacer { clear:both; float:none; height:1px; padding:0; }
td.c_poll-choice { line-height:1.5; padding-left:45%; }
td.c_poll-answer { text-align:right; width:42.5%; }
td.c_poll-bar { text-align:left;
vertical-align:middle; width:42.5%; }
* html td.c_poll-bar span { margin-top:3px; }
td.c_post { line-height:1.7; vertical-align:top; }
td.c_post ul,td.c_post li {
list-style-type:square;
margin-left:10px; }
.c_post img,#topic_review img { max-width:90%; }
.c_post-attachment { margin-top:1em; padding:1em;
}
.c_post-attachment dd { margin-left:1em; }
.post_sep { background:url(http://z3.ifrm.com/291/21/0/p131135/Hover.jpg) repeat-x center #8e271d; border-top: 1px solid #cccccc; border-bottom: 1px solid #cccccc; font-size:0px; height:0px; }
td.c_sig,td.c_nosig { height:1%; vertical-align:top; }
td.c_nosig { border-top-style:hidden!important; }
blockquote dl dd { padding:1px 4px; }
blockquote div,blockquote code { width: 100%; margin:0; padding:5px; }
dl#fast-reply { clear:both; margin:auto; width:80%; }
dl#fast-reply dd p { margin:-3px; padding:0 5% 10px; text-align:left; }
dl#fast-reply dd textarea { display:block; height:100px; margin-bottom:10px; padding:2px; width:90%; }
#c_post-text { height:223px; }
#c_post-resize { float:right; margin-top:-1px; padding:4px 0 0; text-align:right; }
#btn_preview { float:left; margin:10px 0 0 1px; }
#c_emot { height:225px; vertical-align:top; width:210px; }
#emot_list { height:275px; margin:0 auto; overflow:auto; padding:5px 0; text-align:center; }
div#emot_list { padding:0; }
#emot_list li { display:inline; padding:4px 10px; }
#emot_list img { cursor:pointer; vertical-align:baseline; }
.pm { margin-bottom:1em; }
#pm_datesent { width:200px; }
#pm_select { text-align:center; width:1px; }
#conversation .c_post { padding:2em; }
#ucp_profile,#pm_messages { float:right; }
#ucp_settings img,#ucp_profile img { margin:18px 20px; }
#ucp_gallery li { float:left; padding: 3px 4px; margin:15px 5px; } #ucp_gallery li:hover { background:#ffffff url(http://z3.ifrm.com/291/21/0/p131342/Input.jpg) repeat-x; padding: 2px 3px; border: 1px solid #cccccc; }
#ucp_gallery button { cursor:pointer; text-align:center; }
.ucp { margin-bottom: 10px; }
.ucp button.btn_text { padding:5px 0; text-align:center; width:100%; }
.calendar td { height:125px; padding:0; vertical-align:top; width:14.3%; }
.calendar li { display:list-item; font-size:80%; margin:0; }
.calendar li.placeholder { padding:4px; }
.calendar li span { cursor:default; }
.calendar td#cal_current div { background:#e8e8e8 url(http://z3.ifrm.com/291/21/0/p131138/Rd.jpg) repeat-x; margin-top: -2px; color: #80221a; }
.calendar td#cal_current { background:#e8e8e8 url(http://z3.ifrm.com/291/21/0/p136576/Calendar.jpg) bottom right no-repeat; padding: 2px 0px; }
#portal_head { margin-bottom:10px; }
#portal_foot { margin-top:10px; }
#portal_l,#portal_r { margin:0; padding:0; }
#portal_l { float:left; width:200px; }
#portal_r { float:right; width:150px; }
#portal_news { margin:0 160px 0 210px; }
#portal_news h2 { background: #444444 url(http://z3.ifrm.com/291/21/0/p131128/Top.jpg) repeat-x; border: 1px solid #333333!important; }
#portal_clear { background:transparent; border:none; clear:both; font-size:1px; height:1px; margin:0; padding:0; }
.portal_box { margin-bottom:5px; padding:1px; }
.portal_box table { clear:none; }
#portal_foot h2, #portal h2 { clear:none; margin-left: -1px; padding: 2px 5px; border: 1px solid #8e271d; } #portal h2 { margin: 0; }
#faq { margin:20px 0; }
#faq dl { padding:1em; }
#faq dt { margin-bottom:5px; }
#faq dd { display:list-item; margin:0 0 3px 15px; padding-left:3px; }
.search_results div { display:block; margin:5px 0; }
#acplogin #loginform {
display:block; padding:0 50px; }
input,select,td,th { }
button.btn_default,#nav li span,.c_post-attachment dt,#c_tos dt { font-weight:700; }
.meta_box h3,td.c_topicfoot strong,#meta_welcome strong { }
.row2 td { background:#eeeeee url(http://z3.ifrm.com/291/21/0/p131137/Rl.jpg) repeat-x; }
.row1 td { background:#e8e8e8 url(http://z3.ifrm.com/291/21/0/p131138/Rd.jpg) repeat-x; }
img,.meta_box button img,td.c_cat-mark input,.c_post-attachment img,.warn img,#ucp_gallery a img { vertical-align:middle; }
h1,h2,h3,#nav,#boardmeta,#main { clear:both; margin:0; }
#meta_welcome,.search_results { clear:both; }
#stats_events {
line-height:2;
}
.c_cat-starter,.c_cat-replies,.c_cat-views,td.c_poll-total,td.c_poll- vote,td.c_topicfoot,.warn,.ucp th,#c_notes,.calendar th { text-align:center; }
td.c_poll-total { background:#e8e8e8 url(http://z3.ifrm.com/291/21/0/p131138/Rd.jpg) repeat-x; }
blockquote dl dd,#foot #foot_links { text-align:right; }
#c_post,#ucp_gallery { text-align:center; vertical-align:top; }
#files_upload input,.pm .row1 a,.pm .row2 a,#ucp_gallery button img,#findposts td a { display:block; }
#ucp_settings,#pm_settings { float:left;
}
#c_tos dd,#username_response { margin-left:10px; }
#vlx { z-index:1; }
#blog { background: #eeeeee; border:1px solid #cccccc; color:#5c5c5c; margin: 0 0 10px 0; }
#blog blockquote {
background:none; border:none; padding:0 10px; }
#blog h1 { float:right; }
#blog h2 { background:none; clear:none; padding:0; }
#blog h2,#blog h2 a { color: #80221a } #blog h2 a:hover { color: #434343; }
#blog_foot { clear:both; margin-bottom:20px; }
#blog_head { background:#dcdcdc url(http://z3.ifrm.com/291/21/0/p131151/Foots.jpg) repeat-x; border-bottom:1px solid #cccccc; padding:10px 14px; }
#blog_head h1 { background:#eeeeee url(http://z3.ifrm.com/291/21/0/p131137/Rl.jpg) repeat-x; padding: 2px 5px; border: 1px solid #cccccc; }
#blog_head img.avatar { display:inline; }
#blog_head:after { content: "."; display: block; height: 0; line-height:0; clear: both; visibility: hidden; }
#blog_main { margin:20px 200px 10px 10px; }
#blog_categories,#blog_readers,#blog_about,div.blog_options { background:#e8e8e8 url(http://z3.ifrm.com/291/21/0/p131138/Rd.jpg) repeat-x; border: 1px solid #cccccc; margin:15px 0; padding:5px 7px; }
#blog_sidebar h3,#blog_sidebar dt { color:#5c5c5c; font-weight:700; }
#blog_sub { background:#eeeeee url(http://z3.ifrm.com/291/21/0/p131137/Rl.jpg) repeat-x; clear:both; position:relative; padding:5px 7px; text-align:right; }
#blog_sub span { padding-top:4px; }
#blog_sidebar { background:#eeeeee; float:right; margin:20px 10px 0 0; padding:0 10px; width:160px; }
#blog_sidebar dd { margin-left:10px; }
#blog_user { }
#blog table { clear:none; }
div.blog_options { text-align:right; }
div.blog_date { background: #444444 url(http://z3.ifrm.com/291/21/0/p131128/Top.jpg) repeat-x; border:1px solid #333333; color:#ffffff; float:right; font-weight:700; margin:0 15px; text-align:center; text-transform:uppercase; width:40px; }
div.blog_date span { background:url(http://z3.ifrm.com/291/21/0/p131135/Hover.jpg) repeat-x top #8e271d; border-top:1px solid #8e271d; color:#ffffff; display:block; font-weight:700; padding:2px 4px; }
div.blog_entry { background:#ffffff url(http://z3.ifrm.com/291/21/0/p131342/Input.jpg) repeat-x; border: 1px solid #cccccc; margin:10px 0; padding:5px 7px; }
div.blog_entry blockquote { font-size: 12px; }
#blog_comments li { padding:5px 7px; }
#blog_comments li.odd { background:#ffffff; }
#shoutwrap { background:#eeeeee; border:1px solid #cccccc; }
#shoutwrap td { padding:0; }
#shoutbox { list-style-type:none; margin:0; padding:0; }
#shoutbox li { padding:5px 7px; }
#shoutbox li.odd { background:#eeeeee; }
#shoutbox dl,#shoutbox dt,#shoutbox dd { margin:0; padding:0; }
#shoutbox dt { color:#777; }
#shoutopts,#shoutpost { clear:both; text-align:center; }
#setskin { background-color: #eeeeee; color: #5c5c5c; border: 1px solid #cccccc; }
#main_content {width:84%;margin:0px auto;min-width: 960px;}
#tb {background:url(http://z3.ifrm.com/291/21/0/p131125/Tb.jpg) bottom;height: 29px; width:100%;} #tlb {background:url(http://z3.ifrm.com/291/21/0/p131126/Tlb.jpg) bottom;height: 29px; width: 28px; float:left;} #trb {background:url(http://z3.ifrm.com/291/21/0/p131127/Trb.jpg) bottom;height: 29px;width: 28px;float:right;}
#lb {background:url(http://z3.ifrm.com/291/21/0/p131123/Lb.jpg) repeat-y left #ffffff;} #rb {background:url(http://z3.ifrm.com/291/21/0/p131124/Rb.jpg) repeat-y right #ffffff;margin-left:28px;padding-right:28px;}
/* repeated footer background */
#bb {background:url(http://z3.ifrm.com/291/21/0/p131120/Bb.jpg);height:34px; width:100%;} #blb {background:url(http://z3.ifrm.com/291/21/0/p131121/Blb.jpg); height: 34px; width: 28px; float:left;} #brb {background:url(http://z3.ifrm.com/291/21/0/p131122/Brb.jpg); height: 34px; width: 28px; float:right;}
#footerm {background:url(http://z3.ifrm.com/53/36/0/p81735/Footerm.jpg);height:67px; width:100%;} #footerl {background:url(http://z3.ifrm.com/53/36/0/p81734/Footerl.jpg); height: 67px; width: 152px; float:left;} #footerr {background:url(http://z3.ifrm.com/53/36/0/p81736/Footerr.jpg); height: 67px; width: 152px; float:right;}
/***** Three Piece H2 *****/
/* h2wrap is the center stretch.*/
.h2wrap { background: url(http://z3.ifrm.com/291/21/0/p131132/H2middle.jpg) repeat-x; }
.category .h2wrap { margin-bottom: 1px; }
/* h2left is the left image. */ .h2left { background: url(http://z3.ifrm.com/291/21/0/p131131/H2left.jpg) no-repeat top left; height: 34px; }
/* h2center is the text itself. */ .h2center{ padding: 4px 0px 0px 0px;font-weight: 700;font-size:12px; color: #ffffff; height: 34px; text-align: center; text-transform: uppercase; } .h2center a:link, .h2center a:visited, .h2center a:active, .h2center a:hover { color: #ffffff; }
/* h2right is the right image. */ .h2right { background: url(http://z3.ifrm.com/291/21/0/p131133/H2right.jpg) no-repeat right top; height: 34px; }
/* Collapse/Uncollapse Images */ .collapse,.uncollapse { right: 11px; top: 7px; }
thead td,thead th {padding:0px;background: inherit;border-width:0px;}
.calh2 { background: null!important;height: auto!important; font-weight: null; padding: 0px !important;border: null!important;}
/* Leave the above alone. For the bottom, style your profile h2's. */ .profile thead td,.profile thead th { padding:0px;background: inherit;border-width:0px; background:url(http://z3.ifrm.com/291/21/0/p131135/Hover.jpg) repeat-x top #8e271d; color:#ffffff; padding: 2px 10px; border: 1px solid #8e271d; border-bottom: 1px solid #cccccc; } .profile th.l { border: none; }
th#profile_menuwrap, .profile th.l { background:url(http://z3.ifrm.com/291/21/0/p131137/Rl.jpg) repeat-x top #eeeeee; color:#5c5c5c; border: 1px solid #cccccc!important; padding: 2px 5px!important; text-align:left; }
#profile_menuwrap .drop_menu ul { padding-bottom: 0!important; }
#profile_menuwrap .drop_menu { margin-left: -15px; margin-top: 0px; } *:first-child+html #profile_menuwrap .drop_menu { margin: 0; }
#profile_menuwrap .drop_menu a, #profile_menuwrap .drop_menu a:hover { width: 160px; border: 1px solid #8e271d; background:url(http://z3.ifrm.com/291/21/0/p131135/Hover.jpg) repeat-x top #8e271d; padding: 2px; margin: 0; color: #ffffff; } #profile_menuwrap .drop_menu ul { padding: 0px; padding-top: 0px!important; padding-right: 1px; margin: 0!important; width: 160px; border: 1px solid #cccccc; border-top: none; border-bottom: none; background: #cccccc; }
#profile_menuwrap .drop_menu li ul li a { width: 160px; color:#80221a; background:#eeeeee url(http://z3.ifrm.com/291/21/0/p131137/Rl.jpg) repeat-x; border: none; padding: 2px; margin: 0; border-right: 1px solid #cccccc; border-bottom: 1px solid #cccccc; } #profile_menuwrap .drop_menu li ul li a:hover { border: none; margin: 0; background:#ffffff url(http://z3.ifrm.com/291/21/0/p131342/Input.jpg) repeat-x; border-right: 1px solid #cccccc; border-bottom: 1px solid #cccccc; color:#434343 }
.category td.c_foot { background: url(http://z3.ifrm.com/291/21/0/p131140/Footm.jpg) top repeat-x; padding:0; border: none; }
.foot_left { float: left; background: url(http://z3.ifrm.com/291/21/0/p131139/Footl.jpg) no-repeat top left; height: 29px; width: 186px; }
.foot_right { float: right; background: url(http://z3.ifrm.com/291/21/0/p131141/Footr.jpg) no-repeat top right; height: 29px; width: 186px; }
#stats .foot_right { width: 620px; padding: 6px 75px 0 0; height: 23px; font-size: 11px; }
#menu {background:url(http://z3.ifrm.com/291/21/0/p131128/Top.jpg);height: 21px; width:100%;} #topshading {background:url(http://z3.ifrm.com/291/21/0/p131129/Topshading.jpg) top repeat-x;min-height: 45px; width:100%;}
|
|
|
| |
|
|
Mar 17 2014, 12:55 PM
Post #4
|
M is for Mod
- Posts:
- 18,076
- Group:
- Community Team
- Member
- #95,851
- Joined:
- February 16, 2006
- I'm Browsing With
- Firefox
- Latest Design
- ZetaFresh
- Latest Blog Entry
- http:/support.zathyus.com/blog/main/273996/
|
Your banner is nearly 2000 px wide.
Might that be the problem?
It might be a better idea to use a repeating #logo background image for your starfield and a smaller banner emblem image as your banner.
|
|
|
| |
|
sprankton
|
Mar 17 2014, 07:01 PM
Post #5
|
- Posts:
- 18
- Group:
- Members
- Member
- #614,676
- Joined:
- March 17, 2014
- I'm Browsing With
- Firefox
|
I can probably work with that if I could get it to work. Even if I use a smaller image
http://i.imgur.com/fNfP7e9.jpg
I still can't center that either.
Edit:
Here's the current failed code with the smaller banner
Theme:
- Code:
-
<div style="text-align:center"><img src="http://i.imgur.com/fNfP7e9.jpg" alt="Home" /></div>
CSS:
- Code:
-
#logo { no-repeat; text-align: center; }
Seems simple and sweet but it still does not work. Here is a test forum with the above code http://w11.zetaboards.com/forumtestforumtest/index/
|
|
|
| |
|
Kankuro
|
Mar 17 2014, 07:54 PM
Post #6
|
- Posts:
- 1,092
- Group:
- Members
- Member
- #608,916
- Joined:
- May 25, 2013
- I'm Browsing With
- Chrome
- My Board URL
- http://gamesandanime.net/index/
- Latest Design
- http://if.invisionfree.com/topic/5195959/
|
- sprankton
- Mar 17 2014, 07:01 PM
I can probably work with that if I could get it to work. Even if I use a smaller image http://i.imgur.com/fNfP7e9.jpgI still can't center that either. Edit: Here's the current failed code with the smaller banner Theme: - Code:
-
<div style="text-align:center"><img src="http://i.imgur.com/fNfP7e9.jpg" alt="Home" /></div>
CSS: - Code:
-
#logo { no-repeat; text-align: center; }
Seems simple and sweet but it still does not work. Here is a test forum with the above code http://w11.zetaboards.com/forumtestforumtest/index/ Remove the css style and use this.
- Code:
-
<center><img src="http://i.imgur.com/vQYJkMP.png" alt="HAXSB" /></center>
|
|
|
| |
|
sprankton
|
Mar 17 2014, 10:01 PM
Post #7
|
- Posts:
- 18
- Group:
- Members
- Member
- #614,676
- Joined:
- March 17, 2014
- I'm Browsing With
- Firefox
|
Still no. Even if I substitute with the generic Zetaboards logo it's still skewed to the left.
|
|
|
| |
|
|
Mar 17 2014, 10:05 PM
Post #8
|
M is for Mod
- Posts:
- 18,076
- Group:
- Community Team
- Member
- #95,851
- Joined:
- February 16, 2006
- I'm Browsing With
- Firefox
- Latest Design
- ZetaFresh
- Latest Blog Entry
- http:/support.zathyus.com/blog/main/273996/
|
It seems the original theme has been somewhat altered in the top area.
It looks like what is happening because of that is the text in the top area is pushing the banner over. This is one way to fix that:
Try adding a height and the following background image to #top
- Code:
-
#top { background:background:url(http://z3.ifrm.com/291/21/0/p131129/Topshading.jpg) repeat-x; height:23px; }
That will move the logo area down and allow you to center the banner.
Change the image URL for the background in #topshading to this:
- Code:
-
#topshading { background: url(http://z1.ifrm.com/0/1/0/p409888/starfield.png) repeat-x; min-height: 45px; width: 100%; }
Then use this emblem banner (transparent background) in place of the small one you have installed. http://z1.ifrm.com/0/1/0/p409887/haxsb.png
That should get you the effect you want.
- Attached to this post:
haxsb.png (25.3 KB) starfield.png (62.4 KB)
|
|
|
| |
|
sprankton
|
Mar 17 2014, 11:04 PM
Post #9
|
- Posts:
- 18
- Group:
- Members
- Member
- #614,676
- Joined:
- March 17, 2014
- I'm Browsing With
- Firefox
|
Thank you very much. It's centered on my monitor but still skewed on a mobile app. Is that standard for zeta or is it going to jump around depending on screen resolutions?
Thanks everyone for the help, btw.
|
|
|
| |
|
|
Mar 17 2014, 11:14 PM
Post #10
|
M is for Mod
- Posts:
- 18,076
- Group:
- Community Team
- Member
- #95,851
- Joined:
- February 16, 2006
- I'm Browsing With
- Firefox
- Latest Design
- ZetaFresh
- Latest Blog Entry
- http:/support.zathyus.com/blog/main/273996/
|
That could be because the repeating background image in #topshading is still quite wide and larger than smaller mobile resolutions.
I did a quick shrink on it. You can see if that makes any difference.
http://z1.ifrm.com/0/1/0/p409890/starfield2.png
- Attached to this post:
starfield2.png (39.64 KB)
|
|
|
| |
|
sprankton
|
Mar 18 2014, 03:05 AM
Post #11
|
- Posts:
- 18
- Group:
- Members
- Member
- #614,676
- Joined:
- March 17, 2014
- I'm Browsing With
- Firefox
|
No difference. Here's what it looks like - http://i.imgur.com/bBNYUfn.jpg
|
|
|
| |
|
Frillz
|
Mar 23 2014, 06:26 AM
Post #12
|
- Posts:
- 4
- Group:
- Members
- Member
- #614,760
- Joined:
- March 20, 2014
- I'm Browsing With
- Firefox
|
Thanks for this code above.
- Quote:
-
<center><img src="http://i.imgur.com/vQYJkMP.png" alt="HAXSB" /></center>
That worked for me
|
|
|
| |
|
fnuppage
|
Mar 24 2014, 09:34 PM
Post #13
|
- Posts:
- 680
- Group:
- Members
- Member
- #200,528
- Joined:
- August 22, 2011
- My Board URL
- http://s15.zetaboards.com/TheLighthouse/index/
|
Your banner is centered for me, wonder if it's due to you viewing the forum on an ipad rather than a PC - It's centered for me in 4 browsers!!
|
|
|
| |
| 1 user reading this topic (1 Guest and 0 Anonymous)
|