A
abc
Earlier I posted:
I have a dropdown list (borders/shading: NONE).. when I preview my
form, the
text selected in the dropdown list is underlined.. is there anyway to
remove this? I don't want it underlined.
Response:
You can do this, but it's not as straight forward as you might think...
One way is to create a custom print view for your edit view. If this
seems like over kill, another option is to modify the view .xsl file
and add the following as the last <style> block before the close of the
<head> tag...
<style title="MyCustomPrintStyles">
@media Print
{
U { TEXT-DECORATION: none !important; }
}
</style>
When a drop-down list box is printed, the text gets surrounded by a
<u></u> (underline) tag pair. Because of this, you can't simply update
the .xdComboBox class to have no underline... for some reason the
underline tag still wins out, even though its not the inner style.
Weird. So you have to tell the underline tag to not display an
underline.
Now if you actually have underlined items in your view to print, then
this will remove their underline as well. So this isn't a good solution
in all cases. If this is the case, that you have other underlined items
that need to remain underlined, then you need to reconsider and
probably use a print view, where you replace the drop-down list boxes
with either text boxes or expression boxes.
MY QUESTION IS:
Where do I enter the style tag?? Can someone walk me through the
steps???? PLEASE HELP!
I have a dropdown list (borders/shading: NONE).. when I preview my
form, the
text selected in the dropdown list is underlined.. is there anyway to
remove this? I don't want it underlined.
Response:
You can do this, but it's not as straight forward as you might think...
One way is to create a custom print view for your edit view. If this
seems like over kill, another option is to modify the view .xsl file
and add the following as the last <style> block before the close of the
<head> tag...
<style title="MyCustomPrintStyles">
@media Print
{
U { TEXT-DECORATION: none !important; }
}
</style>
When a drop-down list box is printed, the text gets surrounded by a
<u></u> (underline) tag pair. Because of this, you can't simply update
the .xdComboBox class to have no underline... for some reason the
underline tag still wins out, even though its not the inner style.
Weird. So you have to tell the underline tag to not display an
underline.
Now if you actually have underlined items in your view to print, then
this will remove their underline as well. So this isn't a good solution
in all cases. If this is the case, that you have other underlined items
that need to remain underlined, then you need to reconsider and
probably use a print view, where you replace the drop-down list boxes
with either text boxes or expression boxes.
MY QUESTION IS:
Where do I enter the style tag?? Can someone walk me through the
steps???? PLEASE HELP!