Button Style

Hello,

If I want to change styles of some link buttons (not all of them), I can use code:
Button btn = new Button(“Login”);
btn.setStyleName(Button.STYLE_LINK);
btn.addStyleName(“toplink”);

My question is how to add my style “toplink” in CSS file. Please modify following code for me:
.v-button-link .v-button-caption {
color: white;
text-decoration: none;
}

Thanks,
Watt

.v-button-toplink .v-button-caption {
	color: white;
	text-decoration: none;
}

There you go, and you’re welcome! :slight_smile:

Thank you, Jouni.