style

unable to remove border when i have an iframe within an iframe for IE

i have an iframe nested inside another iframe, and for both iframes i have these attributes: frameBorder="0" marginWidth="0" marginHeight="0" scrolling="no" Ive also tried: style="border: 0px; margin: 0px; padding: 0px;" It seems that no matter what I try, the border of the inner iframe keeps showing, as well as the padding withi...

WPF ScrollBar: both horizontal and vertical from one template?

I have a requirement to retemplate the Scrollbar so that only one template is required, instead of separate horizontal and vertical ones. The designer's assertion is that the scrollbar can be rotated on a trigger (Orientation = Horizontal), and the commands swapped on the buttons. Since the single template is set up as a grid with rows,...

How do I style selected item in Android ListView?

Hi folks, I am an Android newbie trying to learn the UI side of things and it's doing my head in. Here's what I have right now: breeds_listing.xml <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="wrap_content" android:layout_height="wrap_content">...

win32/C dialog box: "modern" look / style for a combo box

I want my dialog box (resource) in a Win32/C app to have a "modern" look/style, particularly its combo boxes. By "modern", I mean that a "drop list"-type combo box looks like a solid button, with just a small "arrow" icon on the side, as opposed to the "old" look: flat edit box with a separate arrow button. In the VS dialog editor, the c...

Setting default button style in Windows Phone 7 silverlight app.

In WPF I could apply a style to a target type without giving it a name. This would effectively style all elements of that type without explicitly setting the style on each button. <Style TargetType="{x:Type Button}"> <Setter Property="Foreground" Value="White" /> </Style> <Button Content="Button1"></Button> This s...

How can I highlight certain options in a HTML select - using javascript

Hello, I saw this post: http://efreedom.com/Question/1-1161772/Can-Highlight-Certain-Options-HTML-Select-Using-JQuery which is similar to what I need to do, except a bit too complicated for my understanding. In the html body, I have a dynamically changing select form. The user can select multiple items from this form, and click a b...