I suggest you ...

Option to render Button as Link for all webparts

I think it would be really nice when Kentico webparts/user controls would be more CSS friendly when buttons get the possibility to render as link.

When using a link (LinkButton), in for instance the ShoppingCart, the developer/designer is free to create his own look and feel button, with for instance CSS like this :

/* #Buttons/Dark green# */
a.ButtonDarkGreen span {
background: transparent url('/images/MAIN/button-darkgreen-left.png') no-repeat 0 0;
display:block;
padding: 0 0 0 8px;
position: relative;
height:21px;
line-height:21px; /* CHANGE THIS VALUE ACCORDING TO BUTTONG HEIGHT */
color:#FFFFFF;
}

a.ButtonDarkGreen {
background: transparent url('/images/MAIN/button-darkgreen-right-arrow.png') no-repeat top right;
height:21px; /* CHANGE THIS VALUE ACCORDING TO IMAGE HEIGHT */
display:block;
text-decoration:none;
float:left;
margin-right:6px;
padding-right:8px; /* CHANGE THIS VALUE ACCORDING TO RIGHT IMAGE WIDTH */
}

As you can see, rendering a <span> in the link would be very nice to support this.

38 votes
Vote 0 votes Vote Vote
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    I agree to the terms of service

    You'll receive a confirmation email with a link to create a password (optional).

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    RoelRoel shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

    4 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service

      You'll receive a confirmation email with a link to create a password (optional).

      Signed in as (Sign out)
      Submitting...

      Knowledge Base and Helpdesk