I created a webpage in JSP and when I run it with mozilla the page is normal. But when I run it with chrome or opera the alignment of the lists and text are out of pageview. How to set my page to adjust to different browsers.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
This could be done definitely by specifying the CSS property
width:100%;. This will extend layout to the browser width. Note also if you specifyheight:100%;it will adjust the height to the browser height. Apply it to the topmost element of the body. Child tag properties works to layout to the parent tag. And don’t forget to use correct doctype as it meaningful for browsers.