I have a style sheet in my Flex Application, referenced as:
<mx:Style source="/assets/stylesheets/default.css" />
In this style sheet, I set dropShadowEnabled to true gloablly:
global {
fontSize: 11pt;
dropShadowEnabled: true;
verticalAlign: "middle";
}
This gives a drop shadow to many components, including all TextInpu...
There are times when I have a choice between using a css element:hover or javascript onmouseover to control the appearance of html elements on a page. Consider the following scenario where a DIV wraps an INPUT
<div>
<input id="input">
</div>
I want the input to change background color when the mouse cursor hovers over the div. The C...
I have a wizard-style HTML form with a row of submit buttons for the Back/Next/Cancel actions (in that order). The form can also contain a varying number of input fields, such as text fields, radio buttons, checkboxes, dropdowns (select tags), and textareas. The customer requires the "Next" button to be the default action, so that if the...
Is there a simple way to display a color bitmap in grayscale with just HTML/CSS? It doesn't need to be IE-compatible (and I imagine it won't be) -- if it works in FF3 and/or Sf3, that's good enough for me.
I know I can do it with both SVG and Canvas, but that seems like a lot of work right now. Is there a truly lazy person's way to do...
I heard you should define sizes and distances in your stylesheet with em instead of in pixels. So the question is why should I use em instead of px when defining styles in css? Is there a good example that illustrates this?
...
Hello. I am trying to create a liquid 3 column area within a list item. To achieve this, I use the standard method of having 3 elements, of which the first two are the sides, floated left and right, and the 3rd is the content, which should sit between the two. The following HTML works fine in Firefox, but doesn't render correctly in IE7 ...
I have the following HTML:
<form action="http://localhost:2689/" method="post">
<span>
<label for="SearchBag.PowerSearchKeys" id="Label1"> Key words</label>
<input id="SearchBag.PowerSearchKeys" name="SearchBag.PowerSearchKeys" type="text" value="" />
<button id="powerSearchSubmitButton" class="...
I am trying to some-how set the valid HTML tags and attributes users would be able to use in WMD Editor in my site. For example, I want to forbid the user to directly set the font size, color, typeface and so on, which is trivial to do with the default settings typing something like:
<span style="font-size: 45px; color:#FF0000">Some int...
I am trying to make the "view all" link to the right of each h1 header to be smaller.
.view-all a:link,
.view-all a:visited {
text-size:.5em;
}
<h1>Student Activities <span class="view-all">
<a href="/student_activities/calendar/" title="view all">
view all</a></span></h1>
Any help is appreciated as to what I am doing wrong.
All...
If anyone can give any insight here it would be very much appreciated. I want to create output that shows reservations in fitness classes on various dates. The idea is to have three across and however many rows are needed to cover all of the dates. To do this, I'd like to use CSS rather than resorting to tables.
Ok, so I have the follo...
I have a site that has a large menu and each item on the menu has an icon. I have been looking into implementing a CSS sprite to speed it up, but I am wondering what the performance gain will be. My site is not open to the public so the users will almost always be repeat, so is it worth implementing or should I just rely on caching?
...
I want to change the default appearance of the arrow of a dropdown list so that looks the same across browsers. Is there a way to override the default look and feel of the drop down arrow using CSS or otherwise ?
...
Hey,
I'm near ending the repetitive alarms at my little learning project. It's still full of bugs, but as it is a weekend project I'm correcting them slowly. My problem is inconsistency of layout across browsers.
At the moment, I'm trying to improve the "My Alarms" box after login (Just don't try to hack my website, it's still very u...
This code will work fine in Webkit (chrome) but not in firefox, where the second span will drop, do you know why?
<div id="sbar">
<span id="status">Some Text</span>
<span id="mlog" style="float: right;">Some text in the right</span>
</div>
...
I am concerned with using CSS classes that are defined in style sheets with my jQuery selectors. The reason for this is when a CSS class is defined in a style sheet there are many reasons for a developer/designer to change the name of the class or how it is used in the html that is detached from the jQuery selector that also uses the cla...
I have to add * Required to a ton of screens in Flex. In some places, I can't use more than one label. I need the asterisk to be as big as the text. The only idea I could come up with was:
.required:first-letter {
font-size:30;
}
Doesn't seem to work. Are pseuedo-selectors not implemented in Flex?
...
Is there a way to apply a Class' style to only ONE level of td tags?
<style>.MyClass td {border: solid 1px red;}</style>
<table class="MyClass">
<tr>
<td>
THIS SHOULD HAVE RED BORDERS
</td>
<td>
THIS SHOULD HAVE RED BORDERS
<table><tr><td>THIS SHOULD NOT HAVE ANY</td></tr></table>
</td>
</tr>
</tab...
I have a webpage with a big jpeg file like this one https://www.donationcoder.com/Forums/bb/index.php?PHPSESSID=pee3l52288fspopb9i20dpeuv6&action=dlattach;topic=4066.0;attach=2451;image , but when I print this from IE, I could see only one page is printed that with quarter of the image.
Is there any way I could print the whole image...
Problem: how to combine fixed heights with flexible page layout?
"bodyDiv" height needs to be : 100% of ( window.innerWidth less ?px ).
"a" & "b" height need to be : 50% of ( body.div.height less ?px ).
<HTML>
<body>
<div id="headerDiv" style="height:?px">fixed height</div>
<div id="bodyDiv" style="he...
I have a TextBox input element that has a RequiredFieldValidator as such:
<div>
<label>First name</label>
<asp:RequiredFieldValidator ID="RequiredFieldValidatorFirstname" runat="server" ErrorMessage="Required" ControlToValidate="TextBoxFirstname"></asp:RequiredFieldValidator>
<asp:TextBox ID="TextBoxFirstname" runat="server"...