css

Background image of Anchor not working with Safari/Firefox

Hi, I have following Css where i have used back-ground image. Then i am generating Anchor and assigning css class which has image. It works fine with IE but does not work with Safari,Firefox and Chrome. Can anyone help me on how to fix it. I have given details below. Thanks, Chandan Css .HOME { BACKGROUND-IMAGE: url(../images/ho...

How would you fix this uncommon example of the common IE Z-index bug?

This may appear to be a common question that has already been answered because it refers to the well-known z-index bug in IE7 and lower. However, this situation is somewhat unique; I am using a CSS dropdown menu that uses nested lists for sub menus. I have used this many times on other sites, but usually with the first level being horiz...

What does this piece of CSS do?

a#logo { _background:transparent; _filter:progid:dXImageTransform.Microsoft.alphaImageLoader(src="/assets/images/header/logo.png", sizingMethod="crop"); _cursor:pointer; } ...

How can I disable the scroll bars of a page?

how to disable the scroll bars of the page. and disable this button. ...

Creating broken horizontal rule

Hi. I havee been looking at the source and stylesheet for the following address to work out how you can make a ... be "surrounded" by a broken horizontal rule. At the page http://www.joindiaspora.com/ there is a navigation menu having an example of it. In the html source there is used no tag so I am thinking it must be done using the st...

How do I remove underline from Web Part Title?

This seems like it would be an easy fix with a Content Editor Web Part to modify the css of the page's Web Parts. The underline I mean is the long line that leads to the dropdown arrow where the Modify, minimize, close, etc. options are. I have tried this code with no visible results: <style> ms-standardheader {text-decoration:none;} ...

style.display ='inline not working in IE but its working fine FireFox

Hi we are have a strange issue. One of our clients is complaining, that in IE they are unable to see any value , when they select a value from the drop down. The strange thing is , its working in fire Fox.Also we could not even replicate in IE on our end. the code that gets executed in java script when a value is selected in a drop do...

Use obfuscated CSS name from ClientBundle in down stream css

I've got a library with some CSS, and a depending project that expands on the CSS. I'm trying to move both of them to ClientBundle. Currently, library.css is .smallWindow { min-width: 10px; outline: none; } And depProject.css is .sectionA .smallWindow { color: blue; } I moved library.css and depProject.css into ClientBundles (Libr...

Numbers position in <ol> with image only within it

Hi, How can I position the numbers of an ordered list when the only element within it is an image. Exemple : http://i.imgur.com/zyeWc.jpg I would like to have to numbers at the top. Thanks. Code : <ol> <li class="a1-q1"><img src="../musee_recherche/mediums/00123.jpg" alt="" width="418" height="220" /> </li> ...

javascript - How to use a image file relative to a url path?

Hi! Is there a way to use a image url relative path in a javascript file (just like the css files)? for testing i used 2 divs and displayed a gif in background using css in 1st and using js in second: -my file directory is: root/index.html root/module1/test.css root/module1/test.js root/module1/img.gif -index.html code: <html> ...

Two column layout with floating divs breaks when adding items to list using jQuery

The HTML looks like this. <div id="leftcontainer"> <div id="anothercontainer"> <ul id="items"> <li>Text</li> <li>Text</li> <li>Text</li> <li>Text</li> <li>...</li> </ul> <...

File upload progress bar

Can anyone suggest a good and easy way to include the file upload progress bar, while uploading a file. I know it would be a mix of javascript & php. Please suggest one ...

Framework Brainstorm

Hello All. So we are this company with currently 3 browser based games. We are just 4-5 coders employed and would really like to improve the synergy from our coding. So we are considering making a more generic framework. Currently our games consists of one big mix of html, php, javascript, css & flash (+databases). So basically I woul...

CSS Main Body does not stretch to page?

I am beating my head against a wall trying to figure out why the code I have written for a particular site doesn't quite work. The main body of my pages (the white area in link below) should be stretching from navigation to the footer but only does so on certain pages. The footer is automatically placed at the bottom of every page reg...

2 Column Div float right and left child divs outside parent

I can't find a good solution to this problem. I have 2 divs inside a parent div. When I try and float the divs right and left to make 2 columns inside the parent div, the child divs end up underneath the parent div. <head> <link rel="stylesheet" type="text/css" href="float.css" /></head><body class="wrapper"> <div class= "whole"> <div ...

General Questions About Image Maps

First off, I noticed that you can place the <map> tags anywhere in the document and the image map will work just fine. So, is it common practice for people to put the <map> tags in the <head>, or is it better practice to have it in the <body> immediately following the <img /> it corresponds to? Second, I know the map tags aren't depreca...

Would you prefer Aptana or Dreamweaver for front end development?

I have access to a copy of Dreamweaver CS5 which is paid for, so I am trying to decide if I would rather use Dreamweaver or Aptana. They seem fairly similar in basic function, but I'm sure their complete list of features differs a lot. The only thing I care about at the bottom line is which one is going to allow me to code HTML, CSS and ...

Rendering issue using Canvas in Chrome extension

I'm trying to do some drawing with SVG as a div background in a Chrome extension and seeing real strange rendering artifacts. I put an image here since I don't have enough reputation to upload one... http://imgur.com/bwpcu.png The problem is those veritcal lines which appear when I click the text. It also happens when I dismiss a win...

Rereating the blocks content in ie7

Ie7 repeats the blocks content if i write float: left; to that block. Has anyone the same problem? How could I fix that? Any ideas? ...

Needs help with superfish menu - background and text color problem

Hi I have a little CSS problem with a Superfish menu, when an active menu is hovered the color: #000000 don't apply, both background and color is white. The inactive menu works as I want. Example: Menu 1 (active) - Bla - Bla Menu 1 (active & hover) - Blank - Bla pastebin: http://pastebin.com/ziYaZJ3e .ot-menu li li a:focus, .ot...