Zrobienie ramki dookoła elementu

Założony przez  Salioner.

wersja skryptu MyBB:1.6.7
adres forum:http://usmiechtwojkocham.cba.pl/forum/index.php
na czym polega problem (screen, opis, komunikaty, nazwa stylu/theme/szablonu):

Chciałbym aby ten napis Forum     znajdował się w szarej ramce :)
Klasa thead w global.css
:: Akcja DZIĘKUJĘ ZA POMOC ::
Pomocy udzielam jedynie na forum. Wszystkie rzeczy wykraczające poza tą dziedzinę wykonuję odpłatnie.
nic się nie stało ;/
Dodaj do global.css:

a[href^="forumdisplay.php?fid=1"]{border1px solid gray;} 
tak po prostu dodać ?
Tak, po prostu. Po identyfikatorach(#).
Wkleiłem i nadal nic ;/
@import url(fonts.css);
body {
    background: #ffffff;
    color: #000000;
    text-align: center;
    line-height: 1.4;
    margin: 0;
    padding: 0;
    font-family: 'ColaborateLightRegular', Arial, sans-serif;
    font-size: 16px;
}

a:link {
    color: #4c84bd;
    text-decoration: none;
}

a:visited {
    color: #4c84bd;
    text-decoration: none;
}

a:hover, a:active {
    color: #fb992e;
    text-decoration: none;
}

#header {
    background: #41403b;
    width: 100%;
    height: 80px;
}

#headformat {
    width: 960px;
    margin: auto auto;
}

#branding {
    float: left;
}

#primarynav {
    background: #282924;
    width: 100%;
    border-top: 1px solid #5a5c46;
    height: 35px;
    line-height: 35px;
}

#navformat {
    width: 960px;
    color: #ffffff;
    margin: auto auto;
}

#container {
    width: 70%;
    color: #515151;
    -moz-box-shadow: 0px 0px 7px #000;
    -webkit-box-shadow: 0px 0px 7px #000;
    box-shadow: 0px 0px 7px #000;
    margin: auto auto;
    padding: 10px 0;
    text-align: left;
}

#content {
    /* FIX: Make internet explorer wrap correctly */
    width: auto !important;
}

a[href^="forumdisplay.php?fid=1"]{border: 1px solid gray;}
.menu ul {
    color: #ffffff;
    text-align: left;
    text-transform:uppercase;
    list-style: none;
    margin: 30px 0 0 0;
    padding: 0;
}

.menu li {
    display: inline;
}

.menu ul a:link {
    color: #ffffff;
    text-decoration: none;
}

.menu ul a:visited {
    color: #ffffff;
    text-decoration: none;
}

.menu ul a:hover, .menu ul a:active {
    color: #4c84bd;
    text-decoration: none;
}

#panel {
    background: #292824;
    width: 100%;
    color: #ffffff;
    border-bottom: 1px solid #131313;
    height: 22px;
    padding: 9px 0;
    
    font-size: 16px;
}

#panelformat {
    width: 960px;
    margin: auto auto;
    text-align: right;
}

#panel .remember_me input {
    vertical-align: middle;
    margin-top: -1px;
}

#footer {
    background: #f3f3f3;
    color: #f3f3f3;
    font-size: 16px;
}

#footwrap {
    background: #41403b;
    width: 960px;
    margin: auto auto;
    padding: 5px 0;
    text-align: right;
}

.botmenu {
    background: #f3f3f3;
    margin-top: 20px;
}

.botmenuwrap {
    width: 960px;
    color: #515151;
    padding: 5px 0;
    margin: auto auto;
    text-align: left;
}

.headsearch {
    background: #4c84bd url(images/minimal/alt_button_bg.png) repeat-x;
    color: #cccccc;
    padding: 5px;
    border: 1px solid #4c84bd;
    position: relative;
    left: 5px;
    -webkit-border-top-left-radius: 2px;
    -webkit-border-bottom-left-radius: 2px;
    -moz-border-radius-topleft: 2px;
    -moz-border-radius-bottomleft: 2px;
    border-top-left-radius: 2px;
    border-bottom-left-radius: 2px;
    
    font-size: 11px;
}

.headsearch:focus {
    color: #ffffff;
}

.headgo {
    background: #4c84bd url(images/minimal/alt_button_bg.png) repeat-x;
    color: #ffffff;
    border: 1px solid #4c84bd;
    margin: 0;
    padding: 2px 9px 3px 9px;
    -webkit-border-top-right-radius: 2px;
    -webkit-border-bottom-right-radius: 2px;
    -moz-border-radius-topright: 2px;
    -moz-border-radius-bottomright: 2px;
    border-top-right-radius: 2px;
    border-bottom-right-radius: 2px;
    cursor: pointer;
}

table {
    color: #515151;
    font-family: 'ColaborateLightRegular', Arial, sans-serif;
    font-size: 16px;
}

.fborder {
    width: 100%;
    margin: auto auto;
}

.tborder {
    width: 100%;
    margin: auto auto;
    padding: 0px;
}

.theadborder {
    width: 100%;
    margin: auto auto;
}

.thead {
    color: black;
    padding: 6px 0;
    border-bottom: 1px solid #3c3e30;
    
    font-size: 23px;
}

.thead a:link {
    color: #4c84bd;
    text-decoration: none;
}

.thead a:visited {
    color: #4c84bd;
    text-decoration: none;
}

.thead a:hover, .thead a:active {
    color: #fb992e;
}

.tcat {
    background: #ffffff;
    color: #3c3e30;
    border-bottom: 1px solid #f3f3f3;
    font-size: 16px;
}

.tcat a:link {
    color: #3c3e30;
}

.tcat a:visited {
    color: #3c3e30;
}

.tcat a:hover, .tcat a:active {
    color: #fb992e;
}

.trow1 {
    background: #ffffff;
    border-bottom: 1px solid #f3f3f3;
}

.trow2 {
    background: #ffffff;
    border-bottom: 1px solid #f3f3f3;
}

.trow3 {
    background: #ffffff;
}

.trow_shaded {
    background: #ffdde0;
}

.trow_selected td {
    background: #FFFBD9;
}

.trow_sep {
    background: #ffffff;
    color: #3c3e30;
    border-bottom: 1px solid #f3f3f3;
    font-size: 16px;
}

.tfoot {
    background: #ffffff;
    color: #3c3e30;
}

.tfoot a:link {
    color: #3c3e30;
    text-decoration: none;
}

.tfoot a:visited {
    color: #3c3e30;
    text-decoration: none;
}

.tfoot a:hover, .tfoot a:active {
    color: #fb992e;
    text-decoration: underline;
}

.navigation {
    width: 600px;
    color: #515151;
    font-size: 16px;
}

.navigation a:link {
    color: #4c84bd;
    text-decoration: none;
}

.navigation a:visited {
    color: #4c84bd;
    text-decoration: none;
}

.navigation a:hover, .navigation a:active {
    color: #fb992e;
    text-decoration: none;
}

.navigation .active {
    color: #515151;
    font-size: 16px;
}

div.navigation img#breadcrumb_multipage {
    display:none
}

.smalltext {
    font-size: 16px;
}

.largetext {
    font-size: 16px;
}

input.textbox {
    background: #ffffff;
    color: #515151;
    border: 1px solid #cccccc;
    padding: 5px;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
}

input.textbox:focus {
    border: 1px solid #7a7a7a;
    -webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.2);
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.2);
}

textarea {
    background: #ffffff;
    color: #515151;
    border: 1px solid #cccccc;
    padding: 5px;
    line-height: 1.4;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    
    font-family: 'ColaborateLightRegular', Arial, sans-serif;
    font-size: 16px;
}

textarea:focus {
    border: 1px solid #7a7a7a;
    -webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.2);
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.2);
}

select {
    background: #ffffff;
    color: #515151;
    padding: 4px;
    border: 1px solid #cccccc;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
}

select:focus {
    border: 1px solid #7a7a7a;
    -webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.2);
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.2);
}

option {
    color: #515151;
}

.editor {
    background: #f1f1f1;
    border: 1px solid #ccc;
}

.editor_control_bar {
    background: #fff;
    border: 1px solid #cccccc;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
}

.autocomplete {
    background: #fff;
    color: black;
    border: 1px solid #cccccc;
}

.autocomplete_selected {
    background: #adcee7;
    color: #000;
}

.popup_menu {
    background: #ffffff;
    border: 1px solid #cccccc;
}

.popup_menu .popup_item {
    background: #ffffff;
    color: #4a4a4a;
}

.popup_menu .popup_item:hover {
    background: #dbe2ec;
    color: #225985;
}

.trow_reputation_positive {
    background: #ccffcc;
}

.trow_reputation_negative {
    background: #ffcccc;
}

.reputation_positive {
    color: green;
}

.reputation_neutral {
    color: #515151;
}

.reputation_negative {
    color: red;
}

.invalid_field {
    border: 1px solid #f30;
    color: #f30;
}

.valid_field {
    border: 1px solid #0c0;
}

.validation_error {
    background: url(images/invalid.gif) no-repeat center left;
    color: #f30;
    margin: 5px 0;
    padding: 5px;
    font-size: 16px;
    padding-left: 22px;
}

.validation_success {
    background: url(images/valid.gif) no-repeat center left;
    color: #00b200;
    margin: 5px 0;
    padding: 5px;
    font-size: 16px;
    padding-left: 22px;
}

.validation_loading {
    background: url(images/spinner.gif) no-repeat center left;
    color: #555;
    margin: 5px 0;
    padding: 5px;
    font-size: 16px;
    padding-left: 22px;
}

/* Additional CSS (Master) */
img {
    border: none;
}

.clear {
    clear: both;
}

.hidden {
    display: none;
    float: none;
    width: 1%;
}

.hiddenrow {
    display: none;
}

.selectall {
    background-color: #FFFBD9;
    text-align: center;
}

.float_left {
    float: left;
}

.float_right {
    float: right;
}

#panel .links {
    margin: 0;
    float: right;
}

.expcolimage {
    width: auto;
    float: right;
    vertical-align: middle;
    margin-top: 15px;
}

img.attachment {
    border: 1px solid #E9E5D7;
    padding: 2px;
}

hr {
    background-color: #000000;
    color: #000000;
    height: 1px;
    border: 0px;
}

.copyright {
    color: #ffffff;
    text-align: right;
}

.copyright a {
    color: #ffffff;
}

#debug {
    float: right;
    text-align: right;
    margin-top: 0;
}

blockquote {
    background: #f7fbfc;
    border: 1px solid #f3f3f3;
    margin: 0;
    padding: 4px;
}

blockquote cite {
    border-bottom: 1px solid #f3f3f3;
    display: block;
    margin: 4px 0;
    font-style: normal;
}

blockquote cite span {
    float: right;
    font-weight: normal;
}

blockquote cite span.highlight {
    float: none;
    padding-bottom: 0;
}

.codeblock {
    background: #f7fbfc;
    border: 1px solid #f3f3f3;
    padding: 4px;
}

.codeblock .title {
    border-bottom: 1px solid #f3f3f3;
    margin: 4px 0;
}

.codeblock code {
    overflow: auto;
    height: auto;
    max-height: 200px;
    display: block;
    font-family: Monaco, monospace;
    font-size: 13px;
}

.subforumicon {
    border: 0;
    vertical-align: middle;
}

.separator {
    margin: 5px;
    padding: 0;
    height: 0px;
    font-size: 1px;
    list-style-type: none;
}

form {
    margin: 0;
    padding: 0;
}

.popup_menu .popup_item_container {
    margin: 1px;
    text-align: left;
}

.popup_menu .popup_item {
    display: block;
    padding: 3px;
    text-decoration: none;
    white-space: nowrap;
}

.popup_menu a.popup_item:hover {
    text-decoration: none;
}

.autocomplete {
    text-align: left;
}

.subject_new {
}

.highlight {
    background: #FFFFCC;
    padding-top: 3px;
    padding-bottom: 3px;
}

.pm_alert {
    background: #4c84bd;
    color: #ffffff;
    padding: 3px 6px;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    font-size: 16px;
}

.red_alert {
    background: #FBE3E4;
    color: #A5161A;
    border: 1px solid #A5161A;
    text-align: center;
    padding: 5px 20px;
    margin-bottom: 15px;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    font-size: 16px;
}

.high_warning {
    color: #CC0000;
}

.moderate_warning {
    color: #F3611B;
}

.low_warning {
    color: #AE5700;
}

div.error {
    background: #ffdde0;
    padding: 5px 10px;
    border: 2px solid #A5161A;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    font-size: 16px;
}

div.error p {
    margin: 0;
    color: #000;
    font-weight: normal;
}

div.error p em {
    font-style: normal;
    padding-left: 24px;
    display: block;
    color: #C00;
    background: url(images/error.gif) no-repeat 0;
}

div.error.ul {
    margin-left: 24px;
}

.online {
    color: #15A018;
}

.offline {
    color: #C7C7C7;
}

.pagination {
    font-size: 16px;
    padding-top: 10px;
    margin-bottom: 5px;
}

.tfoot .pagination, .tcat .pagination {
    padding-top: 0;
}

.pagination .pages {
    color: #515151;
}

.pagination .pagination_current, .pagination a {
    padding: 2px 6px;
    margin-bottom: 3px;
}

.pagination a {
    background: #4c84bd url(images/minimal/button_bg1.png) repeat-x;
    color: #ffffff;
    padding: 3px 6px;
    border: 1px solid #4c84bd;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
}

.pagination .pagination_current {
    background: #41403b url(images/minimal/button_bg1.png);
    color: #ffffff;
    padding: 3px 6px;
    border: 1px solid #41403b;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
}

.pagination a:hover {
    background: #fb992e url(images/minimal/button_bg1.png) repeat-x;
    color: #ffffff;
    border: 1px solid #fb992e;
    
    text-decoration: none;
}

.thread_legend, .thread_legend dd {
    margin: 0;
    padding: 0;
}

.thread_legend dd {
    padding-bottom: 4px;
    margin-right: 15px;
}

.thread_legend img {
    margin-right: 4px;
    vertical-align: bottom;
}

.success_message {
    color: #00b200;
    font-size: 16px;
    margin-bottom: 10px;
}

.error_message {
    color: #C00;
    font-size: 16px;
    margin-bottom: 10px;
}

.post_body {
    padding: 5px;
}

.post_content {
    padding: 5px 10px;
}

.quick_jump {
    background: url(images/minimal/jump.gif) no-repeat 0;
    width: 13px;
    height: 13px;
    padding-left: 13px; /* amount of padding needed for image to fully show */
    vertical-align: middle;
    border: none;
}

.repbox {
    font-size:16px;
    padding:5px 7px 5px 7px;
}

._neutral {
    background-color:#FAFAFA;
    color: #999999;
    border:1px solid #CCCCCC;
}

._minus {
    background-color: #FDD2D1;
    color: #CB0200;
    border:1px solid #980201;
}

._plus {
    color: #4a4a4a;
    background-color: #ebfcdf;
    border: 1px solid #a4cfa4;
}

.pagination_breadcrumb {
    background-color: #f5f5f5;
    border: 1px solid #fff;
    outline: 1px solid #ccc;
    padding: 5px;
    margin-top: 5px;
    font-weight: normal;
}

.pagination_breadcrumb_link {
    vertical-align: middle;
    cursor: pointer;
}

.statround {
    background: #4c84bd;
    color: #ffffff;
    margin-left: 10px;
    padding: 3px 6px;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
}

.statround a {
    color: #ffffff;
}

#cabutton {
    background: #4c84bd url(images/minimal/alt_button_bg.png) repeat-x;
    color: #ffffff;
    padding: 4px 10px;
    margin-left: 15px;
}

#sibutton {
    color: #ffffff;
}

.button {
    background: #4c84bd url(images/minimal/alt_button_bg.png) repeat-x;
    color: #ffffff;
    padding: 3px 10px;
    border: 1px solid #4c84bd;
    cursor: pointer;
    -webkit-border-radius:2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
}

.button a {
    color: #ffffff;
}

.lockbutton {
    background: url(images/minimal/lockbutton_bg.png) repeat-x;
    color: #ffffff;
    padding: 5px 12px;
    border: 1px solid #812200;
    cursor: pointer;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
}

.lockbutton a {
    color: #ffffff;
}

a#forumnav,
a#memnav,
a#calnav,
a#vncnav {
    margin-left: 20px;
}

a#forumnav:hover,
a#memnav:hover,
a#calnav:hover,
a#vncnav:hover {
}

body#forums a#forumnav,
body#members a#memnav,
body#calendar a#calnav {
    color: #fb992e;
}

a#usrnav {
    color: #8a8a8a;
}

a#usrnav:hover {
    color: #ffffff;
}

.login {
    background: #f5f5f5;
    color: #515151;
    border: 1px solid #cccccc;
    padding: 4px;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
}

.password {
    background: #f5f5f5;
    color: #515151;
    border: 1px solid #cccccc;
    padding: 4px;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
}
Źle Ci je skopiowało. Zauważ, że zamiast spacji masz nbsp.
:: Akcja DZIĘKUJĘ ZA POMOC ::
Pomocy udzielam jedynie na forum. Wszystkie rzeczy wykraczające poza tą dziedzinę wykonuję odpłatnie.
Teraz napis forum ale działu jest w tabelce i inne http://usmiechtwojkocham.cba.pl/forum/ ;//
zamień ^ na ~ o ile dobrze pamiętam. Albo bez tego i tego, sprawdź sobie.
Zamieniałem i nadal nic ;/



Użytkownicy przeglądający ten wątek:

1 gości