Le 30 mars 2013 à 09:48, Barney Carroll a écrit :
> Sadly, IE will need Javascript to achieve this, in the form of listening
> for the `focus` event for each such element and triggering `blur` on it.
But that is an accessibility nightmare.
Just out of curiosity, is that still the case in IE 10
Sadly, IE will need Javascript to achieve this, in the form of listening
for the `focus` event for each such element and triggering `blur` on it.
__
css-discuss [css-d@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listi
Le 30 mars 2013 à 03:28, J.C. Berry a écrit :
> I have the below link to a problem. I have an absolute page and container
> width, but I have a div inside the container that I need centered no matter
> how wide that contained div is. How can I make the contained div only as
> wide as its content
Hello,
Shouldn't the following work to remove the focus outline from an image map's
areas? It does not work in IE. It works in other browsers.
map area:focus, map area:active
{outline:none;
border:0;
}
Thank you,
Angela French
Internet Specialist
State Board for Community and Technical
You need to have margin-left and margin-right to be auto something like this:
#container {
width: 960px;
background-color: silver;
}
#contained {
width: 500px;
margin: 0 auto;
background-color: gray;
}
Your HTML might look like this:
Contained
J.C. Berry wrote:
> Hello all,
> I have the below link to a problem. I have an absolute page and container
> width, but I have a div inside the container that I need centered no matter
> how wide that contained div is. How can I make the contained div only as
> wide as its content and center it?
Hello all,
I have the below link to a problem. I have an absolute page and container
width, but I have a div inside the container that I need centered no matter
how wide that contained div is. How can I make the contained div only as
wide as its content and center it?
http://mindarc.com/capture.JP