css

Weird IE8 CSS/HTML bug when using Yahoo's YUI Uploader

This video explains the problem best: http://www.screencast-o-matic.com/watch/cQ1Oc9f1L Basically the directory is located here: http://www.ipalaces.org/uploaderprogress/grrrrrr.html Is the problem piece using YUI.js as the uploading script. The YUI updates the table's row with new information on every event. So I have it update it wi...

Can the second of two consecutively invoked stylesheets override all styles defined in the first?

If I have a HTML page that links to two stylesheets that are invoked like this: <link rel="stylesheet" href="original.css" media="screen, projection" /> <link rel="stylesheet" href="override.css" media="screen, projection" /> If these two files define the exact same style names, is it true that original.css will have no bearing on the...

HTML: CSS: Table column width increases inspite of setting it to a fixed value.

For the issue pls see the screenshot here. The above code has been generated by the html. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"&gt; <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" > <head> <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" /> ...

How to centrally align a float: left ul/li navigation menu with css?

Hi, So I have the following CSS in place to display a horizontal navigation bar using < ul >: .navigation ul { list-style: none; padding: 0; margin: 0; } .navigation li { float: left; margin: 0 1.15em; /* margin: 0 auto;*/ } .navigation { /* width: auto;*/ /* margin: 0 auto;*/ text-align: center; } It c...

How can I get these span elements to expand to fill their full height?

CSS: .events_holder { width:100%; background-color: #d9ceae; } .events_holder .event_holder { width:100%; float: left; min-height: 20px; } .events_holder .event_holder .event_data { border: thin gray dotted; font-size: 80%; float:left; min-height:20px; } .events_hold...

What's the difference? #header.h1 Vs: #header h1

I'm trying to access the h1 element inside a div with an id of "header". Should I use #header h1 or #header.h1 ...

How to create dock type toolbar at the bottom of the page?

like in http://www.online-photoshoptutorials.com/2008/08/folding-corners.html ...

How do I add a tool tip to a span element?

In the following code, I want a tool-tip to come up when the user hovers the span, how do I do that? I don't want to use any links. <span> text </a> ...

Simple But Annoying Problem: Can't add top margin to footer that uses clear:both

I can't add top margin to footer that uses clear:both. Using padding seem to solve the problem. But it ruins the top solid border of the footer. index.php: <!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> ...

How can I make just IE ignore a class?

IE handles one of my div's classes totally wrong. It works in every other browser I tried. I want to simply not apply the class to the div in IE. Is there a trick to make IE not apply it? More info: The div has multiple classes. I want to still load one but not the other in IE. The classes are defined in a Javascript file. Thanks. Mike...

Internet Explorer: Broken Underlines

I'm having some trouble getting this layout to work correctly in IE. The problem is that when I have a bit of small-caps, underlined text, an image with vertical-align set to middle breaks up the underline. Lower case letters have their underline shifted down. See the picture. This looks fine in Firefox, Chrome and Opera, but it's broke...

Resize all containing elements with javascript utilizing em

I have a situation where I think using the 'em' metric would be perfect. I have a container with several elements inside. These elements all use em for dimensions, font-size, borders.. everything. I want to be able to grow or shrink all of these elements dynamically by simply changing the em value of the parent container. At least that...

How do I achieve equal height divs with HTML / CSS ?

I have two divs inside of a container. One on the left, one on the right, side by side. How am I able to make each one be of equal height, even though they have different content. For example, the right div has a lot of content, and is double the height of the left div, how do I make the left div stretch to the same height of the right ...

Javascript question: Detecting children currently in view within an 'overflow: auto;' parent element?

See title. Additionally, how can I tell if a given child element is only partially or else wholly out of view (that is, not within the currently scrolled portion) of my 'overflow: auto;' parent element? ...

How to make a website run faster?

Hi I'm into my first 3 months of web development and I have been dabbling with some server side scripting in the form of ColdFusion, along with some Javascript, JQuery and CSS. I have read about CSS optimization and would like to know what are the other pertinent factors contributing to the better performance of a website. What all fac...

Fixing CSS on login page of my site

Hi! I have a problem on my site's login page in IE7 browser. One of the buttons on that page http://j-in.org.ua:9000 is cut off, in IE browser Here's the screenshot: http://img.skitch.com/20090629-nxnr2pwcs529peqxsttt96fmtk.jpg Please help me to fix it. ...

How to get the Primary/Secondary color in jQuery UI Theme

Is there a way to reference the colours used in the jQuery themes without creating a simple style for each theme that I may choose to use? Example: I have some text as follows <div>Hello</div> which I'd like to be change colour in line with my theme of the day. I wish to use the primary colour from a theme (say ui-lightness) which is...

Everything showed good, except the tabs. (HTML,CSS,JS)

Hello, Iam working on a website and I dont have any clue why the tabs doesnt work when I upload the website. Because when I view the website normal it does work perfectly. By the way: The tabs are working with a jquery script. This is the website URL: http://bmvisuals.poshh.nl/ Greetings. Edit: I mean some of the tabs doesnt appear. ...

css with swing

how to introduce CSS style for various swing components like JButton,Jpanel etc. in a swing application? ...

Please help me to fix CSS of profile page on my site

Hi! I am not sure why the about field on my site, sailing down in IE7 (see http://img.skitch.com/20090629-t8mcp6tffd8kpwxrbk1rchc6wu.jpg). (It looks fine in FF for example). Who can suggest a way to fix it? Steps to reproduce: Go to http://j-in.org.ua:9000/account/login Login using data (login: test, pass: test) You will see same as ...