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 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. 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. 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..? 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. 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. 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...!! 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. Link to comment https://forums.phpfreaks.com/topic/149818-what-is-a-spacer/#findComment-787781 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.