The css() jQuery method has two sintaxes.
For one css declaration use:
$('#contenido').css('float', 'left');
For multiple css declarations use:
$('#contenido').css ({
float: 'left',
width: '480px',
min-height: '250px',
...,
backgroundColor: '#fff'
});
See:
Do not use jQuery 1.2.5, use 1.2.6 instead.
On Jan 11, 2:19 pm, Mauricio \(Maujor\) Samy Silva
css.mau...@gmail.com wrote:
The css() jQuery method has two sintaxes.
For one css declaration use:
$('#contenido').css('float', 'left');
For multiple css declarations use:
$('#contenido').css ({
Thank´s Mauricio but...
i like that are declaration stay in other file, not in file (for
example) index.html...
how i do?
On 11 ene, 19:52, Kean shenan...@gmail.com wrote:
Do not use jQuery 1.2.5, use 1.2.6 instead.
On Jan 11, 2:19 pm, Mauricio \(Maujor\) Samy Silva
css.mau...@gmail.com
An external CSS file has nothing to do with any script, just use a
link inside head:
link href=estilos.css rel=stylesheet /
On Jan 11, 8:59 pm, goosfancito goosfanc...@gmail.com wrote:
Thank´s Mauricio but...
i like that are declaration stay in other file, not in file (for
example)
4 matches
Mail list logo