ohdang888 Posted December 23, 2007 Share Posted December 23, 2007 hey, i knwo this is more of a html question, but i don;t feel like going to go regrister at new forum just for 1 questions that every probably knows the answer to.... i am putting my entire site in a div... this is the code... <html> <BODY bgcolor="#666666"> <body leftmargin="0"> <body topmargin="0"> <font size=1> <Br> <Br> <font size=3> <div style="background-color:#C0C0C0;overflow: hidden; width:920px;height:2500px"> Content of site first of all, is that ok to do ( i mean, could it cause problems) also, not all of the pages are 2500 px long... so how do i get it to conform to how long the page is???? Quote Link to comment https://forums.phpfreaks.com/topic/82960-solved-divs/ Share on other sites More sharing options...
Popple3 Posted December 23, 2007 Share Posted December 23, 2007 Well, first of all, why? ??? Second, use height:100% Quote Link to comment https://forums.phpfreaks.com/topic/82960-solved-divs/#findComment-421949 Share on other sites More sharing options...
anon Posted December 23, 2007 Share Posted December 23, 2007 There's also an HTML section.... Quote Link to comment https://forums.phpfreaks.com/topic/82960-solved-divs/#findComment-421950 Share on other sites More sharing options...
ohdang888 Posted December 23, 2007 Author Share Posted December 23, 2007 i don't know how else to do it. i want to have an outside background color, and a different color for the actaully content... look at the attached picture [attachment deleted by admin] Quote Link to comment https://forums.phpfreaks.com/topic/82960-solved-divs/#findComment-421951 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.