missschools Posted June 2, 2010 Share Posted June 2, 2010 Please please can someone help me what code is need to have my website automatically resize to a viewers screen size Link to comment Share on other sites More sharing options...
thescientist Posted June 2, 2010 Share Posted June 2, 2010 CSS body{ width: 100%;} Link to comment Share on other sites More sharing options...
real_illusions Posted June 2, 2010 Share Posted June 2, 2010 CSSbody{ width: 100%;} Its a little more than just that, but that will give you a base to start off from. Link to comment Share on other sites More sharing options...
missschools Posted June 2, 2010 Author Share Posted June 2, 2010 thank you is this code in css or html and where do i insert it Link to comment Share on other sites More sharing options...
real_illusions Posted June 2, 2010 Share Posted June 2, 2010 Thats CSS code. It goes into your stylesheet, which is a file ending in .css and is called in via a line in the head section of the HTML page, like so:<link rel="stylesheet" media="screen" type="text/css" href="css/style.css" /> Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.