css

IE 7 / Quirks Mode and Background color?

This is going to be a vague and obscure question, which is probably due to the fact that even using IE Web Developer, I have no idea what is going on. I have a utility which I am working on. It's mostly JavaScript, and it has a small floating DIV user interface that shows up on a page. So far, standard stuff. The problem is the backg...

CSS page-break-after and float not playing nicely?

If I have the following HTML code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&gt; <html xmlns="http://www.w3.org/1999/xhtml"&gt; <head> <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/> <title>Test</title> </head> <body> <div style=...

Why is this JavaScript advertisement cropped only when it's loaded inside of an <iframe>?

As part of a project I'm working on, I need to load an AdMeld ad (a major ad network) inside of an <iframe>. I can't call the add directly due to complicated cross-browser limitations. Here is a very simple page that loads one of our ad slot, with rotating ad creatives: http://troy.onespot.com/static/stack_overflow/4949/iframe.html I ...

How do I make my div IDs variable in rails?

I feel like there should be a simple way to do this, but I just don't know what it is. I have a list of data to display, and I want to include an AJAX "Read More" function to expand information at the bottom of each segment. To do this, I need unique div IDs within each segment. I have this code: <% for choice in @student_choices %> ...

FireFox CSS Table Extra Border Line Problem

I encountered a table border line CSS problem in firefox, when the css border-collapse is collapse, and have 2 merged cells, one of them hava 1px border. A extra unwanted border line exsits on the right. This Problem does not exsits in other browsers, IE and Chrome don't have the problem. FireFox version is Mozilla/5.0 (Windows; U;...

CSS image sprites loading slower through CloudFront than local

I just changed my CSS image sprites to run from local to CloudFront and there's now a noticeable lag, even across pages and page reloads. Any ideas as to why this might be happening? ...

HTML Custom JUnit Report Uneven Table Alignment

I am coding a java class that generates HTML table reports for JUnit tests and use CSS for visual formatting. I am having an issue aligning the cells since the number of colummns generated is unforseeable since some of these columns represent parameters passed into a variadic function. Therefore there is inherent misalignment in the colu...

jquery find previous li and change css

Hi all, I'm trying to write up a script that will allow me to change the css of the previous li on hover. Here's the structure: <ul id="mainlevel"> <li><a href="/" class="mainlevel" id="active_menu">Home</a></li> <li><a href="/" class="mainlevel">About Us</a></li> <li><a href="/" class="mainlevel">Products</a></li> <li><a href=...

Google Chrome - buggy curved borders?

Hey, I have a relatively positioned div within a centred div of width 50%... I mean the outer one is set to width: 50% and margin-left/right: auto. I then have another div with class headerContainer and another one with class header. There is an image with class headerImg within the header div. It would seem that, when a curved border ...

how to give opacity on area map

Hi to all, i am having a problem with html opacity .. currently i have applied opacity using css but its not working my html and css code is below.. <area shape ="rect" class="transbox" coords ="0,0,30,22" href ="test1.htm" target ="_blank" opacity="0.5" /> area{ opacity: 0.6; -ms-filter:"progid:DXImageTransform.Microsoft.Alph...

how to display a symbol next to the textboxes after sucessfull validation using jquery plugins

I have the following code to perform validation of SubmitForm shown below on click of button form will be validated correctly it changes the textboxes to red color and displays error message with some symbol.But the problem is how will i display some other symbol for example right tick mark symbol or some text message on user entering co...

how to remove the shadow of png in ie6

Written pages, why in the ie6 png images in it will automatically cast a shadow ...

custom paging in gridview

I am looking for paging(Top,Bottom) functionality for gridview(or any databind controls) i am using .net framework 2.0. i would like to have pointers thank you solution: i used jQuery plugin jquery.tablePagination.0.1.js for my solution ...

Doesn't recognized my css, js, and so on...

I have .htacces like: RewriteEngine On RewriteRule ^en/$ index.php?page=index&lang_id=2 RewriteRule ^contact.html$ index.php?page=contact RewriteRule ^en/contact.html$ index.php?page=contact&lang_id=2 # ...[and so on] In my site i have a switch language button(image). My basic language is in Ro and and i want to swtich ...

How do I span two divs side-by-side for the full screen width?

There are a lot of questions regarding side-by-side divs. I didn't miss those. But I need something that spans the whole width of the screen. This is the situation: I need three divs positioned side-by-side. The left, middle, and right divs we'll call them. The middle div holds the header contents of the site and is a fixed width (800px...

Form submit button with css sprites??

Hello, I am having a problem creating a form submit button with css sprites. It's just a button with an onrollover state. I have this .css button part .buttonSubmit { background-image: url(../imgs/button_states_submit.png); background-repeat:no-repeat; margin-top: 10px; float:left; height: 100px; width: 160px; } a.button...

need to vertically align a span with a input type="text"

here is the live link: http://mrgsp.md:8080/awesome/foobar click create and after save to get validation messages (spans), they are vertically aligned a bit higher than the text inputs How to align them vertically the same as the text inputs ? ...

How to make a highly uncertain picture vertically aligned relative to the fixed container

if the block is text,that will be easy.but the block is image en…… ...

ImageFlow + HighSlide dimmingOpacity option

I use Imageflow carousel combined with HighSlide image thumbnail viewer. I joined them together as it's described in the documentation here. It looks like everything works well. The only thing I can't figure out how to make work is dimmingOpacity option. It fills all the background with the color I set when the image pops up with HighSli...

How do I learn what changes my css values?

I am a newbie (very much so), so my question might be dumb, but I couldn't find the answer. For a contact table on a webpage I have set the height of 30px, but when I look at it in Google Developer tools, the height value is crossed out. I've tried to find out what causes my value to be overriden, but no luck. The developer tools shows...