Hi,
When I press enter in a textarea which has whitespace attribute is set to nowrap through css, it is ineffective. No new line is created. Instread a simple whitespace appears.
This is only true in IE8. I Have tried current version of Opera,Chrome and Firefox and I have not encountered such problems.
Do you have some solution for this...
Hi,
Im using the coda slider. if you dont know the coda slider, the overflow-x position is hidden until a tab is clicked. The animation slides the hidden div in from the right or left.
If you scroll down one of the panels, and click the tabs at the top again, it slides the tab over, but it doesnt change the overflow position.
What I w...
I need to change the style of an element after the user has scrolled down beyond a certain number of pixels, and then change it back once the user has scrolled back up. I'm using jQuery already so I'd like to use jQuery if possible. Can anyone provide an example where you add a a classname to a div once the user has scrolled beyond 200 p...
Here is the scenario:
You have two images and they are stacked on one another. The highest-order z-indexed image is responsible for handling click events (think Google's Map API) and is transparent, while the image below is responsible for a visual representation.
Here is a pseudo-HTML/CSS representation:
div.visual-container {
wi...
This question has been discontinued.
...
Hey there:
I've got a test site here (still in development) and I'm trying to get the little notification at the top to stay hidden once you click close.
Currently my script is like this:
<style type="text/css">
<!--
.hide {
display:none;
}
.show {
display:block;
}
-->
</style>
<script type="text/javascript">
<!--
var state;
window.on...
Hi Guys,
I am getting this weird problem in IE with a CSS Overlay I am applying for a lightbox. Basically, I use fadein and fadeout for jquery - the problem is that everything works fine EXCEPT in IE.
In IE - I get no fadein - rather it just goes straight to opacity background. On fadeout - it removes the "opacity" for < 1 sec second ...
I have an html file which looks something like this:
<div style="float:right">
A line of text, floating to the right
</div>
<div style="text-align:center">
And here, several lines of<br />
text which I want to center.
</div>
Which renders (at least in Firefox) like this:
And here, several lines of A line of text, floating ...
Hello, I seem to have a bit of a problem with IE6, normally I would just drop the support for IE6 but the project I'm working on there is a chance that there will be lots of people visiting the site with IE6.
If you have IE6 and you want to check out the problem use my Home Page link.
Basically div#content drops below the div#left.
I tr...
I just started to develop a widget for Google desktop and found the platform quite limited. From what I could see, the widgets are using XML to define the interface that is a mix of HTML with some built-in user controls.
Can I use a CSS style attached to it so I can define the styles I want for components? Or at least define styles in ...
So i have this code
<html>
<head>
<style type="text/css">
div.one { border:1px solid black; text-align:center; padding:.2em; height:300px;
}
div.one div {display:inline-block; height:100%;}
</style>
</head>
<body>
<div class="one">
<div style="border:1px solid red; width:40%">
<h3>1st div</h3>
<p>line #1</p>
...
Hi
In Firefox/Safari/Chrome/Opera - the search bar and 4 sliders (from the page linked above) are all on 1 row.
But in IE 6/7/8, the sliders are on a new row.
Anyone know what's wrong with my CSS for IE 6/7/8 to be creating a cartridge return with the other browsers do not.
Many thanks in advance
...
Hi
I'm using the following CSS to achieve a rounded border on my DIV
border: 1px solid #999;
border-radius: 6px;
-ms-border-radius: 6px;
-moz-border-radius: 6px;
-webkit-border-radius: 6px;
But in IE 6/7/8, even though I'm including the IE specific radius, is not displaying a rounded DIV border (it's displays a square border).
A...
I made a function that overwrite the the :hover of some elements on a page. It fades between the normal and the :hover effect. That for i had to create a .hover class in my CSS file. I think this is a little unclean. How could i read the the :hover pseudo class contents?
...
Possible Duplicate:
How to set cellpadding & cellspacing in CSS?
i have a little problem, i don't know how i can make my CSS style to remove cellpadding and cellspacing.
i hobe i can be helpet.
...
I'm using the 960.gs CSS framework on a site and have hit problems almost instantly with IE (7, though I assume 6 is no better).
<html>
<head>
<link rel="stylesheet" href="design/reset.css" />
<link rel="stylesheet" href="design/960.css" />
<link rel="stylesheet" href="design/text.css" />
</head>
<body>
<div class="conta...
I'm trying to apply a class to a link only if the current page equals that link.
I find the current page with:
var pathname = window.location.pathname.split("/")[window.location.pathname.split("/").length - 1];
This grabs the url of the page and saves whatever is after the last /, which in the case of my page is 'index.html'.
Now, ...
I have nav a bar on my site but I want to put rounded corners on each end of it. So far my css for this is..
#nav {
left:40px;
position:relative;
top:140px;
}
#nav a {
background-image:url(../images/menu.png);
background-repeat:no-repeat;
color:#FFFFFF;
display:inline;
float:left;
font-family:Arial,Helvetica,sans-serif;
font-size:17px;
...
First of all here the work in progress website link http://jacobnlsn.com/wordpress/. I want the bars to be the same height. Here is what i have in CSS for both:
#bodybinblog {
width:546px;
float:left;
background:#400000;
border-left:solid 9px #cdba70;
border-right:solid 9px #cdba70;
margin:0 15px 0 30px;
padding:0;
}
#sidebarbinblog {...
The css is exactly like this:
body {
background:#FFFFFF none repeat scroll 0;
margin:2px 5px;
font-family:Arial,sans-serif;
font-size:10pt;
}
But from firebug I see the style is:
body {
-moz-background-clip:border;
-moz-background-inline-policy:continuous;
-moz-background-origin:padding;
background:#FFFFFF none repeat...