css

Making a div that sits outside the content area but doesn't cause the horizontal scroll bar to appear when browser window is shrunk

Hello all, Let's say you have a website where the body's background color is red and a content area with a white background that is 1,000 pixels wide. Now let's say you want a drop shadow on the content area that is darkest at the juncture of the content area and the red background, and gets less opaque as it goes off the the left on th...

How to apply css to html so that it shows as the style property

I want to write an application that sends html formatted email. I have the css and html files as I want them. I'm trying to send the email with the embedded css using the style element like so: <style type="text/css"> h1 {border-width: 1; border: solid; text-align: center} </style> <h1>Title</h1> <p>Content of the email</p> It work...

Creating CSS3 round corners in Opera.

i understand how to create CSS3 round corners in FF & webkit however how would one create them in opera purely with CSS3. ...

making block level elements clickable links

I have the following design problem. I have a list of items and I want to make the whole of each of the first li to be a clickable link. I have tried adding a link in each li, making it a block level element and positioning it absolute, but that doesn't work because the parent and all li's are floated left for layout purposes. Any help w...

SO chat: how to make the sidebar not respond to scroll event?

I am using chat feature of chat.stackoverflow.com... It's really amazing! I am curious, when I scroll the window, the right side of the chat room(div id="sidebar") didn't respond to the scroll event at all, how that can be achieved? ...

Have iFrame fill screen minus a set pixel footer

Hi SO, How do you get an iframe to fill up the height of the screen minus a 33px footer space at the bottom? I need the scrollbars of the iframe (both up and down arrow) to show. And it must be without Javascript (so it can degrade pleasantly :). (The only thing I've found on SO is to use padding-top which doesn't seem to work in my ...

Choosing language

Choosing language I see http://github.com/ and OpenBSD.org got 2 examples how to. Github has a dropdown and openbsd.org just links. Which kind of UI for this use case could you recommend? I now take the parameter hl=el for instance for greek which switches i18n internals to greek or other language and present available languages like thi...

What is Quirks mode in IE8 Developer toolbar?

Hi guys, I am wondering what is Quirks mode in IE8 Developer toolbar? Why page rendering is different in Quirks mode than in IE8 standard mode? ...

Set OL padding back to default after reseted

Somewhere resets ol's padding to 0 ol { padding:0; } I need to set it back to default which padding is growing depends on the number ol { /* ??? */ } Uploaded here: http://jsfiddle.net/jGxLS/ Preview: As you can see, the padding is not growing (overflow to the left): How to make the padding grow? ...

jquery .attr() with callback?

On my set I use jquery to fadeout an image, change its source to something else, then fade back in. However, sometimes on slow connections, the image will fade back in before the source completely changes, so the old image will still appear for a brief second before the new one comes in. Is there a way to have a callback on attr so fadi...

A question about a CSS browser attack

I have been reading this - http://scarybeastsecurity.blogspot.com/2008/08/cross-domain-leaks-of-site-logins.html I do not understand it completely. The PoC displays an alert to the user. How does this help an attacker? From trying to understand that PoC, would it not rely on a CSS id of blah being present? How would you know in advan...

Migrate website / application from IE6 to IE7 / IE8

At the moment I have to migrate a web-application (ASP.NET 2.0 with Masterpages) from IE6 to IE7/IE8. Where can I find hints and guidelines for this topic? The webapplication looks fine in IE6 but completely awful in IE7 and IE8. In IE8 I cannot see the compatibility button. ...

asp controls acting strange

Hi! Im making a site on wich i need to make a search. So i made it like this (check picture) as you can see the asp dropdown lists arent in line with the div (blue box) and they have no css on them... All this happens in FF, in internet explorer the textbox is lowered and the dropdowns are at the correct height... What could be wrong? h...

IE 7 positioned elements error.

Is there a standard workaround for IE positiond DIVs. ...

animation are not shown on jsp

In my Struts based application on eclipse, graphics animation on jsp page are shown in preview mode (both mozilla mode and IE) like I can click to button some text animation are display(like toggle effect) but on design mode button are not give any response. i am using jquery,css and js. ...

Show/hide child elements within a nested list block

I'm modifying a tree view of some relationships we have, I've managed (with help) to get the checkbox ticking the children of itself but what I'm attempting to do now is by clicking the plus next to each parent display the relevant child levels. Likewise, if the minus is clicked, it should hide the child elements. The list can contain a...

Help me understand odd CSS behaviour!

Odd CSS behavior. When i set the visited color using CSS(a.nav:hover as below example) then the hover doesn't work once the link is visited by the user. However when i set it with the reference of the parent element(.header a.nav:hover as below) it works. why ? a.nav:visited{ color:yellow; } /*once the link is visited by user this rul...

Printing an HTML page (the FULL page!)

Hi all, I have a web page which has many divs (listed like table rows), and the rows exceed the length of the page (within view, before you have to scroll down). I am using some JavaScript to toggle what information is displayed on my page (for example, number of rows.) I have made a print.css file and have manaed to edit the style tha...

I need to put a new CSS from ASP.NET how to do it

I need to put a new CSS from ASP.NET when the image button Control comes dynamically ...

Need help with Telerik RADEditor CSS issues plz

<telerik:RadEditor ToolbarMode="Default" ID="editor1" runat="server" EnableEmbeddedBaseStylesheet="true"> </telerik:RadEditor> The editor's using Default skin..when I made changes to Editor.Default.CSS file...they didn't reflect on my page..but when I type the following I can see the changes:- <link href="Skins/Default/Editor.Default....