css

Menu control using Jquery- Issue with rendering menuitems

Hi, I am rendering a Menu using Jquery. When I click on a menuitem, the submenuitems are shown only after a delay. I want to show all the submenuitems at once I click the menuItem. How can I achieve this? Also there is another issue. Sometimes the subitems are not displayed. I am placing the html, css style and jquery used for this. ...

CSS background image aligned to left bottom corner without forcing scrollbars

Hi, i have a simple website: fixed width, variable height, centered. I want a background image to align to the bottom left corner of the content like so: ---------------------------------------------------------- ____________________________ | <- 960px -> | | ...

IE8 button gets "stuck down" when mouseup event is set

I have a <button> with a nested image and I'm using jQuery to toggle the image src attribute on mousedown and mouseup. When the button is clicked in IE8 the image moves down and right 1 pixel, as buttons do in IE, but then it sticks there and won't return to its original position. If I remove the mouseup event the button functions normal...

What is best solution to get cross browser layout like this (Without Javascript), drop shadow on left and right and flexible in Height?

I'm looking to do something like this: Needs to be light-weight and compatible with IE6. ...

Dropdown menu + slideshow in content z-index issue

I'm having a problem where a slideshow (using jQuery Cycle) gets rendered in front of a dropdown menu in the navigation. The weird thing is that everything works in Internet Explorer but in Firefox, Chrome and other decent browsers. I suppose this has to do with z-index, but I'm not sure how to fix it. You can view the code on http:/...

Javascript Regex to target and remove a css rule from a style tag, based on its selector?

What would be the regex I could use to completely remove a css rule from an inline stylesheet based on the selector that I provide, via javascript? For example, I get the contents of the style tag and it contains a rule: .some_class { color: #FFF; font-style: italic; } If i provide the selector '.some_class' what is the corre...

How to detect a web dropdown menu is going to display off screen

I have a CSS based simple drop down menu with multi-levels. The second or third level might go outside the visible window, with certain combinations of resolution and window size. Some pre-built menu controls just open the dropdown to the left instead of the right, if they detect this situation. How can I test (with JS/jQuery) for this...

How do you enable error detection for CSS files in Visual Studio 2010?

How do you enable error dectection for CSS files in Visual Studio 2010? It's said to be in tools options, but I can't seem to find it. ...

IE/Firefox CSS confusion: Why does my table have inside borders on Firefox, but not IE?

Ok - I'm having a problem with CSS not displaying correctly between IE and Firefox... The big problem is that we have a ridiculous number of CSS files (and this isn't something that is currently scoped to fix), and I can't seem to find what style is being applied. Any way, here's what I'm looking at: On the shopping cart page for our s...

Make mouse pointer a hand when hover over <li> element?

Hi, I've got a list, and I have a click handler for its items: <ul> <li>foo</li> <li>goo</li> </ul> how can I change the mouse pointer to be a hand pointer (like when hovering over a button)? Right now the pointer turns into a text selection pointer when I hover over the list items. Thanks ...

Text in neighboring divs unaligned due to radio button?

Below is one item in my page, which consists of the div containing two side by side divs. The first of which is an outline number to an entry in an outline, and the second item to the right of it is the content of that entry in the outline. The Controls_ContentPanel div can contain many different things, often some text paired with a s...

What are the differences between the CSS and Latex box models?

What are the differences between how CSS and Latex organize boxes? (Either paragraph or graphical elements.) ...

Dynamically change background pattern on page load w/ prototype

Similar to Twitter, I am trying to allow a user to upload their own background pattern/image. I am wondering what the best way to dynamically change the background pattern on page load is. I am using prototype w/ rails and have been testing by putting the following in my main layout page: document.observe('dom:loaded', f...

Different margin for webkit browsers

Hello There is difference between webkit and the other browsers in one absolute positioned element margin. So how to set another margin for the webkit browsers in the css? Thanks! ...

CSS style #elements[1-10]

If I had 5 divs with ids "element1", "element2", etc..., is there a way to style an array of elements with something like: #elements[1-10]{ position:relative; } I know you guys probably think I'm nuts, but I'm dealing with some code that is auto generated and I would have to edit the core files of this cms which I don't want to do in...

Weird resizing in every browser except IE

I've been coding my site and it looks perfect in IE 8 but when I view it in Safafi, Chrome, and Firefox. Everything is unexplicably smaller. How do I make the webpage look normal like it does in the IE 8 browser? My site is at : http://www.jjosephs.byethost22.com/visibility/fixed/index_2.htm I've been messing with he code for days now ...

CSS background-color is picky

CSS background-color is giving me problems. The style block needs to use ".land.custom_one" instead of plain ".custom_one" to work. Removing "land" from td-class also makes it work, but I need the "land"-class for hover to work as its not all tds which needs the hover effect. Style block is being defined after style.css. I have this issu...

Is practically Progressive enhancement and Graceful degradation same thing?

Is basically and practically Progressive enhancement and Graceful degradation same thing? ...

Can't select my div in ie without a background color

I have this weird probleme where IE do not reconize I am hover a div without a backgound color, the DIV is in position absolute any way to have a transparent background, without a transparent gif? ...

Make a Joomla Section Menu Item drill into a Category Blog layout, display issues

I followed the "third option" in the instructions at: http://docs.joomla.org/Make_a_Section_Menu_Item_drill_into_a_Category_Blog_layout and the results are as expected, except... when I drill into a category to see the blog layout... the articles are in a single column for the first article, and then it's two columns after that... and i...