CSS for a dropdown
Posted: Fri Feb 24, 2017 2:11 pm
Hi Team,
For my customization I need to have a dropdown for an element 'x'. The element x has generated text and <title> inline for element.
I should get a drop down after the generated text.
I tried with the below code but it did not work( I am getting dropdown first followed by generated text) .Please help me with a proper solution in CSS.
Regards,
Mounika
For my customization I need to have a dropdown for an element 'x'. The element x has generated text and <title> inline for element.
I should get a drop down after the generated text.
I tried with the below code but it did not work( I am getting dropdown first followed by generated text) .Please help me with a proper solution in CSS.
Code: Select all
*[class~='troubleshooting/x'] {
-oxy-foldable: false;
content:"x ";
font-weight: bold;
}
*[class~='troubleshooting/x'] > *[class~='topic/title'] {
display:inline;
}
x:not(title){
content:"x ";
font-weight: bold;
}
x > *{
font-weight:normal;
}
*[class~='troubleshooting/x']! > [class~='topic/title'] {
content:"x: ";
}
*[class~='troubleshooting/x']! > [class~='topic/title']:empty {
content:"x ";
}
x:before(5) {
content:
oxy_combobox(
edit, "@outputclass",
editable, false,
labels, "collapsed, expanded, static"
values, "collapsed, expanded, static",
columns,9,fontInherit,true);
font-family:arial, helvetica, sans-serif;
font-size:7px;
}
Mounika