<body> * </div> // remove this line from your code* <div id="contenidos"> <h3>Parte del contenido</h3> <p>Escoger del menu</p> </div>
check your file is in css folder as you are writing : *css/estilos.css* *estilos.css should be in folder name css... I tried your code and it works fine... * </body> On Sun, Jan 11, 2009 at 5:18 PM, Lord Gustavo Miguel Angel < goosfanc...@gmail.com> wrote: > no work sorry i write in spanish. > but in file that i send you can see this lines: > <link href="css/estilos.css" rel="stylesheet" type="text/css" /> > but when i use this: > > <body> > </div> > > <div id="contenidos"> > <h3>Parte del contenido</h3> > <p>Escoger del menu</p> > </div> > > > </body> > it no work > > > ----- Original Message ----- > *From:* Varun Khatri <khatri.vk1...@gmail.com> > *To:* jquery-en@googlegroups.com > *Sent:* Sunday, January 11, 2009 9:03 PM > *Subject:* [jQuery] Re: [ definition css in other file ] > > u can try like : > <script type="text/javascript" src="Scripts/jQuery.js"></script> > <link href="test.css" rel="stylesheet" type="text/css" /> > > > > 2009/1/11 Lord Gustavo Miguel Angel <goosfanc...@gmail.com> > >> ok. i trade explaint problem. >> >> i have 2 file: >> index.html( i send file with name html.txt) >> style.css( i send file with name style.txt) >> >> my problem: >> how i do to use index.html and style.css and jQuery? >> >> >> >> ----- Original Message ----- >> >> *From:* Varun Khatri <khatri.vk1...@gmail.com> >> *To:* jquery-en@googlegroups.com >> *Sent:* Sunday, January 11, 2009 8:45 PM >> *Subject:* [jQuery] Re: [ definition css in other file ] >> >> i dint get you ? >> tell what is the problem? >> >> On Sun, Jan 11, 2009 at 3:05 PM, goosfancito <goosfanc...@gmail.com>wrote: >> >>> >>> thank´s but i before do this >>> <link href="test.css" rel="stylesheet" type="text/css" /> >>> but don´t... >>> >>> >>> >>> On 11 ene, 19:59, "Varun Khatri" <khatri.vk1...@gmail.com> wrote: >>> > make a .css file like test.css and use it like: >>> > <link href="test.css" rel="stylesheet" type="text/css" /> >>> > hope this helps!! >>> > >>> > On Sun, Jan 11, 2009 at 3:56 PM, Lord Gustavo Miguel Angel < >>> > >>> > goosfanc...@gmail.com> wrote: >>> > > Hello all! >>> > >>> > > I have this .html >>> > > ----------------- >>> > > <script language="JavaScript" type="text/javascript" src="jvs/ >>> > > jquery-1.2.5.js" ></script> >>> > >>> > > <script type="text/javascript"> >>> > > $(document).ready(function(){ >>> > >>> > > $("p").click(function(event){ >>> > > alert("Thanks for visiting!"); >>> > > }); >>> > > }); >>> > > </script> >>> > >>> > > </head> >>> > >>> > > <body> >>> > > <div id="contenidos"> >>> > > <p>Escoger del menu</p> >>> > > </div> >>> > >>> > > </body> >>> > >>> > > </html> >>> > >>> > > ----------- eof 8< ---- >>> > >>> > > and i have this other .css: >>> > >>> > > --------------------------------- >>> > > #contenidos{ >>> > > float:left; >>> > > width:480px; >>> > > min-height: 250px; >>> > > border: 3px solid grey; >>> > > margin-left: 10px; >>> > > padding: 5px; >>> > > padding-bottom: 8px; >>> > > background-color: #fff; >>> > > } >>> > >>> > > ---------EOF 8<--------------------- >>> > >>> > > my question. How i do to used this .css file in my .html with >>> jQuery¿ >>> > >>> > > Thank´s >>> >> >> >