Hi
Is it possible to have an HTML select field where the OPTION text is of different colors?
<select>
<option>Black_text (yellow_text)</option>
</select>
I tried using an CSS SPAN element to color the text but that doesn't seem to work.
Any ideas?
UPDATE: Note, I'm trying to have multiple font colors on the same OPTION row. I've se...
Why does margin-top value not work in IE?
Works fine in FF and Safari. Here's the link
Thanks
...
Hi, I have some toolbars that have pretty simple structure: One wrap div that has header, content and footer divs inside. Header and footer have 3 divs inside them: left, middle and right.
To get a better idea of the structure, check this image: http://ezmundorf.110mb.com/toolbars.png
Reason for the structure is that I need rounded co...
Is anyone aware of a way to have VIM style folding in Visual Studio? I use #region blocks in c# class files and they're great, but unfortunately there's no equivalent functionality for javascript and css. The site/app I'm currently working on has a rather lot of css selectors and javascript and navigating the monolithic files is becoming...
What is the WPF analogy for the CSS em unit?
...
I have some Javascript that is opening a blank window, assigning it with a stylesheet and then writing some text to it. This is all working fine except that the content is not having the styles applied to it.
The code looks like this:
var newWindow = window.open('', 'SecondWindow', 'toolbar=0,stat=0');
var style = newWindow.document.c...
I had a discussion with someone about absolute positioning. He claims that the best practice to secure that everything looks all the same across most browsers and that it's the easiest way to maintain the looks and feel that you intended for a website.
I disagreed with his opinion, that absolute positioning would be the remedy and an ov...
How can i get the :hover in css stylesheet on the fly with jquery?
stupid example:
a.foo {
color: red;
font-size: 11px;
}
a.foo:hover {
color: blue;
font-size: 12px;
}
how to retrieve that color and font-size before that mouse will go over the anchor?
...
I am generating a PDF file dynamically from html/css using the cfdocument tag. There are blocks of content that I don't want to span multiple pages.
After some searching I found that the style "page-break-inside" is supported according to the docs. However in my testing the declaration "page-break-inside: avoid" does no good.
Any sugge...
<select class="FunctieSelect">
<option class="yellow" value="-1">- kies -</option>
<option class="yellow" value="1">KSZ functie</option>
<option class="yellow" value="2">Bakker</option>
<option class="yellow" value="3">Schilder</option>
<option class="yellow" value="4">Andere</option>
</select>
with
.yellow
{
background-color: Yel...
I see a ton of designs for forms that include form fields, but I can't find good examples of displaying labels in a form.
Does anyone have good layouts for forms that show information instead of gathering it? I've got a form that shows a user profile with several fields and I'd like to spread it across the horizontal area.
...
We have an ancient application that basically duplicates a file explorer, outlook style application in html (menu and toolbar on top, tree on the left, gridview on the right, and yes I know it is a bad idea to bring desktop UI to the web, but it was 2000 and seemed like a good idea at the time). The main problem (other than the HTML is ...
I'm building something that requires a simple HTML frontend for editing some properties in CSS. However, I need to get the value specified by a CSS file.
The only parser I can find is CSS Parser Project , and it is in Java. It implements both Document Object Model Level 2 Style & SAC: The Simple API for CSS API. It should work, but w...
Hi,
Hopefully this is an easy one but I have not found a solution. I want to put space between columns on a table.
Example
| Cell |<- space ->| Cell |<- space ->| Cell |
An important point is that I do not want space on the edges. There is a border-spacing property but it is not supported in IE (6 or 7) so that is no good. It also...
I'm trying to compile a guide for students used to publishing in print who are learning web design.
Some obvious things which web developers know but they don't:
You can't rotate graphics in HTML
All objects have to be rectangular, you can't have a circular DIV
Many typographical effects in their repertoire can't be achieved
Some th...
I am using XHTML 1.0 Strict on my website and have the following CSS style on my links:
a:hover {
border-bottom: 1px dotted #447799;
}
and my images:
a img, img {
border: none;
text-decoration: none;
}
Yet, when I hover over my title banner the bottom border still shows up dotted and blue. Obviously, I can't use border=...
When using the jQueryUI samples on the website (theme browser) things look great. But, when I put the code and theme into my application, the sizing is way out of whack (I'm trying to utilize the Redmond theme).
Any ideas as to why these samples look so different? In the application I've built, there is only 1 CSS reference which is f...
I am trying to make a web app print receipts for my customer (he asked me for it) I've placed a table and everything however when I print it I just can't get it to print correctly into the fields of the receipts. Let me explain, the receipts are already made so I am merely making a place where the user inputs all the required fields and ...
Hi I seem to be having issues getting my layout to clear properly. Look at link text
I can't stop the item in the left column from pushing down the items in the right. Can anyone help?
Here another link to a screenshot with some pointy arrows
...
Currently I am trying to modify a css style attribute for a div based on the information I get from a database table in the code behind of my aspx page. In simplified form the following is essentially what I am trying to do but I get errors.
Here is my code:
ASPX:
<div id="testSpace" runat="server">
Test
</div>
CODE BEHIND:
testSp...