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 
  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

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
<html xmlns="http://www.w3.org/1999/xhtml";>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    
    <title>ejemplo de AJAX</title>
    
    <link href="css/estilos.css" rel="stylesheet" type="text/css" />
    
    <script language="JavaScript" type="text/javascript" src="jvs/jquery.js" 
></script>
        
        <script type="text/javascript">
                $(document).ready(function(){                   
                        
                        $("p").click(function(event){
                                alert("Thanks for visiting!");
                         });
                });
    </script>
    
</head> 

<body>
    </div>
   
        <div id="contenidos">
        <h3>Parte del contenido</h3>
        <p>Escoger del menu</p>
    </div>

    
</body>

</html>
#contenidos{
    float:left;
    width:480px;
    min-height: 250px;
    border: 3px solid grey;
    margin-left: 10px;
    padding: 5px;
    padding-bottom: 8px;
    background-color: #fff;
}

Reply via email to