css

I want to use the same image more than once and I would like the web browser to download this image only once, how to do it?

I want to use the same image more than once and I would like the web browser to download this image only once, how to do it? ...

Firefox CSS height issue...

Hello! So I have this table http://mikepuerto.com/iNews/ - I'm using some jquery to sort it. If you view this in any browser but firefox you will see that the table headers have a shadow running along the bottom and when you click a header an arrow points down to indicate that you are sorting that column... For some reason firefox doe...

messy css indentation in vim

When editing an html file in vim, the indentation for css inside style tags is messy. For instance, this is how it would indent this sample css code without any manual intervention to fix the indentation on my part: div.class { color: white; backgroung-color: black; } Why is this happening? how can I fix it? ...

PHP calling and displaying CSS in different browser.

I'm having problem with CSS where, when I run on Mozilla Firefox the CSS is doing fine. But when I run inside Internet Explorer, the CSS is not working. When I try to change the code in the CSS file, it works otherwise. Mozilla is OK, but Internet Explorer is not. I have an idea calling 2 different CSS. For example, style_IE.css and sty...

CSS Form Styling

I'm trying to make this: <form id="simple-search" name="simple-search" action="/search/" method="POST"> <label for="simple-search-address">Location/Address</label> <input type="text" id="simple-search-address" name="address" value="" /> <label for="simple-search-dob-day'">D.O.B.</label> <select name="dob-day" id="simple-...

How to make same size image in <td>, but image diffrent size

I have many images to showing in to the <table> or <td> How to make same size image in <table> / <td>, but image diffrent size. for view My site click here : promolagi.com Thanks. ...

CSS Form Styling #2

I have seen forms that can do this without using <br /> etc. Here's my form: <form id="staff-login" name="staff-login" action="/staff/login/" method="POST"> <label for="staff-login-email">Email</label> <input type="text" id="staff-login-email" name="email" value="" /> <label for="staff-login-address">Password</label> <i...

A link which is opens in a new window, what will be the best appropirate instruction for use in title?

A link which is opening in a new window What is more appropirate to put in Title="text here". Title="Opens in new window" or Title="Opens in a new window" or Title="Link opens in new window" or Title="Link will open in new window" or Title="New window will open" (used by linkedin.com) Which is grammatically and Logically correc...

arrow keys not scrolling on IE7 for our web site

Hello we have a live production site in which IE7 users complain that they cannot use the arrow keys / page up / page down to scroll around on a page. it works perfectly for IE6/IE8/FF/Opera/Chrome, but not for ie7 This happens on all the pages in the solution any ideas? the site is found on www.rikstoto.no Yours Andreas Knudsen ...

Grid footer disappears on browsers other than IE.

I am displaying a grid in an IFrame on my homepage. The grid uses a CSS file to define design for rows, columns, header & footer. Below is the image of the grid. In the footer, you can see the page navigation links. The problem is that this footer is displayed on IE, but it is invisible in all the other browsers. What changes I need ...

Why isn't my document validating as XHTML 1.1 STRICT?

While target="_blank" is deprecated but, why W3C validator not giving ant error about this .you can paste and check this code validator? http://validator.w3.org/#validate_by_input <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"&gt; <html xmlns="http://www.w3.org/1999/xhtml"&gt; <head> <...

How to stretch image programatically?

There is a vertical bar on my homepage. It is actually an image that looks something like this: The white boxes are the place-holders for the product images that will be added dynamically. I want to know how to stretch the blue vertical bar as new product images are added. This must be done programatically. ...

Floating Scrolling Div with vertical constraints

What I am aiming for is along the lines of the example at http://net.tutsplus.com/tutorials/html-css-techniques/creating-a-floating-html-menu-using-jquery-and-css/ However I would like to constraint the floating div within another parent div. E.g. I would like a menu div to be floating in the above light grey box, but it should not ...

JQuery PNG Fix Plugin - Doesn't work so well?

Hello all, I have just switched over from the old png transparency fix using a htc file and I have started using a JQuery plugin called JQueryPngFix. I have to migrate because I have started using JQuery and its conflicing with the htc file. The thing is, it works but it seems to have over-layed the PNG (sends it to front rather than a...

CSS menu issue in Safari and Chrome. Submenu disappears on hover unless you're really fast!

When you hover over the top level links, the submenu appears as it should, but when you move the cursor down over the sub menu, it disappears sometime immediately and sometimes after the 3rd or 4th submenu link depending on how precise or fast you are! It works fine in firefox, ie7 and ie8 and validates for css and xhtml transitional. Pl...

IE CSS format tableless form with labels, inputs and selects

I am having trouble properly formatting CSS to display in IE the way I want it. It shows up in Firefox perfectly. I am trying to have it display the label and then next to it have the input or select box that is aligned and all the same size so it looks even. I know there are hacks for IE but none seem to be making a change. Example CSS ...

Styling with CSS2 when attr is not set

Styling an element with an attribute set is easy: E[attr]. Is there any way to style an element with CSS2 based on the absence of an attribute, something like this E[!attr]? (JavaScript solution is not an option). For example, there are several class rules followed by id rule: .abc {padding:1em;} .def {padding:2em;} #n a {padding:0;}...

how to achieve a similar hover effect in this website

how do you achieve the effects when you hover the links at top(HOME,ABOUT , JOBS) which you can see in http://www.webdesignerwall.com/ , can someone give me a hint ? or any? please all answers are appreciated :) ...

Performance/Accessibility issues in this jQuery/HTML code?

The following code works just fine in IE, FF, Chrome and Safari, but I am wondering how efficient it actually is when scaled to a lot of users and whether it is accessible to screen readers/special needs users/etc? Specifically, is there a better way to write the jQuery so it uses less $(this) references, and does that even cause any pe...

CSS - Unwanted Border-Bottom

Just doing a little touch up before finishing a conversion project and I have an unwanted border-bottom that needs to be removed. The base code is: a:link, a:visited { color: #000000; text-decoration: none; border-bottom: 1px dotted #c6132e; } However, I don't want it to show up on all links, particularly the main navigation. When ...