views:

139

answers:

2

Hello,

I have the following style:

table.jqTransformTextarea td#jqTransformTextarea-mm textarea{
    margin:0;
}

This works as expected in Firefox, Opera, Internet Explorer 7,8 and 6.

However, to make it work in Chrome and Safari I need to do:

table.jqTransformTextarea td#jqTransformTextarea-mm textarea{
    margin:10px 0 0 10px;
}

How can I set this style to Chrome and Safari only? I would prefer not to use JavaScript (or jQuery) to get this effect, and get the solution with CSS only, or HTML (but I don't know if there is a tag like: <!--[if IE]> that selects this two browsers).

Thx in advance.

+1  A: 

Just solved my own question:

@media screen and (-webkit-min-device-pixel-ratio:0)
{ table.jqTransformTextarea td#jqTransformTextarea-mm textarea { margin:10px 0 0 10px; } }
Marco
A: 

WOW MUCHAS GRACIAS A AMBOS ME HAN ALEGRADO LA EXISTENCIA CON ESTE TIP!!!

Bluejorp