Akskater1000 Posted February 14, 2009 Share Posted February 14, 2009 I am making a site: akskater100.tk but there's like this white border around it. How do I get it to stretch to the top, right, and left? Link to comment https://forums.phpfreaks.com/topic/145204-solved-how-do-i-make-my-site-stretch-to-each-side/ Share on other sites More sharing options...
Akskater1000 Posted February 14, 2009 Author Share Posted February 14, 2009 hello? is it really that hard? Link to comment https://forums.phpfreaks.com/topic/145204-solved-how-do-i-make-my-site-stretch-to-each-side/#findComment-762198 Share on other sites More sharing options...
marcus Posted February 14, 2009 Share Posted February 14, 2009 Don't use tables Link to comment https://forums.phpfreaks.com/topic/145204-solved-how-do-i-make-my-site-stretch-to-each-side/#findComment-762203 Share on other sites More sharing options...
MadnessRed Posted February 14, 2009 Share Posted February 14, 2009 its not php you want, php is server side, what you want to do should be done client side, try css or html though I think you want <body marginwidth="0" marginheight="0" topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0"> Link to comment https://forums.phpfreaks.com/topic/145204-solved-how-do-i-make-my-site-stretch-to-each-side/#findComment-762214 Share on other sites More sharing options...
Akskater1000 Posted February 14, 2009 Author Share Posted February 14, 2009 its not php you want, php is server side, what you want to do should be done client side, try css or html though I think you want <body marginwidth="0" marginheight="0" topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0"> Okay the <body> didn't work... How would I go about doing it with css? Link to comment https://forums.phpfreaks.com/topic/145204-solved-how-do-i-make-my-site-stretch-to-each-side/#findComment-762226 Share on other sites More sharing options...
MadnessRed Posted February 14, 2009 Share Posted February 14, 2009 you haven't ended the <head> of your document, don't knwo what effect that will have but you should fix it. also try, marginwidth="0" marginheight="0" in the body. Link to comment https://forums.phpfreaks.com/topic/145204-solved-how-do-i-make-my-site-stretch-to-each-side/#findComment-762234 Share on other sites More sharing options...
allworknoplay Posted February 14, 2009 Share Posted February 14, 2009 yeah this isn't a PHP question though, this is HTML 101. Link to comment https://forums.phpfreaks.com/topic/145204-solved-how-do-i-make-my-site-stretch-to-each-side/#findComment-762236 Share on other sites More sharing options...
Akskater1000 Posted February 14, 2009 Author Share Posted February 14, 2009 I ended the head. that didn't work... and fine. how would i make the site without tables? Link to comment https://forums.phpfreaks.com/topic/145204-solved-how-do-i-make-my-site-stretch-to-each-side/#findComment-762240 Share on other sites More sharing options...
MadnessRed Posted February 14, 2009 Share Posted February 14, 2009 yeah this isn't a PHP question though, this is HTML 101. its not php you want, php is server side, what you want to do should be done client side, try css or html We have already established that, Link to comment https://forums.phpfreaks.com/topic/145204-solved-how-do-i-make-my-site-stretch-to-each-side/#findComment-762245 Share on other sites More sharing options...
Philip Posted February 14, 2009 Share Posted February 14, 2009 http://w3schools.com/css/default.asp Read up Link to comment https://forums.phpfreaks.com/topic/145204-solved-how-do-i-make-my-site-stretch-to-each-side/#findComment-762248 Share on other sites More sharing options...
MadnessRed Posted February 14, 2009 Share Posted February 14, 2009 the answer is in the 4th post. <body marginwidth="0" marginheight="0" topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0"> you missed marginwidth="0" marginheight="0" also the <style>XYZ</style> should be inside the <head> Link to comment https://forums.phpfreaks.com/topic/145204-solved-how-do-i-make-my-site-stretch-to-each-side/#findComment-762249 Share on other sites More sharing options...
Akskater1000 Posted February 14, 2009 Author Share Posted February 14, 2009 the answer is in the 4th post. <body marginwidth="0" marginheight="0" topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0"> you missed marginwidth="0" marginheight="0" also the <style>XYZ</style> should be inside the <head> OMG Thank you!!! It worked. Link to comment https://forums.phpfreaks.com/topic/145204-solved-how-do-i-make-my-site-stretch-to-each-side/#findComment-762257 Share on other sites More sharing options...
MadnessRed Posted February 14, 2009 Share Posted February 14, 2009 topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0" is for ie based browsers. marginwidth="0" marginheight="0" is for netscape based browsers. glad it worked. Link to comment https://forums.phpfreaks.com/topic/145204-solved-how-do-i-make-my-site-stretch-to-each-side/#findComment-762259 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.