css

IE6 fix for site

Here is the url to the site in question: http://www.katiesamsonlaxfest.com/index.html The site looks fine in all the browsers except IE6 and below. I would like if possible to find an easy css fix because as you can see the content is not contained within the divs. ...

Anchors with overlapping divs

I am using a grid based layout, with two main sections. Graph and Timeline. Graph, contains graded vertical bars, HTML similar to: <div id="graph" class="container_160"> <div id="Jan-97" class="grid_1 major"><a href="#">&nbsp;</a></div> <div id="Feb-97" class="grid_1 minor"><a href="#">&nbsp;</a></div> <div id="Mar-97" cla...

Changing a hyperlink from entire table cells to just the text in the table cells

Hello, In the table below, the entire cells are hyperlinks. How can I make just the text in the cells hyperlinks? The corresponding CSS is also below. Thanks in advance, John <?php echo "<table class=\"samplesrec\">"; while ($row = mysql_fetch_array($result)) { echo '<tr>'; echo '<td class="sitename1"><a hr...

Problem with jquery fade images and menu drop down

hi I have a small problem when im working with a menu and a list of images that change with jquery, my problem is that when I'm on the menu the submenu that is lost in the list of images. here leave the example http://www.wowweedesign.com/problem/ Thanks in advance ...

In ASP.NET, how would I go about in dividing the screen into four EQUAL rectangles?

I need to divide the screen into four equal sections and display content in each section. Would style sheets or tables be a better The browsers used would be IE 6.0 or IE 7.0. I need a solution that would work on both browsers. ...

<ul> overflow to next line in XHTML and CSS

I have a list of items (<ul> containing <li>'s) which I want to limit by height. Let's say I have the following code: <ul> <li>Item 1</li> <li>Item 2</li> <li>Item 3</li> <li>Item 4</li> <li>Item 5</li> <li>Item 6</li> </ul> This will display as such: Item 1 Item 2 Item 3 Item 4 Item 5 Item 6 I would like it to di...

jquery desktop blocking input and textarea

I'm trying to modify this: jquery desktop by adding a input field inside one of the windows. However, I can't type anything into the input. I opened firebug and the classes are flashing when I click the text input so I'm guessing that's what's blocking it. But I don't know how to fix this. Any help is appreciated. ...

Need to center align the image in CSS

Hi, I am trying to center align (both horizontally and vertically) the image inside a div box in html and css. I am not able to center align it. Here is my below code. <div style="float:left;margin: 10px" > <div style="border:1px solid gray;width: 60px;height: 60px;text-align:center;"> <img style="max-height: 60px;max-width...

create vertical menu with css.

how can i create menu like this.??? Thank you. ...

Eclipse plugin for CSS intellisense

Hi, in my Eclispe IDE i'd like to have intellisense for css in HTML, XHTML, JSF etc. files. Is there a good lightweight plugin besides Aptana IDE? THX ...

CSS for Safari 4.0 but NOT Google Chrome

Dear StackOverflow users, I'm having a problem with CSS. The style it's correctly applied in all browsers (IE6/7/8, Firefox 3+, Opera 9.5+, Google Chrome 3/4) but in Safari 4.0 it is not. If I use: @media screen and (-webkit-min-device-pixel-ratio:0) { #blaat { margin: 1px 0px; } } I can make work in Safari, but then it breaks in ...

Why doesn't line-height work on FF/3.5.8(Mac)?

I can't get line-height on a text input to work on Firefox 3.5.8/(Mac). Works flawlessly on: IE6 IE7 IE8 FF3.6/PC FF3.6/Mac Safari Test code: <!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 htt...

HTML Table with 2 rows. 1 Fixed height, 1 100%. Larger than window. Why?

<!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" > <head> <style type="text/css"> html, body, form, table, tbody, tr { height: 100%; width: 100%; margin: 0px; padding: 0px; ...

How to make language chooser as country flags in Django-cms?

Well, question is in title. Is it possible at all? I can use css to make links looks like flags, it's easy, but there is a text also (English, French, Deutsch, etc.) Well, I will be grateful fo any kind help. ...

Why List item going to Image?

Why gose to image's flow This is code: <p><img class="left" width="95" height="64" src="#" /> some text here some text here some text here some text here some text here some text here </p> <ul> <li>some text here some text here some text here some text here some text here some text here some text here </l...

div in bottom of window, not page

I want a div element, in a bottom of window. like a div in bottom page of old facebook.com. or like a chat div of initial facebook.com ...

Cannot change borderColor of TD

Using JS to set the background color of a TD is fine. But, setting the border color is problematic in FF 3.0.18 although IE 6 doesn't experience this. FF is problematic in that it requires the TD element to have an attribute style initialized to border-style: solid. Without that, setting border color of a TD won't work. Is this known bug...

Can I center a fixed-height DIV vertically in the viewport with CSS?

We have a login page that is designed to have a 200px-high DIV vertically centered in the middle of the page. That is, it creates a 200 pixel blue band left edge to right edge (with form elements in it) that ideally should remain vertically centered in the viewport no matter how the browser window is resized. This must be a CSS solutio...

Add CSS class with JavaScript

I have the following code that makes check-boxes a little fancier by adding an image sprite to the check-box. Javascript: $(document).ready(function() { /* see if anything is previously checked and reflect that in the view*/ $(".checklist input:checked").parent().addClass("selected"); /* handle the user select...

Is website accessibility mandated in some countries? What are the consequences of not being accessible?

Is it mandatory in some countries to make all websites accessible? If so, what would happen if someone in country with this mandate does not make a website accessible? Can the government remove or block the IP if the site is not accessible? How could the government know if any website is not accessible? Do they check every single websit...