stylesheet

Flex - Changing the color of a Custom scrollbar using CSS properties

Hey everyone, Currently, I am implementing a scrollbar using a custom embedded image using my CSS stylesheet. This is a very simple, thin scrollbar. I would like to configure this scrollbar using CSS properties at runtime, but so far I have been unable to do so. I know it can be done because I've seen examples of it in the net, but no c...

Programmatic WPF FlowDocument generation and dynamic styles.

I'm generating a FlowDocument in code but I want it to apply dynamic styles defined in the resource dictionary. Even though I set the key using SetResourceReference, it seems like the resource lookup doesn't occur once I add the TextElements to the FlowDocument. My guess is that just adding the control to the document doesn't hook u...

Get Source of HTML File with CSS Inline

Is there a simple way to save an HTML page that has an external stylesheet (1 or more) referenced but force all of the rules to be inserted into the page itself, inline? So basically I want to move all external rules onto the elements that they affect themselves. For what it's worth, I'm using nearly every major browser (incase the solu...

Issue getting footer to "stick" to the bottom of the page

Hi, I am having an issue with a worpress template, I am trying to get the footer to stick to the bottom of the page. I have found code to do this but on some pages there is a grey section between the footer and the body of the content. I have inspected this in firebug bug there seems to be nothing there. It only happens on screen wi...

How to share stylesheet types across GWT widgets

Hi I'm attempting to create a composite widget, which will show a 'list' of child widgets, but I'm having some trouble getting css to work in this setting. Have constructed a simple demo, to try and figure out a solution. Have tried to specify the parent widget like this <ui:UiBinder xmlns:ui='urn:ui:com.google.gwt.uibinder' xmlns:g...

Single huge .css file vs. multiple smaller specific .css files?

Is there any advantage to having a single monster .css file that contains style elements that will be used on almost every page? I'm thinking that for ease of management, I'd like to pull out different types of CSS into a few files, and include every file in my main <link /> is that bad? I'm thinking this is better positions.css but...

how to change the look and feel for Qt form ?

i need to change my form look and feel and i dont know : what i need to download and install ? is there any ready to use look and feel installed into qt library ? i am using windows and qt 4.4.3 ...

In actionscript 3 how can I edit a textArea after applying a styleSheet?

Here is a portion of my code: var styles:String = ".keyword{color: #ff0000;} .comment{color: #00ff00;}"; var myStyleSheet:StyleSheet = new StyleSheet(); myStyleSheet.parseCSS(styles); myTextArea.htmlText = '<span class = "keyword"> red </span> uncolored <span class = "comment"> green text</span>'; Everything is fine till this point, ...

How do I change the backcolor of a textbox when user clicks into it with CSS

Question is in the subject. ...

Adding a dotted line trail after menu description

How would I go about adding a dynamic ".........." to a restaurant menu in CSS? Like in printed ones they have the whole "our food is made of blah blah blah.............$24.99." How would you do that in CSS? Or is this even possible? ...

ASP.NET - How to include CSS only if it isn't alrealy included?

Hello All! I use the code bellow to include dinamically a CSS: HtmlHead head = (HtmlHead)Page.Header; HtmlLink link = new HtmlLink(); link.Attributes.Add("href", Page.ResolveClientUrl("~/App_Themes/Default/StyleSheet.css")); link.Attributes.Add("type", "text/css"); link.Attributes.Add("rel", "stylesheet"); head.Controls.Add(link); Th...

How to force <noscript> to be inline & inherit CSS styles?

Using <noscript> inside of another tag seems to cause it to take on its own style (that is, none), and forces the text inside to take its own line (even if display:inline is set with CSS). Is there any way to avoid this, or a workaround to use instead? Here is what I mean: http://www.webdevout.net/test?01I <!DOCTYPE html PUBLIC "-//W3C...

Why does this random, unexpected horizontal line appear in IE7?

I am using YUI's datatable (http://developer.yahoo.com/yui/datatable/) to make a table. But notice something very wrong...sometimes, there is a line that appears on top of a result, only in IE7. This may or may not be related to the YUI plugin. Does anyone know how to fix this? Thanks.! Edit: For some reason, it only appears at that p...

Rails - Add style/image to button_to

I'm developing in rails right now and I was wondering if there are any easy ways to add some style to the button_to control. Can you add styling to the <%= submit_tag 'Log in' %> or <%= button_to "Show Me", {:controller => 'personal', :action => "add" } %> It would be great to change the color....But brownie point if someone can...

Applying style sheets in pyqt

Hello all, If i apply a property to a parent widget it is automatically applied for child widgets too.. Is there any way of preventing this?? For example if i set background color as white in a dialog the button,combo boxes and scroll bars looks white as it lacks it native look(have to say it's unpleasant & ugly).. Is there any way that...

How can I format all td elements contained in a table with class myclass in CSS?

How can I format all td elements contained in a table with class myclass in CSS? I want a format rule which applies to <table class="myclass"><td>FORMAT THIS</td></table>. ...

How do I apply a style to all buttons of an Android application

I have a style applied to my whole application: AndroidManifest.xml: <application android:theme="@style/ApplicationStyle" android:icon="@drawable/icon" android:label="@string/app_name"> And in my styles.xml: <style name="ApplicationStyle" parent="android:Theme"> <item name="android:button">@style/CKButton</item> </style> <style...

simple onmouseover to call javascript not working

In a simple html page I have: <SCRIPT> function Clicker(number){ if (number == 1) document.write ('<style type="text/css">body {background-color: #cccccc;}</style>'); } </SCRIPT> and in the html body: <a onmouseclick="Clicker(1)" href="#">clic</a> But when I click on the link nothing happens. Where am I wrong? ...

changing css properties via javascript

I need a function to change the appearance of some elements in my html page "on the fly", but I am not able to do. The problem is that I cannot use a command like document.write ('body {background-color: #cccccc;}'); because I need to make the changes effective when the page is already loaded, using a link like <a onmouseclick="Cl...

How to change the CSS of entire page/website on click?

Is it possible to have 3-4 CSS on a page, and then on any event, say click, change the css for entire webpage. This way we can give our user the ability to change the theme. I know we can change the css of an element by: $("#myElementID").removeClass("class1").addClass("class2"); ...