in reply to [OT] How can i align the width and height automatically using perl cgi?
Have a look at the CSS Tutorial at w3schools (just one tutorial of many).