css

need help with z-index property

I have a sprite image that is the background of a div and the div contains "li" elements with anchor links in them..I want that when user hovers over links ..diff parts of sprites' image are displayed in div's background.. now sprite was working great until I added a master page to my aspx page..the image hid behind the "Links"..but whe...

Why background image is not visible in Firefox?

Hi, I'm using a 1280×850 image for background. With this CSS: body { line-height: 1; font-size: 11px; font-family: Verdana, Arial, Helvetica, sans-serif; text-align: center; background:url(../images/bg.png) no-repeat bottom left; } Everything is ok in all browsers but not in Firefox. In Firefox, body background is white and back...

How to set class on div that is inside of repeater in code behind???

CSS & html id0 is the class for the div that's got background as a sprite image and inside of this div..there's a list of links (in repeater)..when the user hovers over links..the background image of div displays diff parts of sprite image accordingly Now I want that the classes id1 to id5 be set as the classes of the repeater's list.....

HTML/CSS: How to make "password" input show the password?

Hi, How can you make the value in the password field visible? So, when typing your password in the field, it will not show the black dots, but the actual value that you are typing. Thanks! edit: Ok, so then a better question might be: How can I force the browser to remember the value in this 'password' field and treat it as a password...

HTML/CSS/JS: How to force browser to save password from a non-'password' type input?

Hi, The thing is that I have two values which are similar to a username and password, but are actually 2 randomly generated GUID's that users use to login to a website I made - they are not really a username and password, but with the GUIDs I try to replicate this combination. Usually browsers ask you if you want to save the provided l...

code for highlighting current page with CSS not working on IE

Hi All the following code for highlighting current page works fine in FF but no luck with IE. Is there an known hack? I've googled a bit but couldn't find anything. .navigation a:link {color: #FFFF00; text-decoration:none;} .navigation a:visited {color:#000000; text-decoration:none} .navigation a:hover {color:#c1753e; text-decoration:...

Does CSS3 support using both an image and a gradient for the background of a single <div>?

I know you can do multiple backgrounds on a single <div> in CSS3, but is it possible to mix an image-referencing background (i.e. url(...)) with a gradient generating background (e.g. -moz-linear-gradient(...))? If so, what is the syntax? If not, what is a best-practice to achieve the same result? Thanks. ...

jquery datepicker CSS for next and prev problem

Hi, Jquery datepicker "prev" and "next" image not render properly. I suspecting issue with datepicker CSS but fails to resolve the problem. In normal view : Can someone point me to the correct path?? Thank you. -mike ...

Div table-cell vertical align not working

I am trying to simply center text horizontally and vertically using DIV and display type as table-cell but it is not working in either IE8 or Firefox. Below is the CSS that I am using and that is all that is in the html page. @charset "utf-8"; /* CSS Document */ html, body { background-color:#FFFFFF; font-family:Arial, Helvetic...

css positioning problem, cannot find difference

I'm looking to distinguish a difference between my troubled page and my finished page in the icon placement in my leftcol <div>. For some reason, the icons on the troubled page are all over the place. I have used Firebug with FF to try and find a difference, but I cannot. I'm sorry if it's super simple but I've been looking at this f...

CSS table alternate colors

is there a version of css3 code below that will work in all browers? table tr:nth-child(odd) { background-color: #ccc; } ...

Dynamically Create Widgets in DOM

I'm using jQuery mobile 1 alpha 1. To create a text input for instance in jQuery mobile you add to your HTML <div data-role='fieldcontain'> <label for='name'>Text Input:</label> <input type='text' name='name' id='name' value='' /> </div> Supposing you assign the above HTML code to a variable $textinput and type $("#someid").append($...

jquery-ui vertical tab bottom border problem

hey there everyone i am trying to implement jquery UI tabs, but i want to do it vertically, i found this tutorial here on how to built a vertical tab, modified css a bit and i got what i want, there's only one thing i cant figure out, that is how to make a border-bottom on the selected tab "ui-state-default ui-tabs-selected ui-state-act...

Is it possible to use jQuery to get the width of an element in percent or pixels, based on what the developer specified with CSS?

Hello, I'm writing a jQuery plugin and something I need to be able to do is determine the width of an element that the user specifies. The problem is that .width() or .css('width') will always report exact pixels, even if the developer has assigned it e.g. width:90% with CSS. Is there any way to have jQuery output the width of an eleme...

Div position centering

I have need to position div with id="center_dv" on center of the div with id="wrapper_dv" and to div wrapper_dv be on center of body. How can I do it ? <body> <div id="wrapper_dv"> <div id="center_dv"> <p>some text</p> </div> </div> </body> ...

How to center the <legend> element - what to use instead of align:center attribute?

What am I missing here? Edit, because this doesn't work in a comment: The below solution results in this: ---------------------------------------------------- | | | Legend text | but what I'm going for is: ----------------------Legend text--------...

Internet Explorer Background Repeat on container for floating elements

I am attempting to build a gallery page for a website I am working on, Internet Explorer 8 compatibility is a must. After building the script out for the page, I take a look in internet explorer and run into this interesting issue. It seems that my background image is running fine until suddenly it just stops. I have no idea why this is ...

NXE dashboard in HTML 5

Im looking for a NXE dashboard style template in HTML or CSS or javascript just not flash. For those of you who dont know what NXE is, its the xbox dashboard. any information on this please respond ASAP. thanks ...

How do you avoid the drop-down ActiveX warning in IE7 and IE8?

I am currently using javascript to enable changes to css on hover for certain items in my html page. In Firefox I never get an ActiveX message but in IE8 I get a message stating "To help protect your security, Internet Explorer has restricted this webpage from running scripts or ActiveX controls that could access your computer. Click he...

how reserve height while display is none

I have a div with default display:none. how do I reserve the height so when the div shows, it does not reshift the elements around it? thanks ...