css

select box styling - css/jquery

I've been hunting around to see if I can find a simple CSS or jQuery solution to achieve the following styling for a select box: There are various items on SO such as the one here, but these come close but the issue seems to be more with styling the "arrow" section of the select box. Many of the samples I've found style the whole of ...

JS Nav Hover action http://barnumdesign.com/x/about

Hello I'm trying to attain a nav hover effect like this: http://joseavillez.pt/ Except with the nav background full. any guidance? i've tried using the following code to target it but i'm not sure what's wrong: JS Function function menusHoverFunction() { $('#LeftNav ul li a').each(function() { $(this).css({'backgroundPositio...

CSS parent div with children

I have a parent div, that holds three div's. They are basically columns. I need to remove the margin on the last one but can't get the right selector HTML: <div class="productContainer"> <div class="productBox"></div> <div class="productBox"></div> <div class="productBox"></div> <!--/ productContainer --></div> Here's the...

Magento theme header and footer css not working on product page

Hello, I am new to Magento and currently working on a design which is just a modification of the default design. So far, all I have done is modify the styles.css and replace a handful of images. The homepage looks fine but the one product I added seems to have the css messed up. It looks to be pointed to the correct and same css file as...

Google chrome a:visited background image not working

(before I start I should say yes, I have done all the stupidity checks, yes the link is in my history and has been visited etc) I'm using Chrome version 6.0.472.63, although it's important that this works on all browsers. It works on Firefox, IE and Opera. Basically all i'm trying to do is change the background image of a link if the ...

How to overlay a picture with another one?

What's a good method to overlay a picture with another one in HTML and CSS or jQuery? ...

Why doesn't my IE8 specifc stylesheet correct browser styling?

I am doing some fine tuning of a PSD to xhtml conversion and tweaking some of the IE8 styles - or at least trying. I have an IE7 and IE8 stylesheet, but for some reason, IE8 doesn't respond to my style changes. I did some drastic font color changes, but even that doesn't respond. I have confirmed that the stylesheets are on the server a...

How can we avoid the shake when we hover over an element and set its border?

How can we avoid the shake when we hover over an element and set its border? Here is a sample of the code I wrote: http://jsfiddle.net/s3N2h/ Is there a technique to avoid the shaking? Suppose I hover on File, the borders appears, but that line of text moves a little to the right due to the borders getting rendered. If we hover away i...

CSS3: Detecting device orientation for iPhone

So this declaration works fine for iOS 4 and 4.1, but not for older versions. Any advice? @media screen and (device-width:320px) and (orientation:portrait) { /* iPhone Portrait Styles Here*/ } @media screen and (device-width:320px) and (orientation:landscape) { /* iPhone Landscape Styles Here*/ } ...

List of HTML, CSS, JavaScript and jQuery things that can cause cross-browser compatibility issues

looking for collective knowledge - all i want are things to watch out and be careful while using which can cause cross-browser incompatibility issues.. so that you can look for their alternatives or check them out before deployment on large scale... ...

External Flash Movie behind an HTML Overlay Div

Okay, is there a way to have an external flash movie that I have iframed in from another server show up behind an overlay div? Currently when I open my overlay, the flash movie shows through it. ...

How to highlight links in the div on mouseover.

Hi, I have div with a few links spread out in the content. I would like to highlight all the links in the div onmouseover. Is there jquery solution that works in FF, IE and chrome. Thanks. ...

positioning in css?

sorry im a newbie in css, so please dnt be angry at me, i really wanted postion something like this: taking in mind that the number will grow, so the text has to stay in the middle. if you get what i mean! :)) ...

Problem displaying a CSS 'popup' properly.

I'm having some trouble with displaying a popup div with CSS. The problem is better explained with an example. Take the following html: <html> <head> <style type"text/css"> #popup { color: #fff; background: #8c0000 } #form { background: #ccc...

Force Overlay if function returns False in PHP

I need a way to invoke a non-closable, iframe overlay where the user will have to choose their membership before being able to access any of the pages. I am doing a DB check for something, an if it returns false, then i want to invoke the overlay somehow without disrupting the session_start() function. Any suggestions? ...

overflow: hidden ; causing alignment issues in firefox

I have a layout which renders perfectly fine in Webkit based browsers but in internet explorer and firefox the vertical alignment is off. The simplest example of the code is: <html> <head> <style> body { padding: 20px; background-color: #c0c0c0 ; } #wrapper...

Why in the input type button the cursor is an arrow and not a hand?

This question is because normally when you want to click a button or link the user expect a HAND in the cursor but in the case of input type="button" you get a cursor arrow , does any know why is this? is cause is inherit from base class input?? and all inputs have pointer cursor? I Know a simple css lik {cursor:pointer} //make the work...

css list inline is not listing items horizontally?

i dont know why this is not display right, the list is meant to display horizontally? instead its displaying vertically! this is my code: html file: <ul id="stats"> <li><h1>53</h1></a></li> <li><h1>67</h1></a></li> </ul> css file: #stats li { display: inline; list-style-type: none; padding-right: 20px; } ...

IE7 dropdown menu appears behind image

I have created this css3 dropdown menu that appears behind the image when I mouse over the dropdown menu, and I have tried to figure it out. But cant for the life of me. Any help is greatly appeciated you can take a look at it here. ...

Simple CSS fly out list, not so simple?

I had in my mind that it would not be hard to add an anchor tag that, when hovered or clicked, would cause a CSS flyout with more links in it to appear. As it is now, a set of normal anchor tags are inside of a span which is inside of an li. I want to add this hover flyout link to be in the same location, the same as one of the links bu...