css

Can you recommend a CSS stylesheet that formats C# code?

I'm working on a code generation tool where the output is display in a tag and wondered if anyone knew of a CSS stylesheet that would format the output. My rendering engine is Javascript based and I'd like to continue perform all operations of rendering client side. ...

Change tr background-color

I have something like this: <tr id='<%=currentRow %>' onclick="SetBackgroundColor(this)" style="background-color:Yellow"> When i click on a row i want to change its background color and i did like this: function SetBackgroundColor(rowId) { $(rowId).css("background-color", "#000000"); } but i don't know why it doesn't work. An...

How To Specify (Override) JQuery Icon Color

Hello, I've been making good use of the jQuery icons in my web app, but have come to a point where I would like to use a color that I'm not able to achieve by default. I'm currently using the "State Street" theme, which primarily uses green. But I have a red box with white text, and would like to use an icon that is white as well. There...

absolutely positioned tag not working in IE6

This page http://winteradagency.com/Arvin/incentives/lenders.htm looks good in all browsers except IE6. The thing that is going wrong are the big words that need to be on top of the picture in the center that say "Deductions for Lenders". In IE6 they are going way off to the right causing the browser window to have a horizontal scroll....

image vertical alignment issue

I have an image that I want vertically aligned with some text. The image has no border, no spacing, and has been properly cropped. However, it aligns differently in IE and Firefox, and I cannot figure out why. Alignment in IE: Alignment in FF: Notice how in FF, the X box is flush with the bottom of the text. The HTML I am using is...

How do you create tabstops in XHTML?

Hi there, I'd like to use an element like 'span' or any other regular ole' element to create a tabstop in an xhtml webpage (i.e. valid XML). The effect should be equivalent to 4 "&nbsp;" right next to each other (couldn't do that without putting a space between the ampersand and 'n'. Anyone know how to do this? Edit: My initial post did...

jquery Jscroll Not Showing

Can't seem to get Jscroll to show up. I set a color in the style sheet just to test it but I can't get anything to show up. Any help would be greatly appreciated. http://cheapramen.com/JQuery/jscroll/jscroll.html ...

hide checkbox border in html/javscript/css

is there a way to hide the square border of a checkbox in html? ...

How do I get this CSS text-decoration issue to work?

Some days I swear I'm going mad. This is one of those days. I thought my CSS was fairly straight-forward here, but it just doesn't seem to be working. What am I missing? My CSS looks like this: ul > li { text-decoration: none; } ul > li.u { text-decoration: underline; } ul > li > ul > li { text-decoration: none; } ul > li > ul > li....

What is this IE CSS bug called? (Double vertical padding)

(Note, this is not the double-margin bug. I'm calling this the double-vertical-padding bug for now unless someone else has a more clever/documented name for this?) Just when I thought I'd seen all the quirky IE CSS bugs, I've produced a simple test case that continues to confuse me. The page below looks and works great in FF, Opera, et ...

image position and clipping

hi, does anybody knows how to place an image in the webpage, but both position and clipping (maybe also resizing) are interactively done by user ?, i need it for my registration page, i've done some clipping and resizing from css and javascript, and it's not really solve the problem. If it's can be done by php, it will be perfect ! thx. ...

Hiding the text input cursor (the caret) showing through overlayed elements Internet Explorer

I have a form with a special widget that fills in a text input. When the text input has focus, the widget appears above the text input (intentionally above it) and the user clicks options in it, when they're done it disappears and fills in the input. There is a problem with this in IE, when the widget appears above the input, the field's...

Could it be possible to make css selector affect other elements in the page without javascript?

For example, I want to make two textboxes have the same style when either is focused: <div class="divTxt"> <input type="text" id="a" class="a" /> <input type="text" id="b" class="b" /> </div> and the css would be: .a:focus { background-color:Blue; } .b:focus { background-color:Yellow; } What I need is make a's bac...

How do I get colors to work in sIFR 3 r436?

I've got a demo page up here; you can view source to see what I'm trying to do. As you can see, everything about it seems to be working except for colors. I'm trying to set the color to blue (#0000ff), but it stays as black. I created a custom SWF file for my font, embedding four different variations of a single font in order to accommo...

Embedding Custom font in aspx StyleSheet.css

Hi Folks, I am trying to embed my new fonts with the StyleSheet.css as @font-face { src:url(../Font/HelveticaNeueLTStd-Lt.otf); font-family: "HelveticaNeueLight"; font-style: normal; } .helveticaclass{ color: Red; font-size:12px; font-family: "HelveticaNeueLight"; } And apply to the lable as <as...

How do I enable SASS line numbers in CSS output?

How can I enable line numbers in CSS output if I am using SASS? I found an article but I didn't quite understand where to make the modifications http://pivotallabs.com/users/damon/blog/articles/765-standup-04-07-2009-we-have-questions#comments Could you help me? ...

Getting Outlook to respect margin-top: 0px on body of an email?

Hi, I have a minor question: Im doing a email that is being sent out and wish to have no margin at the top of the email - so that a image or table is flush with the top of the viewport. I have tried sticking body tags in the html email with margin-top: 0px and it works fine in Thunderbird. However when testing in Microsoft Outlook the...

Cufon Nested Hover Problem

When using multiple lists and hover states the 'parent' Cufon style replaces the child. In the following example, when you hover the Second Level link it will be replaced by a different weight. Is there an option I can set so that the nested style stays the same or is this a bug/limitation within Cufon? <ul> <li><a href="#">Top Le...

Do IE Conditional Comments slow down page load?

I've been having the "CSS hacks" vs "Conditional Comments" argument enough times lately that I thought I'd throw this question out to the Stack Overflow community. <!--[if IE]> <link type="text/css" rel="stylesheet" href="ie-specific.css" /> <![endif]--> The main argument against using IE Conditional Comments seems to be that you're...

what does this element do?

What is the meaning of the following element in HTML... margin:0 0 0 847px **!important;** margin:0 0 0 848px.. Is it related to the browsers??? ...