css

Validating -moz-border-radius / -webkit-border-radius

Hi, is there any way to validate -moz-border-radius / -webkit-border-radius in the CSS validator? The client wants validation buttons in the sidebar (ugh!) and I can't find any way to bypass it. I've used @import too, no success. ...

CSS height problem. IE8 seems correct Firefox seems wrong. Any fix?

Below is a complete html page that shows the problem. The "myDiv" should be 22px in height (including the border). Item 1 should have a 1px space between its border and the "myDivs" border. In IE8 it is. In FF 3.6.2 though it is 24px and I can't understand why. Ultimately my goal is to get the same CSS to create the same result in bot...

IF statement + Jquery popup?

How would i go about having my site know lets say "IE User Visit's" and my site goes oh there on IE pop up lightbox or something. needs to support html. but say there on Mozilla or safari base browsers it just goes it because radius is supported by them ...

CSS Calendar Display

I created my own custom date picker consisting of an ASP TextBox, Button, and Calendar complete with CSS styles, javascript code, and event handling vb code. I want to use this date picker multiple times on my form. I know the wrong way to do this would be to copy all the code and just adjust each name accordingly. How can I put those...

Force float left with no line break no matter what

I'm guessing this isn't possible, but here goes. I have two tables, and I'm trying to get them to sit side-by-side so that they look like one table. The reason for this, instead of using one larger table, is that the data in the second table needs to be handled on a column basis, not row basis, for performance reasons like caching and A...

CSS class not having an effect on a div

Hi Peeps, The following is an section of my css file plus some HTML. Can anyone tell me when I put class="containerHeader selected" (as is on Test Header A) the background colour is not being set to Red??? Cheers, ET Fairfax. div#builderContainer { margin-top: 15px; width: 390px; height: 700px; border: solid 0px #CCC...

Styling a Div Class within Div ID

I have a page that has the following div element: <div id="name" class="class_name"> Which of the following should I use to style the class? #name .class_name name .class_name #name class_name ...

Eclipse CSS plugin support css imports

Hi, Is there any CSS plugin for Eclipse, which supports import CSS files to profile, e.g. like Spket IDE makes it for JavaScript files. In result, I want to get the following functionality: In any html/css file, where defined css class/id, I perform clicking on it, and it dispatches me to appropriate css file which responsables for th...

Image button inside search field?

Hey guys. I'm a CSS newbie and I was wondering how websites like bing.com or wolframalpha.com create their search buttons inside of of the text field? If you go to each website, you can see clearly what I mean. ...

:focus in IE not working

Hey, I've created a site with CSS that requires the :focus pseudo class. I change the 'filter' and 'background-image' effects when a textbox is selected (i.e. has focus). This works in Chrome/FF, but doesn't seem to work in IE8 (and, presumable, previous versions if IE). I tried to look for answers, and have tried to use :active - but ...

I don't know what to call it php/css error tho

whats going on is everything is loading just fine url is deigned.sytes.net except for the links when i click about us or services or contact they look like there loading but the content in body.tpl doesn't change from default. maybe you can help me with this why the links are not changing. you u want here are the ONLY php files I have ...

Make content at the right most in a div tag

Hi all I have some html snippet <div id="title">This is title<span id="close">X<span><div> The width of this div is dynamical, maybe 300 600 or 800 px. I want the "X" at the right most of the div at the same line. So write a css like below: #close { margin-right:10px; } But it does not work. If I want to implement it, what sho...

Problems with my HTML/CSS

Note below is my CSS. This is a three column website. my main content is in the center. The problems that I am having is that my main content does not adjust correctly to IE. It is fine in FF but not in IE. .columns3headers2 #mainContent1 { margin: 0 22% 0 24%; width: 570px; background-color: #DDDDDD; height: 370px; padding: 0...

How to get cross browser <sup> without intrerupting line height?

How to get cross browser <sup> without interrupting line height? I tried vertical-align:top but it looks ok in FF 3.6 and IE but not in FF 3.0. How to get consistent in size (size of superlative text) and position of <sup> identical in all browsers without interrupting line height. I'm using <sup> to indicate footnote? not to show pow...

Use javascript to get the style of an element from an external css file

I have a html like this: <html> <head> <link rel="stylesheet" type="text/css" media="all" href="style.css"> </head> <body> <div id="test">Testing</div> <script> alert(document.getElementById('test').style.display); </script> </body> </html> The style.css: div { display...

Problems with a from CSS

I am trying to create a fairly basic form with in my maincontent. I am sure I am coding things incorrectly and it is driving me crazy. Note my code. I get extremely wide vertical spacing in IE 7 and the bacground color between the field sets does not work correctly. All is good in FF. My CSS is: fieldset { margin: 1.5em 0 0 0; pa...

Data table multiple row selection

How to change background color of row when I click the checkbox? ...

How to show mouseover tooltip on selected word on web page using javascript, conditionally?

How to show mouseover tooltip on selected word on web page using javascript? i want to set some conditions For example: If page has text <p> I'm Web Designer </p> inside <div id=example> then it should show tool tip on Designer but tooltip should not be shown for designer without adding any span to Designer and designer. i want to sele...

How to add brackets (a) to ordered list? compatible in all browsers.

I have to show like (a) (b) (c) Update: I found a CSS way ol {list-style-type: none;} li:before {content: "(" counter(section, lower-alpha) ") ";} li { counter-increment: section;} but it not works in IE 7 and lower. ...

meaning of text-size css propery in percentage

In css text-size, one can specify the size as a percentage. What does this percentage refer to ? ...