css

Problems solving oddly acting labels in ie7.

Okay so this is sort of a double question so I'll split it into two. First part In modern browsers the main bold labels sit above their corresponding form elements, and align to the left as is expected. However in ie7, they randomly site 10-15px inset. I went through the developer tools and could find nothing to fix it. I've made sure ...

orderered list in ie7 not spacing on two digit numbers

I have an ordered list in ie7 and the list-style-type decimal is not allowing space on two digit numbers E.G 1. blah blah, blah 12.blah, blah, blah anyone know of a answer? ...

Is it not wise to always expect semantically correct mark-up, in my own and others code?

Is it bad to be semantic purist all the time, at work? is it not achievable all the time ? when i saw code of any other person/interviewee. I know selection of element for a purpose is most important thing. what i should judge person ability from his code; from a good written, managed, optimized css or how he wrote class and id names...

My fade in goes to all opaque for it goes to transparent

So, I'm trying to fade in a transparent div, kinda like hulu does when you click dim lights... here is what i have: //show the bg new Effect.Appear('darkBackgroundLayer', {duration: 0.3}); then when my pop up is initialized // create the div for background dimming if($('darkBackgroundLayer')){ Element.remove('darkBackground...

Identical files from different servers. Why might IE 8 display them differently?

I'm working on a site that will go on my company's intranet. I developed it locally on my computer, checking it in different browsers and on colleague's computers, and when it was done I handed it off to IT. They put identical copies on a staging server, and on the production server. This is a site built only with html, javascript, and c...

How do you apply CSS to the editor iframe in jwysiwyg (jQuery wysiwyg)?

Hello, I'm using a slightly customized version of jwysiwyg for a website. I'm trying to change CSS values inside the textarea replacement (the iFrame where the text gets written) - but I just can't seem to figure out how. Do I have to create a new style sheet to apply to the iFrame? Specifically, I want to change the iframe's :active...

How do I create a chromeless window?

We used to be able to use javascript in IE to produce a chromeless window...no buttons, scrollbars or even the standard edges of the browser window. My question: Is there any way to accomplish this type of window look from the web with today's browsers? ...

What's the best way to format this simple HTML form using CSS?

I have have a simple HTML form with say four input widgets (see below)...two lines with two widgets on each line. However, when this renders it is pretty ugly. I want the whole form to be indented from the edge of the left page say 40px and I want the left edge of the widgets to line up with each other and the right edge of the labels ...

Forumotion profile customization using jQuery based on URL

The idea is have a jQuery snippet (I like Jquery...I can understand it better then regular javascript) that will detect that when it has been run on a profile with a url such as "http://customize.forum-motion.com/profile.forum?mode=viewprofile&u=1" (just as an example)...then upon detecting that it is a url of a profile...fetch data ...

IE8 no honoring display:none

I have the following markup on a page and unfortunately I do not have direct access to it. . This page is opened in an iframe. There is other code on the page but it is not relevant so I have not posted it. The only access to target the code in via css. I want to not display the close button so I added this to the css file img[alt='Cl...

Why are these styles not visible in IE6

Given the following markup <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML Strict//EN"><META http-equiv="Content-Type" content="text/html; charset=utf-8"> <HTML xmlns="http://www.w3.org/1999/xhtml"&gt; <head> <style type="text/css"> div.apartBox { padding:12px; background: #FFFFFF; border: solid 1px #6182A3; } .browser { backgr...

Different positioning in Firefox, Internet Explorer and Safari?

Hello, I believe this question has been asked a lot of times, and I have managed to overcome this problem before whenever it occurred. Just now, I feel stuck with it and can't find a proper solution to make it work in all browsers: it does work properly only in Firefox, while in IE and Safari its elements are somehow apart from each oth...

In CSS, does it make sense or is it legal to nest an id in another id -- such as "#main #display img { ... }"

In CSS, if it is #main #display img { height: 80px } that means all images within an element with id display that is within another element with id main. But does it make sense or is it legal since id seems to be just global names. It is because SASS actually allows nesting and some code may nest it like #main width: 700px #di...

Can't figure out how to code my css

Hi, I'm a new poster in stackoverflow. The community seems really nice so I'll go ahead and post my question. I'm trying to style a asp.net MVC2 form so that instead of having all the fields on a strait line, I would like to have it like so: Label: Text field Label: Text field I know you could do that with a table but I would lik...

Why does Chrome show an odd-shaped highlight around my image link when I tab to it?

When tab to a link on my webpage in Chrome, the tab hightlight box around this image link appears like this: (the orange border is what Chrome shows as the highlight box) The HTML/CSS isn't all that special: <a href="download.html"> <img src="images/download_button.png" class="downloadbutton"/> </a> img.downloadbutton { mar...

is there a way to enable support of :focus on form elements in IE also?

is there a valid way to enable support of :focus on form elements in IE also? ...

Strange centering problem in Firefox and IE8

The navigation bar on my site http://hungryathome.net doesn't center properly on Firefox and IE8 Standards mode. It centers properly in IE7 Compatability mode and in Chrome. What's odd is that setting a Margin on the div (id="navlinks") to 4px or more will make it center properly. Any less will result in it being slightly off-center...

stars and slideshow input not working in IE browsers

http://ratingscorner.com/product_rating.php?alias=Rashtreeya-Vidyalaya-College-of-Engineering-Mysore-Road-Bangalore&amp;product=colleges I have a page like this .this works very well in all browsers, but not in IE. problem in IE is that : 1. If you go to "your ratings" tab in second section. the stars and input are not clickable only...

measure rendered html in javascript without affecting the measurement

I am doing pagination in javascript. This is typographic pagination, not chopping up database results. For the most part it works, but I have run into a heisenberg issue where I cannot quite measure text without affecting it. I am not trying to measure text before it is rendered. I want the actual position it shows up at on screen, s...

jQuery/CSS related problem

Hi I am new to jQuery, and this is the page I'm currently developing. http://90.230.237.71/gandhi.html (Hope that works now :P) I'm testing your tips on page gandhi2.html When I hit "Show/hide gallery" all the images are first opened vertically, and later they are corrected to their horizontal placement, that's the problem. They shou...