Re: The calendar day labels and the border :-(
+lupa+ <[email protected]> Mon, 14 Jun 2004 20:11:55 -0400
| Newsgroups | gmane.comp.web.zope.plone.design |
|---|---|
| Message-ID | <[email protected]> |
At 04:05 PM 6/14/2004 -0400, Jet Wilda wrote:
>If anyone could enlighten me with some CSS Zen I would be very
>gratefull. I'm trying to get a border just around the top header
>section of the calendar. Like:
>
>------------------------------
>| << June >> |
>| Su Mo Tu We Th Fr Sa |
>------------------------------
My teammate Davos took 5 minutes to do this:
.ploneCalendar .weekdays td {
background-color: &dtml-globalBackgroundColor;;
border: &dtml-borderWidth; &dtml-borderStyle; &dtml-globalBorderColor;;
border-style: &dtml-borderStyle; none;
text-align: center;
padding: 2px;
border-top-color: &dtml-globalBackgroundColor;;
}
He says the trick is the last line...just make border-top-color match the
background color. Also, Davos added border-top-color was added by me...not
there by default.
+lupa+
-------------------------------------------------------
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND