css

Infragistic UltraWebGrid: Row visibility and inline styles

We're using an infragistics grid and the rows are suddenly running outside of the grid container. Instead of hiding behind the page and scrolling horizontally with the header they show on top of the page background, are stationary, and cause the browser to scroll vertically. This is in IE 8.O (in and out of compatibilty view) and works ...

2 Column CSS Layout for 728px and 300px ad display

I've been searching high and low for a 2 column CSS based layout that has a header, footer and a main area which contains 2 columns. Ideally the left column will display a 728px ad and never be chopped off and the right column will be 300px (for a 300x300 ad) and should be remain fixed, the rightmost side of the right column could be cu...

How to declare dependent style names with UiBinder

I have a simple UiBinder widget containing a TextArea: <!DOCTYPE ui:UiBinder SYSTEM "http://dl.google.com/gwt/DTD/xhtml.ent"&gt; <ui:UiBinder xmlns:ui="urn:ui:com.google.gwt.uibinder" xmlns:g="urn:import:com.google.gwt.user.client.ui"> <g:TextArea visibleLines="3" /> </ui:UiBinder> I want to control the background color of th...

Dynamic Columns in CSS

I have dynamic elements that I would like to flow downward and fill over multiple columns (like in Word, for example) rather than float left or right or stack in the typical manner. Are there any functions of CSS that make this possible? If not, what course of action can I take here? ...

How to have an asp.net ajax control automatically reference css files

Hi, I was wondering if its possible to have an ASP.NET AJAX custom usercontrol 'register' its use of CSS files like it does with JS files. ? Eg: Implementing the IScriptControl interface allows for the GetScriptReferences() to be called by the Script Manager, is there a similar thing for CSS files? ...

Div and Image Margin/Padding

Hi, Can anyone tell me why the below CSS produces extra margin below the image? It should just add a 5px padding around the whole thing and it works fine with text. Any ideas? div#somediv { margin: 0; padding: 5px; } div#somediv img { margin: 0; padding: 0; } <div id="somediv"> <img src="someimage.jpg" /> </div> ...

How to handle caching of GWT theme CSS files

I've got an app written with Struts/Tiles/JSP that I'm adding a GWT app to. The non-GWT portion of my app handles css caching by actually writing out the css file with a version number taken from my svn repository attached, like this "styles.css?svnbuild=12345". That way I can tell the browser to cache those css files forever and when ...

can a <tfoot> go at the bottom of a table?

I'd like to use a <tfoot> tag in a table to be semantically correct, but it keeps showing up at the the top of my table. Is there a way to tell it to display at the bottom? ...

fixed image within a container

Hi, What is the best way to make a div scroll along with the page? The exact effect is utilized @ http://store.apple.com/ (on the checkout summary after a product is added to the cart) edit: or this example - alas, it's not as smooth as i'd like it to be =/ ...

How to set float for every element inside a div at once wihout specfiying float for every element inside?

How to set float right for every element inside div? I want to give float to inside elements only not to parent DIV? <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt; <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>Sandbox</t...

It is recommendable to type the color's name instead of its hex value in CSS?

I always forget what colors I'm dealing with in CSS when I see it hex value. I would like to use the name instead (e.g color: lightgreen). Is it supported by all browsers? (or only the basic 16 colors)? ...

CSS div overlay and jQuery

This is more or less a CSS question but I am using it with jQuery. OK, so basically what I have is this: <div style="overflow: hidden; width: 1000px; height: 450px; background-color: rgb(0, 0, 0); position: relative;" id="wrapper"> <div style="background-color: rgb(255, 255, 255); opacity: 0.9; top: 0pt; left: 0pt; width: ...

How do I change tab size in gVim?

Every time I add a selector in CSS and I press Enter to define the properties it ends up like this: #selector { property: value; } (8 tabs) How can I configure gVim to make it like this: #selector { property: value; } (4 tabs) ...

CSS applying in Internet explorer 7 but not in firefox 3.5?

See Year's TAB 2009/2010 of this page in IE7 than firefox Tab's styling not applying in Firefox but applying in IE http://tinyurl.com/yarooc4 I want to apply same style (Which is showing in IE7) in FF too. Update: problem fixed now but through !important ...

CSS create color gradient

Is there a way to create a color gradient in CSS without using an image file? I am trying to give a DIV a background with a color gradient so that it looks glossy. ...

WebBrowser Control IE8 Compatibility Mode On/Off Switch

I am having a IE8 compatibility issue while using the WebBrowser control to navigate to a website. The strange thing is sometimes the website works, but more than likely it wont. I can refresh the page sometimes and it works as well. Just going to the page in IE8 I experienced the same CSS rendering problems so I switched to compatibil...

how can we use and control Gradient

i use this as a background bar ... repeated of course http://www.freeimagehosting.net/uploads/3c2f75b680.gif and i want to replace that with simple CSS Gradient color without image ...so i searched all over the internet and i found this: filter:progid:DXImageTransform.Microsoft.Gradient(endColorstr='#ffffff' ,startColorstr='#000000' ...

JSF setting div class after validation exception

Hi there, at the moment I've got a construct like this: <div class="line"> <label>Label</label> <h:inputText id="text-id1" required="true" ... /> </div> Now when a validation exception is thrown I show them in a <h:messages ... /> Is it possible to set the error class to my wrapping div? ...

Simple getComputedStyle in Prototype JS?

Is there an easy cross-browser way to get computed style of an element in PrototypeJS, without checking document.defaultView... and other properties? ...so that the code looked like var elt = $$('.xyz')[k], border = elt.getComputedStyle('border-bottom-width') PrototypeJs provides getDimensions, -Width, and -Height methods that ret...

iframe background image showing fine in Firefox but not in IE

Why IE not showing BG mage like firefox in Iframe? I do not have access of iframed page. any CSS or javascript solution ...