Discussions

Web tier: servlets, JSP, Web frameworks: Draw a rectangle in html page

  1. Draw a rectangle in html page (5 messages)

    Hi,
    Can anybody tell me how to draw a rectangle in html with out using java script or java code

    Thanks in advance
    Sandeep

    Threaded Messages (5)

  2. Use CSS[ Go to top ]

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

    <html>
    <head>
    <title>Untitled</title>
    </head>
    <style type="text/css">
    p.one
    {
    width: 100px; height: 100px;
    border-style: solid;
    border-color: #0000ff
    }
    </style>
    <body>
    <p class="one">One-colored border!
    </body>
    </html>
  3. Use CSS[ Go to top ]

    hi,

    I have 2 questions here.

    1. How to change the border size, means the thickness of the table border to 1 Px or 2 PX etc

    2. How to start the rectangle at a particular point, say the top will start after 50 Px and the left will start after 10px.

    youe help is greatly appreciated.

    Thanks

  4. Thank you very much dear
  5. Draw a rectangle in html page[ Go to top ]

    Drawing a rectangle is very easy if your a programmer but is there a possible to draw a rectangle in html? 

  6. Draw a rectangle in html page[ Go to top ]

    Drawing a rectangle is very easy if your a programmer but is there a possible to draw a rectangle in html? 

     

    goergehill

    Team INA Leadership

    Team INA Smart Goals