background-color

In MATLAB, how do I change the background color of a subplot?

I'm trying to change the background color of a single subplot in a MATLAB figure. It's clearly feasible since the UI allows it, but I cannot find the function to automate it. I've looked into whitebg, but it changes the color scheme of the whole figure, not just the current subplot. (I'm using MATLAB Version 6.1 by the way) ...

Customizing pop up background color with IE7 open popups in new tab setting

I have a pop up on my page that I want to have a white background if it is opened in a new tab according to the user's settings in IE7 to open pop ups in new tabs. Is it possible to customize this, or am I stuck with a black background. Also, can I set the position of the pop up if it is opened in a new tab. For instance, if the pop up...

objectlist in mobile application

Hi All, How can i change the background of the selected row in the objectlist control of mobile application?Urgent. Thanks & Regards, Khushi ...

White (Light) vs. Black (Dark) Backgrounds: Health Effects

I am adding a bounty to this question, hoping for some scientific research results. Thank you everybody! I have recently tried working on dark backgrounds, and it seemed (to me) to be easier on the eye. However, today I read Gerrie Schenck's comment on this answer, in which he said that mainframe developers were advised to use white b...

Background-color hex to JavaScript variable (jQuery)

I'm kind of new to JavaScript and jQuery and now I'm facing a problem: I need to post some data to PHP and one bit of the data needs to be the background color hex of div X. jQuery has the css("background-color") function and with it I can get RGB value of the background into a JavaScript variable. The CSS function seems to return a s...

jQuery dialog theme and style

How do I change the title bar background color of jQuery dialog? I have looked at the themeroller but it does not seem to work for me. Thanks ...

Fade the background-color of a span tag with JQuery

I'm trying to fade the background-color of a span tag using JQuery to emphasize when a change has occured. I was thinking the code would be someting like the following inside the click handler, but I can't seem to get it working. Can you show me where I went wrong? Thanks Russ. $("span").fadeOut("slow").css("background-color").val("FF...

JQuery animate

I have some JQuery code in the click event handler for a checkbox that updates the value of a span control on the page, then animates the background color of the span tag to yellow and then fade back to white in about a second to draw attention to the user that the value of the span has changed. The problem is that if a user clicks repe...

Print Web page with background colors

I have a javascript backed 'print' button on my webpage where the user can print the webpage. This works ok except the background color of various elements does not print. Is there a method of printing a web page whereby the background color of the various elements will print? ...

jQuery - can't set css propery in ajax callback function

I'm trying to get an jquery ajax callback function to update the background colour of a table cell, but I can't get it to work. I have the following code (which produces no errors in Firebug): $(".tariffdate").click(function () { var property_id = $('#property_id').attr("value"); var tariff_id = $('#tariff_id').attr("value"); ...

Set background color of WPF Textbox in C# code

How can I change the background and foreground colors of a WPF Textbox programatically in c#? ...

Set background of DateTimePicker.

How can I fill the background of drop down calender of a DateTimePicker with gradients? ...

How to set the colour of my 1st row in my JTable to yellow(or any colour)?

I am able to set one column to yellow but I am unable to set a row to yellow. The following code does it for the column: TableColumn col = mytable.getColumnModel().getColumn(0); col.setCellRenderer(new MyTableCellRenderer()); How do I do it for a row please? I have tried the tutorials and examples on the net but it always paints th...

Setting background colour of a UIView increasing memory usage

I am loading a number of UIViews onto a UIScrollView and am trying to track down why they are using so much memory. After a process of elimination using Instruments I have discovered that setting the background colour of the views increases memory usage by 4 times. If I don't set the background colour the memory usage sits at around 4....

Changing UITableViewCell textLabel background color to clear

In my app i have a table view with customViewCells. i subclassed the UITableViewCell class and added an image that will load async and for the text i use cell.textLabel.text = @"someThext". for the cells the background color is set alternatively to [UIColor darkGrayColor] and whitecolor. When i run the app in the simulator and on the p...

Background Color and Italics sets off Internet Explorer 7 bug

The following code demonstrates the issue I'm encountering: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"&gt; <html> <head> <style> p { background-color:#FFF; } </style> </head> <body> <img src="http://www.google.com/intl/en_ALL/images/logo.gif" style='float:left;'> <p><e...

Blackberry - Setting LabelField background color

I want to place several LabelFields with right-aligned text on a MainScreen with an alice blue background. Unfortunately I can't seem to figure out how to make that happen. The best I can do is set my backround to Color.ALICEBLUE on a MainScreen and place LabelFields on the screen (also with a alice blue background). public void ...

iphone - table Cell color doesnt apply behind disclosure indicator.

I have a table view that has alternate colors as background color for cells. In addition to that i have added a disclosure indicator accessory. However, the problem is that the cell background color doesnt seem to apply to the area 'behind' the disclosure indicator. The cell background color seems to truncate before the disclosure indica...

JQuery help - animate background color

Hi Using JQuery, what I want to do is create a function that when I call the function, it will fade the background color of my "#page" DIV from the CSS defined background color to yellow then back to the original CSS background color for #page. Any ideas on how I can do this with JQuery? I know JQuery has both an "animate" and "highli...

How to set CSS for <td> background-color in a sitemap

Hi, I have the same problem as http://stackoverflow.com/questions/1041833/possible-to-fill-a-table-cell-with-a-bg-color. The problem is that i'm using a sitemap and not sure how to set the css for the td tags. (This works fine in firefox and IE8, but not IE7) I'm using the following CSS: .subMenu { z-index: 100; min-width: 11...