williamZanelli Posted March 17, 2009 Share Posted March 17, 2009 Hey guys, Ive just become unstuck with some programming "jargon" - what does "Spacer" mean? I've read this in the context of menus. Thanks in advance, Will Quote Link to comment https://forums.phpfreaks.com/topic/149818-what-is-a-spacer/ Share on other sites More sharing options...
Daniel0 Posted March 17, 2009 Share Posted March 17, 2009 Something that adds space between two elements. You could call it a separator as well. Quote Link to comment https://forums.phpfreaks.com/topic/149818-what-is-a-spacer/#findComment-786712 Share on other sites More sharing options...
The Little Guy Posted March 17, 2009 Share Posted March 17, 2009 Kinda like using 2+ <p></p> tags, you get more white space on both sides, then you do in between to help decipher where each paragraph starts and ends. Quote Link to comment https://forums.phpfreaks.com/topic/149818-what-is-a-spacer/#findComment-786737 Share on other sites More sharing options...
williamZanelli Posted March 17, 2009 Author Share Posted March 17, 2009 Thanks for the replies guys. I understand (I think..) The Spacer refers to some element in the CSS, which has padding/margin etc..? Quote Link to comment https://forums.phpfreaks.com/topic/149818-what-is-a-spacer/#findComment-786742 Share on other sites More sharing options...
The Little Guy Posted March 17, 2009 Share Posted March 17, 2009 Thanks for the replies guys. I understand (I think..) The Spacer refers to some element in the CSS, which has padding/margin etc..? yeah, but it can also be an <hr /> or css border. Basically it is a way to visually group common information. Quote Link to comment https://forums.phpfreaks.com/topic/149818-what-is-a-spacer/#findComment-786745 Share on other sites More sharing options...
Daniel0 Posted March 17, 2009 Share Posted March 17, 2009 In web design it usually refers to the deprecated practice of having a 1x1px transparent gif and then using the height and width attributes on the img tag to push things downwards or to the side. Quote Link to comment https://forums.phpfreaks.com/topic/149818-what-is-a-spacer/#findComment-786749 Share on other sites More sharing options...
williamZanelli Posted March 17, 2009 Author Share Posted March 17, 2009 Fab, thanks guys...!! Quote Link to comment https://forums.phpfreaks.com/topic/149818-what-is-a-spacer/#findComment-786797 Share on other sites More sharing options...
Anti-Moronic Posted March 18, 2009 Share Posted March 18, 2009 It's also bad practice. CSS completely removes to need to use spacers and gives you more precise control over the dimensions of margins and pixels. If you feel you have to use a spacer, your code isn't up to par. Hope that helps. Quote Link to comment https://forums.phpfreaks.com/topic/149818-what-is-a-spacer/#findComment-787781 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.