Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
  • Register
Welcome to the Q&A for Question2Answer.

If you have questions about the platform, click here to ask and please use English.

If you just want to try Q2A, please use the demo, which also grants admin access.

Apr 29: Q2A 1.5.2

How to make round corners for the "vote count" and "answer count" boxes

+1 vote

I guess it can be easily done with CSS styling, please let me know

-----------------------------------------------------------------------------------------------------------

[update]

The styling

-moz-border-radius-bottomleft: 4px;
-moz-border-radius-topleft: 4px;
-moz-border-radius-bottomright: 4px;
-moz-border-radius-topright: 4px;

suggested by user ProThought is working, 
but only in Firefox and not working in Chrome or IE. 
so the question is still open

 

asked Apr 21, 2011 in Q2A Core by toktosunov
edited Apr 22, 2011 by toktosunov

1 Answer

+1 vote

It can be done with CSS and it is very easy. add below 4 lines highlighted lines in green.

for votes

.qa-voting {background:#DEEEDC; border:1px solid #c0c0c0; margin-right:1.5em; float:left; height:42px; overflow:hidden; padding:12px 0;
-moz-border-radius-bottomleft: 4px;
-moz-border-radius-topleft: 4px;
-moz-border-radius-bottomright: 4px;
-moz-border-radius-topright: 4px;
}

for answers count
.qa-a-count {background:#FDF3C5; border:1px solid #c0c0c0; text-align:center; width:60px; height:42px; overflow:hidden; float:left; padding:12px 0; margin-right:1.5em;
-moz-border-radius-bottomleft: 4px;
-moz-border-radius-topleft: 4px;
-moz-border-radius-bottomright: 4px;
-moz-border-radius-topright: 4px;
}

for more roundness change 4px field to whatever you want.

 

answered Apr 22, 2011 by ProThoughts
it works in Firefox, but doesn't in Chrome. weird.