css

Splitting a div into two, for multiple sign up forms..

Im trying to put in two sign up forms on a single page, but to effectively do this id like to split the center div into two seperate columns to achieve this. Ive poasted the code below: <div id="content"> <!-- Left Content Start --> <div class="instruct" id="instruct-div"> <div class="contentcol"> ...

Help porting javascript function to jQuery - learning tool

I am just learning jQuery and I wanted to see what I could do with the function below. This function adds or removes css classes to create a pull down menu (it is in fact Stu Nicholl's well known pull down menu). But I'm not getting very far (I've been learning jQuery for approximately an hoour now, so my DOM traversal isn't quite up t...

How does Internet Explorer 8 support the CSS outline attribute?

The website says it's supported however the following style does not render. <style type="text/css"> a[href="#"]{outline:#f00 dotted 2px !important} </style> however, the following will render <style type="text/css"> a[href="#"]{border:#f00 dotted 2px !important} </style> Here is my document <?xm...

Div dropdown disappearing behind content in IE

So i have a searchbox and on the right side of it there's a clickable drop down menu. When the user clicks, the menu drops down but in IE only it disappears behind some of the content underneath it. It works in Firefox (appearing over the content) I have the menu set to absolute position and it's z-index set to something like 999. If ...

How would I go about detecting onclick events external to a particular iframe?

I have a page that has a bunch of different iframes (A, B, C, D) - all of which are fully visible at all times. Together, they make up the various portions of my application's UI. One of these iframes, iframe D - houses another, smaller iframe (iframe X) that is sometimes made visible by a user action. It should automatically disappear w...

Prevent jumpy fieldset when hovering in IE8

I have a fieldset inside of a fieldset. Each type of fieldset changes color when hovered over. Works great in Firefox, but in IE8 and IE8 in IE7 compat mode, when I hover over the child fieldset, it jumps (it looks like some padding gets removed, but that's not what my css says). Can someone help me figure out how to prevent the jumpy...

Capture a literal in css

Hi, I have several NAV Bars. Each NAV Bar is of the pattern; a | a such that where the literal "|" occurs, it's always has a sibling a on the left. where a is an html anchor element and "|" is a literal separator of interest. What css can I use to capture that literal "|"? The idea is that I want to set it display:None for print me...

Firefox 3.5.3 horizontal menu drop-off

URL: www.htiops.com CSS: www.htiops.com/css/htiOps.css The last two links in the gray horizontal nav bar are vertically dropping down in FF 3.5.3. It doesn't happen in older versions of FF, IE7, O8, Saf3. Changing the font in #navBar ul li a from .8em to 10px fixes the drop-off problem, but is not the desired appearance of the menu....

how can i fix ie select width?

I don't have enough space to change its width on click or any stuff like that. I need the main select to keep its orginal size with wider options. I'm using jQuery / IE6 10x ...

[CSS] Centered DIV with defferent backgrounds on either side

So I'm creating a website that has all of its content in one centered div. Im using margin-left and right set to auto to center my content, on the left hand side of my content I want a solid white background, however on the right hand side, I want to repeat a pattern background. Maybe my mind just isn't working properly, but I cant thi...

Tooltips get hidden behind dropdown lists? How can you avoid this? (IE6)

I have a label with a tooltip attribute for rollover effect. This works all great. However, it seems to get hidden behind any dropdown lists that are nearby. I have tried adjusting the z-index, without any luck. This issue does not appear in firefox, and I have not tested it in later versions of IE. I realize this is probably due to...

using getElementById to retrieve styless in CSS

Why is the first alert box empty, but the second one says 100px? I'd expect the first box to say 300px.. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt; <html xmlns="http://www.w3.org/1999/xhtml"&gt; <head> <meta http-equiv="Content-Type" content="text/html...

Controlling CSS page breaks when printing in Webkit

I'm attempting to improve the appearance of html documents printed using Webkit, in this case by exerting some control over where page breaks occur. I'm able to insert page breaks where I need using: page-break-after: always; However, I can't find a way to avoid page breaks being inserted in the middle of items. For example, I have h...

css problem: Absolutely positioned parent and float:right child stretches

In IE6, IE7 and FF2 the .outer div below is stretching out to the right edge of the document. Here is a complete test case: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt; <html xmlns="http://www.w3.org/1999/xhtml"&gt; <head> <style> .outer { position:...

css layout for footer at bottom with dynamic ajax content changing height of page.

[Update] I actually compromised on this problem for now by foregoing the fixed footer design. It seems that there is no problem with dynamic content moving the footer and resizing containers appropriately unless the footer is fixed to the browser bottom initially. I hope others will eventually provide a great solution that encompass...

footer overlapping content in IE7? :(

Hi, I thought I'd got this layout working thanks to the wonderful people taking part in stackoverflow, see here. Unfortunately though I've found an issue in IE7 (haven't checked in IE6!) - the footer is overlapping the content I've put the site up on my development server here. I hope I won't have to start again from scratch to get it t...

CSS : Div coming as next line

I have this HTML in my page <div id='masterDIV'> <div id='divItemNumber'>23</div> <div id='divDesc'>This is my desc content</div> </div> and my Style .divItemNumber { width:25px; margin-left:0px; margin-bottom:5px; } .divDesc { width:255px; float:right; padding-left:1px; padding-right:1px; margin-left:0px; marg...

@import url(addonstyles.css) still relevant?

I know it is used to hide addonstyles.css from some old browsers. Well, apart from that, is there any other usage for this? ...

why isnt this jquery working properly?

In this site's navigation: [link removed] I am attempting to use Jonathan Snook's jQuery background image animation http://snook.ca/archives/javascript/jquery-bg-image-animations/ The code used: HTML <div class="navigation"> <ul class="navigation"> <li class="about-us"><a href="#">about us</a></li> ...

CSS : Maintaining fixed height for DIV in Firefox and IE

I have a master div and inside that i am showing multiple divs as a list.My HTML as below <div id='divMasterContainer' style="height:200px;"> <div id='child1'> // Some child contents here (Radio button / Button etc.. ) </div> <div id='child2'> // Some child contents here (Radio button / Button etc.. ) </div> <div id...