
Mar 28th, 2008, 16:01
|
|
New Member
|
|
Join Date: Mar 2008
Location: Portugal
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
|
Re: CSS conflicting styles
 tHANKS FOR YOUR HELP BUT IT DIDN'T WORKED.
I PAST BOTH CODES MAYBE YOU CAN IDENTIFY ANY CONFLICT, I CAN NOTE FIND NATHING BUT I VERY NEW ON THIS....
XHTML . CSS FILE:
- Code: Select all
/* ttaxi - an open source xhtml/css website layout by Andreas Viklund - http://2008.ttaxi.pt . Free to use for any purpose as long as the proper credits are given for the original design work.
Version: 1.1, November 28, 2005 */
body{
background:#e0e0e0 url(img/bodybg.jpg) repeat;
color: #004000;
font:76% Georgia,Verdana,Tahoma,Arial,sans-serif;
margin:0;
padding:0;
text-align:center;
}
p{
line-height:1.5em;
margin:0 0 15px;
}
a{
color: #CC6600;
font-weight:700;
text-decoration:none;
}
a:hover{
color: #004000;
text-decoration:underline;
}
hr{
height:1px;
margin:10px 0;
width:98%;
}
dt{
font-weight:700;
}
dd{
margin:1px 0 12px 15px;
}
#container{
background:#c0c0c0 url(img/bodybg.jpg) repeat-y;
margin:0 auto;
text-align:left;
width:752px;
}
#sitename{
background:url(img/leaves.jpg) top center no-repeat;
color: #FFFFFF;
font-weight:400;
height:80px;
margin:0 20px 10px 0;
text-align:center;
}
#sitename h1{
font-size:2.2em;
margin:0;
padding-top:20px;
}
#sitename span{
font-size: 1.0em;
letter-spacing:-1px;
margin:0;
}
#nav{
background:#e0e0e0 url(img/bodybg.jpg) repeat-;
float:left;
width:752px;
}
#nav ul{
list-style:none;
margin:0;
padding:0;
}
#nav a{
background:url(img/tabs.jpg) no-repeat 100% 0;
color: #CC6600;
display:block;
font-size:1.2em;
letter-spacing:-1px;
padding:7px 20px 4px 11px;
text-decoration:underline;
}
#nav a:hover{
color: #004000;
text-decoration:underline;
}
#nav li{
background:url(img/tabs.jpg) no-repeat 0 0;
float:left;
margin:0 5px 0 0;
padding:0 0 0 9px;
}
#nav #current{
background:url(img/tabs.jpg) no-repeat 0 -41px;
}
#nav #current a{
background:url(img/tabs.jpg) no-repeat 100% -41px;
color: #004000;
padding:7px 20px 5px 11px;
}
#wrap1{
background:#ffffff url(img/innerbg.jpg) repeat-y;
border-bottom:1px solid #808080;
border-left:1px solid #808080;
border-right:1px solid #808080;
clear:both;
padding:0;
width:750px;
}
#wrap2{
background:url(img/header.jpg) top left no-repeat;
padding:10px;
width:730px;
}
#header{
height:30px;
position:relative;
width:730px;
}
#header h1{
float:left;
font-size:1.4em;
margin:0;
width:180px;
}
#topbox{
color: #808080;
margin:0 0 4px;
text-align:right;
}
#topbox a{
color: #CC6600;
}
#topbox a:hover{
color: #004000;
text-decoration:underline;
}
#leftside{
float:left;
margin:-15px 0 0;
width:145px;
}
#leftside h1{
font-size:1.4em;
font-weight:400;
}
#leftside img{
border:0px;
}
#rightside{
float:right;
margin:40px 15px 20px 0;
width:130px;
}
#rightside h1{
font-size:1.4em;
font-weight:400;
margin:0 0 12px;
}
#rightside p{
font-size:0.9em;
margin:2px 0 12px 10px;
}
#rightside img{
border:0px solid #fa9035;
margin:10px 0 5px 5px;
padding:2px;
}
#content{
margin:45px 160px 0 180px;
}
#contentalt{
margin:45px 15px 0 180px;
}
#content p,#contentalt p{
margin:8px 0 0 10px;
}
#content h1,#contentalt h1{
color: #002000;
font-size:2em;
font-weight:400;
margin:15px 0 10px;
padding:0;
}
#content h2,#contentalt h2{
color: #002000;
font-size:1.5em;
font-weight:400;
margin:20px 0 10px;
padding:0;
}
#content img,#contentalt img{
border:0px solid #fa9035;
float:left;
margin:5px 15px 6px;
}
#footer{
clear:both;
color: #A0A0A0;
font-size:0.7em;
height:26px;
margin-top:20px;
padding:1px;
text-align:center;
width:730px;
}
#footer a{
color: #CC6600;
font-weight:400;
font-weight: 700;
}
#footer a:hover{
color: #004000;
text-decoration:underline;
}
.menublock{
margin-bottom:10px;
}
.nav{
color: #D04A10;
display:block;
font-size:1.1em;
font-weight:700;
margin-bottom:1px;
padding:2px 2px 2px 10px;
position:relative;
text-decoration:none;
width:125px;
}
.nav:hover{
border:1px solid #fa9035;
color: #004000;
padding:1px 1px 1px 9px;
}
.sub{
font-size:0.9em;
margin-left:20px;
padding:1px 1px 1px 6px;
width:105px;
}
.sub:hover{
border:1px solid #fa9035;
color: #004000;
padding:0 0 0 5px;
}
.intro{
font-weight:700;
}
.active{
border:1px solid #fa9035;
padding:1px 1px 1px 9px;
}
.box{
background:#f8f8f8 url(img/boxbg.gif) top left repeat-y;
border:1px solid #d0d4d4;
color:#505050;
margin:15px auto;
padding:10px 10px 10px 20px;
width:75%;
}
.photo{
margin:5px auto 15px;
padding:5px;
}
.smallcaps{
font-variant:small-caps;
}
.mini{
color: #A0A0A0;
font-size:0.75em;
font-weight:400;
line-height:1.2em;
margin:20px 0 10px 8px;
}
.small{
font-size:0.85em;
}
.large{
font-size:1.4em;
}
.soft{
color: #808080;
}
.normal{
font-weight:400;
}
.sharp{
color: #101010;
}
.center{
text-align:center;
}
.hide{
display:none;
}
CALENDAR. CSS
- Code: Select all
/* The main calendar widget. DIV containing a table. */
div.calendar { position: relative; }
.calendar, .calendar table {
border: 1px solid #565;
font-size: 11px;
color: #000;
cursor: default;
background: #efe;
font-family: tahoma,verdana,sans-serif;
}
/* Header part -- contains navigation buttons and day names. */
.calendar .button { /* "<<", "<", ">", ">>" buttons have this class */
text-align: center; /* They are the navigation buttons */
padding: 2px; /* Make the buttons seem like they're pressing */
background: #676;
color: #fff;
font-size: 90%;
}
.calendar .nav {
background: #676 url(menuarrow.gif) no-repeat 100% 100%;
}
.calendar thead .title { /* This holds the current "month, year" */
font-weight: bold; /* Pressing it will take you to the current date */
text-align: center;
padding: 2px;
background: #250;
color: #efa;
}
.calendar thead .headrow { /* Row <TR> containing navigation buttons */
}
.calendar thead .name { /* Cells <TD> containing the day names */
border-bottom: 1px solid #565;
padding: 2px;
text-align: center;
color: #000;
}
.calendar thead .weekend { /* How a weekend day name shows in header */
color: #a66;
}
.calendar thead .hilite { /* How do the buttons in header appear when hover */
background-color: #afa;
color: #000;
border: 1px solid #084;
padding: 1px;
}
.calendar thead .active { /* Active (pressed) buttons in header */
background-color: #7c7;
padding: 2px 0px 0px 2px;
}
.calendar thead .daynames { /* Row <TR> containing the day names */
background: #dfb;
}
/* The body part -- contains all the days in month. */
.calendar tbody .day { /* Cells <TD> containing month days dates */
width: 2em;
color: #564;
text-align: right;
padding: 2px 4px 2px 2px;
}
.calendar tbody .day.othermonth {
font-size: 80%;
color: #bbb;
}
.calendar tbody .day.othermonth.oweekend {
color: #fbb;
}
.calendar table .wn {
padding: 2px 3px 2px 2px;
border-right: 1px solid #8a8;
background: #dfb;
}
.calendar tbody .rowhilite td {
background: #dfd;
}
.calendar tbody .rowhilite td.wn {
background: #efe;
}
.calendar tbody td.hilite { /* Hovered cells <TD> */
background: #efd;
padding: 1px 3px 1px 1px;
border: 1px solid #bbb;
}
.calendar tbody td.active { /* Active (pressed) cells <TD> */
background: #dec;
padding: 2px 2px 0px 2px;
}
.calendar tbody td.selected { /* Cell showing today date */
font-weight: bold;
border: 1px solid #000;
padding: 1px 3px 1px 1px;
background: #f8fff8;
color: #000;
}
.calendar tbody td.weekend { /* Cells showing weekend days */
color: #a66;
}
.calendar tbody td.today { font-weight: bold; color: #0a0; }
.calendar tbody .disabled { color: #999; }
.calendar tbody .emptycell { /* Empty cells (the best is to hide them) */
visibility: hidden;
}
.calendar tbody .emptyrow { /* Empty row (some months need less than 6 rows) */
display: none;
}
/* The footer part -- status bar and "Close" button */
.calendar tfoot .footrow { /* The <TR> in footer (only one right now) */
text-align: center;
background: #565;
color: #fff;
}
.calendar tfoot .ttip { /* Tooltip (status bar) cell <TD> */
padding: 2px;
background: #250;
color: #efa;
}
.calendar tfoot .hilite { /* Hover style for buttons in footer */
background: #afa;
border: 1px solid #084;
color: #000;
padding: 1px;
}
.calendar tfoot .active { /* Active (pressed) style for buttons in footer */
background: #7c7;
padding: 2px 0px 0px 2px;
}
/* Combo boxes (menus that display months/years for direct selection) */
.calendar .combo {
position: absolute;
display: none;
top: 0px;
left: 0px;
width: 4em;
cursor: default;
border: 1px solid #565;
background: #efd;
color: #000;
font-size: 90%;
z-index: 100;
}
.calendar .combo .label,
.calendar .combo .label-IEfix {
text-align: center;
padding: 1px;
}
.calendar .combo .label-IEfix {
width: 4em;
}
.calendar .combo .hilite {
background: #af8;
}
.calendar .combo .active {
border-top: 1px solid #6a4;
border-bottom: 1px solid #6a4;
background: #efe;
font-weight: bold;
}
.calendar td.time {
border-top: 1px solid #8a8;
padding: 1px 0px;
text-align: center;
background-color: #dfb;
}
.calendar td.time .hour,
.calendar td.time .minute,
.calendar td.time .ampm {
padding: 0px 3px 0px 4px;
border: 1px solid #898;
font-weight: bold;
background-color: #fff;
}
.calendar td.time .ampm {
text-align: center;
}
.calendar td.time .colon {
padding: 0px 2px 0px 3px;
font-weight: bold;
}
.calendar td.time span.hilite {
border-color: #000;
background-color: #686;
color: #fff;
}
.calendar td.time span.active {
border-color: #f00;
background-color: #000;
color: #0f0;
}
Last edited by Aso; Mar 28th, 2008 at 16:10.
Reason: Please use bbcode
|