Project

General

Profile

Wt::WTime - changing or overriding a Style Sheet parameter

Added by George McFie over 4 years ago

Please excuse my relative ignorance of Style Sheets.

I would like to change one of the style sheet parameters for the Wt::WTime class.

The wt.css contains the following entry ...

@

.Wt-timeedit {

background-image: url('../../icon_clock.gif');

background-repeat: no-repeat;

background-position: right top;

padding-right: 40px;

}

@

For example, is there a way to change/override the 'padding-right' value to say 10px for just one particular instance of an Wt::WTime object? Can this be done without modifying the wt.css file itself?

I would be grateful for any suggestions.