css

What the difference between the support for css by HTML4.0 and XHTML1.0?

I'm not a front-end programmer, but I first realized the issue just when I found the css.maxHeight is not supported by HTML4.0. when the DOCTYPE refers to HTML4.0, maxHeight in css doesn't work, but change the DOCTYPE to XHTML1.0, it works. So, now have the question, What the difference between the support for css by HTML4.0 and XHTML1....

CSS: give the same width to the text and password inputs

Hi, i'm trying to give the same width to the text and password inputs. So i write this: input[type="text","password"]{ width: 138px; } But it doesn't work. Any help? Regards Javi ...

How to set h:panelGrid height in JSF?

In JSF, I am using panelGrid which is equivalent to table in html. How to set height=100% in it? width=100% exists but not height. Thanks ...

.hover function stopped animating in menus jquery

My hover menu was working properly with opacity effects, but now i dont know suddenly they are not showing the hovered image. Other animations like movements of texts are working...... I dont know much about Jquery. So seriously stucked here. You can see the website online if you need. I am also pasting the code here so you can see it b...

Suckerfish menu drop down not showing in IE6 and IE7

Hi, Normally I would post the code of just the menu but the menu on its own works but when put in the surrounding code this menu fails to work in IE6 and IE7. So the menu can be found in use here: http://block.pd.alphaready.com/ I think the problem I am having here is the IE absolute positioning bug explained here http://www.brunildo.o...

Center a child element (CSS)

if i have markup like <nav> <ul> <li> ... </li> <li> ... </li> <li> ... </li> </ul> <nav> and i want to center the nav (either <nav> or <ul> or whatever is appropriate is ok with me). FYI: this for horizontal pagination, so <li> and <a> are floated left how can i do it? ...

float:right go to the next line

Hi all I saved my code to this site http://jsfiddle.net/m6PnS/1/ help me! Thanks ...

asp.net mvc ajax.actionlink applying css to delete confirm dialog

i want to apply css to the delete confirm dialog after pressing the delete link. how can i do that ...

Can I change the border color / style of a SELECT element using CSS in IE 8?

I have seen that the situation is very problematic after reading these: http://stackoverflow.com/questions/380037/ie6-ie7-css-border-on-select-element http://api.jquery.com/css/ However maybe the situation has changed with Internet Explorer 8. If that is so, I'd expect this piece of code to work in IE8: $(selectObject).css("border", ...

on the fly switching the layout in jsp without restarting the application server

Hi All, how can i change the layout in jsp without restarting the application server?. and should not be with javascript. layout is nothing but form fields in two column table or arranged in different sections. Scenario is like i have one web page with initial layout as two column layout. if i switch the layout to another layout by s...

How do you target the disabled state of a submit button?

I have looked all over and can't figure this out: how do you target the disabled state submit button in css? For example: How would I target and style this button: <input value="Validate" disabled="disabled" type="submit"/> ...

Footer content positioning problem with WooFoo Contact Form and IE7

I am working with a to client fix a problem on a single page. On all pages, the footer content is positioned and displays properly. However, on this page, when viewed in IE7 the footer content moves up into the body area. The only difference between this page and all the other is the presence of a WooFoo contact form. I have tried a zil...

Fill remaining table cell with a row of dots

I am creating an HTML report (it's to be a form for filling in). I have a table at the bottom of the form which contains a list of items and yes/no checkboxes at the side. I need to have this work so that cells on the left that contain a question have any empty space filled with dots, e.g.: Short question......................... yes ...

change background image of li on an a:hover

I have a menu: <div id=menu> <ul=navigation> <li><a href=>Home</a></li> </ul> </div> With the sliding doors technique I want to create my button (containing rounded corners at the bottom.) I can get this to work, by hovering the a and the li. But the li is bigger, and if I hover over the li, without hovering the a, only th...

jQuery Clone element and get inherited CSS

I am trying to clone an element and get its CSS proprieties plus inherited padding and margin. I can get the respective element position, width, padding and margin but I can not get the inherited padding and margin. Is there a way to get the actual rendered CSS and apply it to my clone? Thanx ...

Popup CSS menu with jQuery in IE6

Hi Gurus, I have this very simple jQuery function that allows ul.lev2 to show on hover. $('#tab_menu li.li_level1').hover( function() { $('#tab_menu ul.li_level2', this).css('display', 'block'); }, function() { $('#tab_menu ul.li_level2', this).css('display', 'none'); }); Unfortunatelly it dosent work with my html markup. I reall...

How to make div expandable with content while setting min height property as well in CSS

I have created a master page in asp.net which dont have any server side control as of now. I used div every where rather than table. There is not even a single Table right now in the page. Now When i tried to use that master page on other pages I found that div section that was holding the body content of the page is not expanding as the...

page appearence problem on diff screen of diff size.

I have developed my website on my desktop.All divs are in their place but when I open the same page in a laptop or larger screen desktop all the divs are getting disordered.What should I do.even the same problem is coming on zoomin and zoom out. some of my css code is- body { margin:0; padding:0; width:100%; color:#5f5f5f; font:norma...

Extra space taking in ie7

Hi All, I used a specific css for ie7 its getting problem in ie7 an unwanted white space is taking on right side its near about 50px; that's why an horizontally scroll bar is displaying on page, I want to remove a scrollbar and white space. Code which i used in css of ie7 #pagewrap /* This pagewrap is use for signup page to fixed a...

Styling specific element of a div in css

I have a div called mycontent. In this div there is a h2 element. This element inherits global properties, but I would like to change its color only within the mycontent div. I would prefer not to add new class because I would like to operate only within the css. I have something like that: #mycontent { position: absolute; bottom: 15px;...