how to place a dividion( using <div> tag) at a particular location

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • menmysql
    New Member
    • Mar 2007
    • 53

    how to place a dividion( using <div> tag) at a particular location

    hi to all


    i want to place a division(using <div> tag) at a perticular location(x,y). is it possible. if possible please tell me how to do it.

    regards
  • olakara
    New Member
    • Nov 2006
    • 18

    #2
    hi,
    Yup! it is possible to place a <DIV> at a particular location. Hope you know CSS.
    By manipulating the top,left,right and other values you can make the <DIV> at any location on screen

    For doing so, make a CSS and assign it to the <div> tag. you can use class or id. Or use the inline css to do it ! for example
    [code]
    <div style="left:50p x;top:250px">A sample div </div>
    [\code]
    For more modifications check out the CSS. For more interesting things, learn how to manipulate these CSS using JS.

    Regards,
    Abdel Olakara


    Originally posted by menmysql
    hi to all


    i want to place a division(using <div> tag) at a perticular location(x,y). is it possible. if possible please tell me how to do it.

    regards

    Comment

    Working...