NiceGuyEd Posted January 12, 2005 Posted January 12, 2005 Hello all. This is problem a real simple question. :) I'm running centershop on my store with no problems. I have the padding set to 0 so the shop is now centered perfectly and all the way at the top of the screen. I was curious as to how I would make it stretch to the bottom as well? Any insight would be great! :) Ed
Guest Posted January 12, 2005 Posted January 12, 2005 Chances are you won't be able to fit on all screens vertically, ever. That's not the way html works, unfortunatley. TJ Hello all. This is problem a real simple question. :) I'm running centershop on my store with no problems. I have the padding set to 0 so the shop is now centered perfectly and all the way at the top of the screen. I was curious as to how I would make it stretch to the bottom as well? Any insight would be great! :) Ed <{POST_SNAPBACK}>
NiceGuyEd Posted January 12, 2005 Author Posted January 12, 2005 Chances are you won't be able to fit on all screens vertically, ever. That's not the way html? works, unfortunatley. TJ <{POST_SNAPBACK}> Hmm.. I've seen hundreds of sites do this tho? For example: http://www.mezzoblue.com/ ......no matter what the screen resolution or how much content, it's always centered and 100% screen height.
Guest Posted January 12, 2005 Posted January 12, 2005 nah, they just happen to fit on your screen properly... Flash imost likely will though at full screen. TJ That site goes way off the screen vertically. Hmm.. I've seen hundreds of sites do this tho? For example: http://www.mezzoblue.com/ ......no matter what the screen resolution or how much content, it's always centered and 100% screen height. <{POST_SNAPBACK}>
NiceGuyEd Posted January 12, 2005 Author Posted January 12, 2005 nah, they just happen to fit on your screen properly... That site goes way off the screen vertically. <{POST_SNAPBACK}> No... that's what I want! :) I don't want my site to fit the screen perfectly, I want it to always be flush against the bottom and the top of the browser just like that site. If my content exceeds exceeds the viewable screen vertically, I want the viewer to be able to scroll. Basically, right now my site is fixed width and centered. And since I have selected no padding in the centershop setup, it is sitting against the top of the screen perfectly. There is a space right now under the site. I want the bottom of the site to not have a margin just like the top... regardless if they have to scroll down or not. Does that make sense? :)
Guest Posted January 12, 2005 Posted January 12, 2005 Your going to have to make sure there is no extra space in the includes/footer.php file at the bottom and make sure the containing table is xxx in height. Do you have a site to look at? TJ No... that's what I want! :) I don't want my site to fit the screen perfectly, I want it to always be flush against the bottom and the top of the browser just like that site. If my content exceeds exceeds the viewable screen vertically, I want the viewer to be able to scroll. Basically, right now my site is fixed width and centered. And since I have selected no padding in the centershop setup, it is sitting against the top of the screen perfectly. There is a space right now under the site. I want the bottom of the site to not have a margin just like the top... regardless if they have to scroll down or not. Does that make sense? :) <{POST_SNAPBACK}>
NiceGuyEd Posted January 12, 2005 Author Posted January 12, 2005 This is my footer file. My site is currently offline as I've been working on it. <?php /////////////////// // [0001] WebMakers.com Added: Center Shop // This goes at the very end of the footer after all the tables /////////////////// if ( CENTER_SHOP_ON == 'on' ) { /////////////////// // [0001] close table used to center /////////////////// ?> </td></tr> </table> <?php if ( CENTER_SHOP_BACKGROUND_ON == 'on' ) { /////////////////// // [0001] Add color to bottom of screen for large displays - needed especially on notebooks that run at 1600x1200 // close table used for outer bgcolor around the shop /////////////////// ?> <?php } } /////////////////// // [0001] EOF: WebMakers.com Added: Center Shop /////////////////// /////////////////// ?>
Recommended Posts
Archived
This topic is now archived and is closed to further replies.