Namal Posted December 14, 2006 Share Posted December 14, 2006 Please explain how to adjust the size of a webpage in HTML document. Link to comment Share on other sites More sharing options...
aspnetguy Posted December 14, 2006 Share Posted December 14, 2006 Post your code or provide a link. Do you want to increase or decrease the width? Link to comment Share on other sites More sharing options...
Mr.Jay Posted December 14, 2006 Share Posted December 14, 2006 Pleace this in between the <head> tags <script language="javascript" type="text/javascript">function openPopup(url, width, height){ var w = window.open(url, 'windowdetails', 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,copyhistory=yes,width=' + width + ',height=' + height) return w;}</script> then on your link you have something like this: <a href="#" onClick="openPopup('http://microsoft.com', '550', '435')"> Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now