Początkujący
Postów: 111
Data rejestracji: 13.04.2006 11:18
|
Wiec tak poradzilem sobie z tym w nastepujacy sposob:
to zamienilem:
<div align='center' class='navPanel'>
<div class='innerNavPanel'>
<div class='buttons'>".showsublinks("","white")."
<div id='Clock' class='label'><script language='javascript' type='text/javascript'>Maxitron.tick();</script>
</div>
</div>
</div>
</div>
na to:
<div class='navPanel'>
<table align=center border=0 cellspacing=0 cellpadding=0>
<tr>
<td>
<div class='buttons'>".showsublinks("","white")."</div>
<div><script language='javascript' type='text/javascript'>Maxitron.tick();</script></div>
</td>
</tr>
</table>
</div>
a w pliku css zostaly zrobione znaczne modyfikacje ktore mozna podejzec tu zostawiam dla potomnych moze ktos jeszcze kiedys wykorzysta
/*
/*
*/
/* main links */
a
{ font-size: 11px;
color : #4F7500;
text-decoration : none;
background: inherit;
}
a:hover
{
color: #395500;
background: #EFF9D0;
}
a.side
{
color : #4F7500;
text-decoration : none;
background: inherit;
}
a:hover.side
{
color : #4F7500;
text-decoration : underline;
background: inherit;
}
img {
border: 0px;
}
/* body shit */
html, html body
{
height: 100%;
}
body
{
font-size: 75%;
font-family: Tahoma, Arial, Helvetica, Sans-Serif;
color: #000000;
line-height: 150%;
background: #F8F7F5;
margin: 0 auto;
padding: 0px;
}
/* show logo plus title and be proud */
.header
{
background: #EEF4FD url('images/bg_header.png') top left repeat-x;
height: 155px;
margin-top: 16px;
text-align:center;
}
.title
{
/*float: left;*/
margin-top: 16px;
text-align:center;
}
.title img
{
float: center;
text-align:center;
/*position: absolute;*/
margin-right: 6px;
}
.title_header
{
font-size: 125%;
font-weight: bold;
padding: 7px 0px 0px 0px;
margin: 0px;
}
.title h1
{
font-size: 135%;
font-weight: bold;
padding: 7px 0px 0px 0px;
margin: 0px;
}
.title h1 a:link,
.title h1 a:visited,
.title h1 a:active
{
color: #565043;
text-decoration: none;
background-color: inherit
}
.title h1 a:hover
{
color: #0A2D68;
background-color: inherit
}
.title p
{
margin: 0px;
padding: 0px;
color: #726958;
background-color: inherit
}
#Clock
{
padding: 4px 0px 0px 10px;
color: #87A820;
font-weight: normal;
background-color: inherit
}
/* top nav menu */
.menu
{
padding-top: 26px;
float: right;
}
.menu a:link,
.menu a:visited,
.menu a:active,
.menu a:hover
{
display: inline-block;
margin:0px -3px;
padding: 4px 8px;
margin: 0px 5px 0px 0px;
color: #666666;
text-decoration: none;
background-color: inherit;
}
.menu a:hover
{
color: white;
background: #94BAF3;
}
/****** Nav Panel ******/
.navPanel
{
text-align:center;
margin:0;
float:center;
padding:0;
height:34px;
background: #E5E2DE url('images/bg_mid.png') top left repeat-x;
border-top: 1px solid #DAD6CB;
border-bottom: 1px solid #CBC6BC;
}
/* button wrappers */
.buttons
{
text-align:center;
white-space: nowrap;
overflow: hidden;
margin:0;
height:34px;
border-left: 1px solid #DAD6CB;
}
a.white
{
display: block;
font-weight: bold;
float:left;
width: 120px;
line-height:34px;
color: #645A44;
text-decoration: none;
border-left: 1px solid white;
border-right: 1px solid #DAD6CB;
background: #F4FBE1 url('images/bg_btn.png');
}
a.white:visited
{
float:left;
font-weight: bold;
display: block;
color: #645A44;
text-decoration: none;
border-left: 1px solid white;
border-right: 1px solid #DAD6CB;
background: #F4FBE1 url('images/bg_btn.png');
width: 120px;
line-height:34px;
}
a.white:selected
{
float:left;
font-weight: bold;
display: block;
color: #645A44;
text-decoration: none;
border-left: 1px solid white;
border-right: 1px solid #DAD6CB;
background: #F4FBE1 url('images/bg_btn_hover.png');
width: 120px;
line-height:34px;
}
a.white:hover
{
color: #395500;
background: #F4FADF url('images/bg_btn_hover.png') top left repeat-x;
}
.innerHeader,
.innerFooter,
.contentWrapper
{
min-width: auto;/*800px;*/
width: auto;/*auto*/
margin: 0px 20px;
}
.navstrip
{
color: #999;
background-color: inherit;
font-size: 12px;
font-weight: bold;
margin: 0 0 10px 0;
padding: 14px 0px 8px 0px;
}
/* sorry for this ie6 hack */
* html img
{
margin: 5px 5px 5px 0px;
}
.shadowStrip
{
height: 4px;
font-size: 1%;
line-height: 1%;
background: url('images/bg_shadow.png');
}
/* inputs */
form
{
display: inline;
margin: 0;
padding: 0;
}
hr
{
height: 1px;
border-top:1px #E2DED6 solid;
border-bottom: 1px #FFF solid;
margin: 3px 3px 3px 3px;
}
td
{
font-family: Tahoma, Verdana, Helvetica, sans-serif, Arial;
font-size: 11px
}
pre
{
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 11px;
}
.alt
{
color : #4F7500;
background: inherit;
}
.footer
{
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 11px;
color : #888;
background-color : #F2F1EE;
border: 1px solid #E4E1DC;
padding : 5px;
}
input,
select
{
vertical-align: middle;
}
.button
{
color: #645A44;
padding: 2px 5px;
margin-bottom: 1px;
margin-top: 1px;
text-decoration: none;
vertical-align: middle;
border: 1px solid #ABA498;
background: #F4FBE1 url('images/bg_input_btn.png');
}
.button:hover
{
color: #395500;
background: #F4FADF url('images/bg_input_btn_hover.png');
border: 1px solid #80AA00;
}
label
{
cursor: pointer;
}
.textbox
{
color: inherit;
padding: 2px 3px;
vertical-align: middle;
border: 1px solid #C0BBB4;
background: white url('images/bg_input_text.png') top left repeat-x;
}
.textbox:hover
{
color: inherit;
border: 1px solid #99CC00;
background: white url('images/bg_input_text_hover.png') top left repeat-x;
}
.main-body
{
font-family: Verdana, Tahoma, Arial, helvetica, serif;
font-size: 70%;
color:#555;
background-color:#F1F0EB;
padding:3px;
}
.side-body
{
font-family: Verdana, Tahoma, Arial, helvetica, serif;
font-size: 70%;
color : #645A44;
background-color : #F1F0EB;
padding : 4px;
}
.main-bg
{
color : #555;
background-color : #F8F7F5;
padding : 5px;
}
.border
{
border : 1px solid #CEC8B9;
background-color : #fff;
color: #111;
}
.side-border-left
{
border-right : 0px solid #CEC8B9;
padding : 5px;
}
.side-border-right
{
border-left : 0px solid #CEC8B9;
padding : 5px;
}
.news-footer
{
font-size : 70%;
color : #555;
background-color : #E4E3DA;
border-top : 1px solid #CEC8B9;
padding : 3px 4px 4px 4px;
}
.news_articles
{
background: #E4E2DA url(images/tcat.gif) repeat-x top left;
color: #000;
font: bold 10pt verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
border-bottom : 1px solid #CEC8B9;
padding : 4px 0px 4px 8px;
height: 32px
}
.p_title
{
background: #E4E2DA url(images/tcat.gif) repeat-x top left;
color: #000;
font: bold 10pt verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
border-bottom : 1px solid #CEC8B9;
padding : 4px 0px 4px 8px;
height: 32px
}
.p_title_box
{
background: #E4E2DA url(images/tcat.gif) repeat-x top left;
color: #000;
font: bold 10pt verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
border-bottom : 1px solid #CEC8B9;
padding : 4px;
}
.tbl-border
{
color : #555;
background-color : #CEC8B9;
}
.tbl
{
font-size : 11px;
color : #555;
background-color : #F1F0EB;
padding:3px 4px 3px 4px
}
.tbl1
{
font-size : 11px;
color : #555;
background-color : #F1F0EB;
padding : 4px;
border-top: 1px solid #FFFFFF;
border-bottom: 0px solid #E2DED6;
border-left: 1px solid #FFFFFF;
border-right: 0px solid #E2DED6;
}
.tbl2
{
font-size : 11px;
color : #555;
background-color : #EDECE7;
padding : 4px;
border-top: 1px solid #FFFFFF;
border-bottom: 0px solid #E2DED6;
border-left: 1px solid #FFFFFF;
border-right: 0px solid #E2DED6;
}
.forum-caption
{
background: #F2F0EE url(images/forum_cell_bg.png) repeat-x top left;
color: #6E6EE8;
font: bold 10pt verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
padding : 2px 4px 2px 6px;
height: 32px
}
.quote
{
color: #333;
background-color: #F0F5FA;
border-right: 1px solid #C2CFDF;
border-top: 1px solid #C2CFDF;
border-bottom: 1px solid #C2CFDF;
border-left: 5px solid #C2CFDF;
margin: 0 5px 0 5px;
padding: 4px;
}
code
{
color: #2C404B;
border: 0px;
background-color: #F0F5FA;
display: block;
font-size: 130%;
overflow: auto;
margin: 0;
padding: 0;
padding-bottom: 4px;
}
.poll
{
height : 14px;
border : 1px solid #CEC8B9;
padding: 1px
}
.comment-name
{
font-family: Tahoma, Arial, helvetica, serif;
font-weight : bold;
color : #557B07;
background: inherit;
}
.shoutboxname
{
font-weight : bold;
color : #557B07;
background-color : #F1F0EB;
}
.shoutbox
{
color : #47391C;
background-color : #F1F0EB;
}
.shoutboxdate
{
font: normal 9px verdana, tahoma, arial, sans-serif;
color : #888;
background-color : #F1F0EB;
}
.smallalt
{
font-size: 11px;
font-weight: normal;
}
.small
{
font-size: 11px;
font-weight: normal;
}
.small2
{
font: normal 9px verdana, tahoma, arial, sans-serif;
color: #645A44;
background: inherit;
}
.side-small
{
font-size : 11px;
font-weight : normal;
color : #555;
background-color : #F1F0EB;
}
.side-label
{
color : #645A44;
background-color : #F1F0EB;
padding : 2px 2px 3px 2px;
}
.side
{
color: #645A44;
background-color : #F1F0EB;
}
|