css

Css mulitple class selector

I am trying to select a element with multiple classes. .parent1 .subparent2 .class1, .parent1 .subparent2 .class2, .parent1 .subparent2 .class3 { } As .parent1 .subparent2 .class1.class2.class3 to select a element with all three classes but it doesn't work. Any idea how to do this? ...

DD_belatedPNG and DD_roundies having conflict with Cufon in Opera

I am facing strange problem in opera while using cufon with dd_belatedPNG and dd_roundies. every thing works fine in every browser execept opera. Once I remove below two lines it cufon works with opera as well. but I need dd_roundies and png fix as well. <script type="text/javascript" src="/js/DD_belatedPNG_0.0.8a-min.js"></script> ...

What's this negative value in this CSS property ?

background-position: -200px 0; one site says it crops an image from the bottom and displays the rest part ..another site is saying its shifting the image to the left..what exactly does it do ? I am trying to implement CSS Sprites..having problem due to this positioning thingy...this is what I have implemented so far...its not working r...

Limit File Types Shown in Browse Window

Hello all, Is there really NO WAY AT ALL to limit the file types that are shown in a browse file window? I tried this: <input type="file" accept="text/xml" name="parameter_file" /> Firefox, IE just ignore it. I found the below excerpt from another question: Accept attribute was introduced in the RFC 1867, intending to enable ...

How can I add border radius and drop shadow for IE8?

Is there anyway to do this for IE8? -moz-box-shadow: 0px 0px 14px #585858; /* FF3.5+ */ -webkit-box-shadow: 0px 0px 14px #585858; /* Saf3.0+, Chrome */ box-shadow: 0px 0px 14px #585858; /* Opera 10.5, IE 9 */ -moz-border-radius: 6px; border-radius: 6px; ...

CSS Navigation Drops only in Google Chrome. Rails Tutorial Feedback

I am going through the awesome Rails Tutorial http://railstutorial.org/chapters/filling-in-the-layout#sec:custom_css I've run into an issue with the Navigation dropping down into the body of the page, but this only happens in Chrome (I'm on Linux, Ubuntu 10.10 if that matters). Here is a screenshot and a URL to show you actually what the...

Links are disabled

On my site: http://elektrikhost.com/ When you try and click on a link, they are disabled. I think it is because of the 2 images that are at the end of the navigation bar. I tried to remove the images from the navigation but then the navigation falls apart. This is a site for a client and I must have those images in. How can I get this ...

css problem on iPad with table border

I have a css problem when the html page is rendered on iPad. Everything works good in other browsers. The problem is that I get a small space between the cells in my tables as you can see in the picture: http://oi53.tinypic.com/2vl0as9.jpg If I zoom in the page maximum on the line between the cells, it dissappears.. So it must be some k...

background change in Chrome when mouse hover

I use Chrome, background = CSS3 <h4 class="title-name clearfix"><a href="****************">Fairy Tail - LUCY</a> </h4> why when i hover mouse over title, background change , it happen only in Chrome. Edit: I found out solve, If title-name{padding: 7px 15px} then must change title-name a{padding:7px 15px} 'll fixed in Chro...

Do you make a separate CSS for IE?

I'm trying to figure out what is the best solution for me right now. I was using CSS3 to make some rounded corners and drop shadows, but IE8 did not support it, so I had to use CSS3pie for IE8. Unfortunately, after applying the pie, it seems IE8 is just does not want to look the same as Chrome or FF. Why is IE such a hassle? Should I...

SPAN with display block

Hello, What is the difference between the default <div> tag and the default <span> tag with "display: block". Thanks, Gavriel ...

Problems with div vertical scrollbars on iPad

When a user perform a search on my website I want to show the result in a small div with vertical scrollbars instead of that the user need to scroll the full page. That works perfect in all browsers BUT I get problems on the iPad. I can see that the search result doesn't fit into the div but no scroll bar is showing up on the iPad. Also ...

how to use auto with a height in css

How would you use auto height? I need the hight to be 250px default the auto is working but i cant get a default hight. ...

scrollbar color change in firefox

hi , i want to change scroll bar color in firefox how can i do that ? thanks rahul ...

attach image or div to mouse cursor in firefox

hi i want to attach the image or div element to the cursor in firefox in my application when mouseover the some element than image will be attached to cursor. thanks rahul ...

Is there any ie9 css-hacks? Already needed.

Is there any ie9 css hacks? I tryed to find them. But i didnt find any. ...

Disable word wrapping in the end

I have a block with some text and image inside. Like: <div>I just posted a new photo from my iPhone <img></div> Image in the end has dimensions of 16x16. The problem is, text varies and sometimes >just image< goes to a new line. It should always go with some word, image must not travel alone. How do I do it? ...

IE7 kills my jQuery drop down on main navigation menu

The drop down obscures the other items in IE7 http://southasianlitfest.com CSS #nav { _height:57px; float:left; min-height:57px; padding-top:15px; width:960px; } #nav ul#pages { float:left; } #nav ul#pages li { float:left; text-transform:uppercase; } #nav ul#pages li .sub-menu { -moz-border-ra...

How does google add the light blue colored vertical and horizontal bars (html/Css)

As shown in this screenshot: http://imgur.com/fgyjr.png I tried looking in the source code , but couldn't find it myself. ...

Form on PHP page with multiple submits changes CSS of page

I've created a PHP web form which when all the data is present has 2 submit buttons (Continue and Print). Continue calculates details based on the entered information and displays it on the page. Print performs the same calculations, but then creates a PDF in a new window. When I click Print the original page still loads (which is fine)...