Forums

css dummie question ho to edit this calander (2 posts)

  1. Mac-addict
    Member
    Posted 10 months ago #

    Hi there peeps, i am a css beginner and i have downloaded a plugin for a calander. It works great but it's way to big can somebody tell my how to get the calander at this size: Width: 570 Height: 292.

    This is the code:

    .calnk a:hover {
            background-position:0 0;
            text-decoration:none;
            color:#000000;
            border-bottom:1px dotted #000000;
         }
        .calnk a:visited {
            text-decoration:none;
            color:#000000;
            border-bottom:1px dotted #000000;
        }
        .calnk a {
            text-decoration:none;
            color:#000000;
            border-bottom:1px dotted #000000;
        }
        .calnk a span {
            display:none;
        }
        .calnk a:hover span {
            color:#333333;
            background:#F6F79B;
            display:block;
            position:absolute;
            margin-top:1px;
            padding:5px;
            width:150px;
            z-index:100;
            line-height:1.2em;
        }
        .calendar-table {
            border:0 !important;
            width:100% !important;
            border-collapse:separate !important;
            border-spacing:2px !important;
        }
        .calendar-heading {
            height:25px;
            text-align:center;
            border:1px solid #D6DED5;
            background-color:#E4EBE3;
        }
        .calendar-next {
            width:25%;
            text-align:center;
        }
        .calendar-prev {
            width:25%;
            text-align:center;
        }
        .calendar-month {
            width:50%;
            text-align:center;
            font-weight:bold;
        }
        .normal-day-heading {
            text-align:center;
            width:25px;
            height:25px;
            font-size:0.8em;
            border:1px solid #DFE6DE;
            background-color:#EBF2EA;
        }
        .weekend-heading {
            text-align:center;
            width:25px;
            height:25px;
            font-size:0.8em;
            border:1px solid #DFE6DE;
            background-color:#EBF2EA;
            color:#FF0000;
        }
        .day-with-date {
            vertical-align:text-top;
            text-align:left;
            width:60px;
            height:60px;
            border:1px solid #DFE6DE;
        }
        .no-events {
    
        }
        .day-without-date {
            width:60px;
            height:60px;
            border:1px solid #E9F0E8;
        }
        span.weekend {
            color:#FF0000;
        }
        .current-day {
            vertical-align:text-top;
            text-align:left;
            width:60px;
            height:60px;
            border:1px solid #BFBFBF;
            background-color:#E4EBE3;
        }
        span.event {
            font-size:0.75em;
        }
        .kjo-link {
            font-size:0.75em;
            text-align:center;
        }
        .calendar-date-switcher {
            height:25px;
            text-align:center;
            border:1px solid #D6DED5;
            background-color:#E4EBE3;
        }
        .calendar-date-switcher form {
            margin:2px;
        }
        .calendar-date-switcher input {
            border:1px #D6DED5 solid;
            margin:0;
        }
        .calendar-date-switcher select {
            border:1px #D6DED5 solid;
            margin:0;
        }
        .calnk a:hover span span.event-title {
            padding:0;
            text-align:center;
            font-weight:bold;
            font-size:1.2em;
            margin-left:0px;
        }
        .calnk a:hover span span.event-title-break {
            width:96%;
            text-align:center;
            height:1px;
            margin-top:5px;
            margin-right:2%;
            padding:0;
            background-color:#000000;
            margin-left:0px;
        }
        .calnk a:hover span span.event-content-break {
            width:96%;
            text-align:center;
            height:1px;
            margin-top:5px;
            margin-right:2%;
            padding:0;
            background-color:#000000;
            margin-left:0px;
        }
        .page-upcoming-events {
            font-size:80%;
        }
        .page-todays-events {
            font-size:80%;
        }
        .calendar-table table,tbody,tr,td {
            margin:0 !important;
            padding:0 !important;
        }
        table.calendar-table {
            margin-bottom:5px !important;
        }
        .cat-key {
            width:100%;
            margin-top:30px;
            padding:5px;
            border:0 !important;
        }
        .cal-separate {
           border:0 !important;
           margin-top:10px;
        }
        table.cat-key {
           margin-top:5px !important;
           border:1px solid #DFE6DE !important;
           border-collapse:separate !important;
           border-spacing:4px !important;
           margin-left:2px !important;
           width:99.5% !important;
           margin-bottom:5px !important;
        }
        .cat-key td {
           border:0 !important;
        }
  2. zex2911
    Member
    Posted 10 months ago #

    Link to your site is always welcome, but try this:

    .calendar-table {
            border:0 !important;
            width:570px !important;
            border-collapse:separate !important;
            border-spacing:2px !important;
        }

    just find .calendar-table in that css and change it's width. if that doesn't help, link to your site will. :)

Reply

You must log in to post.

About this Topic

Tags

No tags yet.