Jump to content

vinpkl

Members
  • Posts

    448
  • Joined

  • Last visited

Posts posted by vinpkl

  1. I need the text to touch not the background (already have it touching)

     

    in that case you will have to give width to each <li> individually

     

    <li style="width:15%">link first</li>
    <li style="width:10%">link last</li>
    

     

    vineet

  2. not quite vineet, almost

     

    if you mean that some space is still left, then i should clear you that you cannot get your text to 100% touch the boundries.

    coz if my <li> width is 200px and i write

    <li>hello</li>

     

    then everytime there will be space left in inside of <li>.

     

    if you want to touch it from left to right then give it background color or show me online link.

     

    if background color is touching the boundries then its fine otherwise there may be some other issue.

     

    show an online link.

     

     

    vineet

  3. <!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=iso-8859-1" />
    <title>Untitled Document</title>
    <style type="text/css">
    a.lk{
    background-image:url(images/first_image.gif);
    background-repeat:no-repeat;
    display:block;
    }
    a.lk:hover{
    background-image:url(images/second_image.gif);
    background-repeat:no-repeat;
    display:block;
    }
    </style>
    </head>
    
    <body>
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td><a href="#" class="lk">link1</a></td>
        <td><a href="#" class="lk">link2</a></td>
      </tr>
    </table>
    
    </body>
    </html>
    
    

     

    vineet

  4. what ever your code echoes

    <?php
    $name = 'vineet';
    echo $name;
    ?>
    

     

    from the above code the visitor will just see "hello" nothing else. he will not able to see your variables name.

     

    no php code is visible to visitor.  what ever your php outputs as html only that is visible.

     

    and javascript is visible.

     

    vineet

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.