DarkHavn Posted September 30, 2006 Share Posted September 30, 2006 Just wondering if its possible to tab the content in the source code, and the way it is tabed in the source is the way it will appear in the browser?Instead of using the spacebar all the time, is it possible to use the tab key? Quote Link to comment https://forums.phpfreaks.com/topic/22568-tabs-in-htmlxhtml/ Share on other sites More sharing options...
wildteen88 Posted September 30, 2006 Share Posted September 30, 2006 Use four non-braking spaces - & nbsp; (without the space before &)Not sure what you mean though. Quote Link to comment https://forums.phpfreaks.com/topic/22568-tabs-in-htmlxhtml/#findComment-101337 Share on other sites More sharing options...
DarkHavn Posted September 30, 2006 Author Share Posted September 30, 2006 Just incase that's not what i was after, what i mean was, instead of moving text along with div's, is it possible to tab content, so when its displayed in the browser, its been tabed like in the source code?examplenonetabtxt tabtxt Quote Link to comment https://forums.phpfreaks.com/topic/22568-tabs-in-htmlxhtml/#findComment-101342 Share on other sites More sharing options...
wildteen88 Posted September 30, 2006 Share Posted September 30, 2006 Prehaps you want to use the preformatted text tag:[code]<pre> hey what every i place in here is what will be shown inthe browser!</pre>[/code] Quote Link to comment https://forums.phpfreaks.com/topic/22568-tabs-in-htmlxhtml/#findComment-101345 Share on other sites More sharing options...
Daniel0 Posted October 1, 2006 Share Posted October 1, 2006 Put it in pre tags or use the the CSS [tt]white-space[/tt] attribute. Quote Link to comment https://forums.phpfreaks.com/topic/22568-tabs-in-htmlxhtml/#findComment-101742 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.