Quantcast
Channel: SCN : Discussion List - SAP BusinessObjects Design Studio
Viewing all articles
Browse latest Browse all 4041

Design Studio 1.6: Dropdown box css text-align

$
0
0

Hi all,

 

Just wondering if anyone has tried making the text in Dropdown Boxes to be center aligned or right aligned?

 

I've read how to customise style of dropdown boxes using CSS in these threads, but there is no example of changing the text alignment.

http://scn.sap.com/thread/3601441

http://scn.sap.com/thread/3662716

 

Here is the css that I've used, but the text-align doesn't seem to take affect.

/*Dropdown main area: default, hover & focus */ .sapUiTfCombo, .sapUiTfBack.sapUiTfStd {   padding:0 12px 0 0;   height:25px;   margin-top:1px;   border: none;   border-radius:3px;   background:none;   text-align: center; }   .sapUiTfBrd.sapUiTfFoc, .sapUiTfCombo:hover {   padding:0 26px 0 0;   height:25px;   margin-top:1px;   border: solid 1px #2cc588;   text-align: center; }   .sapUiTf {   font-family: "Myriad Pro",Arial, Helvetica, sans-serif;   font-size:14px;   -webkit-appearance:none;   text-align: center; } .sapUiTfStd {   background-color: #ffffff;   -webkit-box-shadow: none;   -moz-box-shadow: none;   box-shadow: none;   color: #666666;   text-align: center; }

Thanks,

Carlton


Viewing all articles
Browse latest Browse all 4041

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>