Guest theo65 Posted November 22, 2005 Share Posted November 22, 2005 I am studying the tutorial of Dreamweaver MX 2004 and i came up with this term"non-breaking space entity" Does anyone what that is? Link to comment Share on other sites More sharing options...
F-Man Posted November 22, 2005 Share Posted November 22, 2005 A space that doesn't break into a new line. Useful when you want two words to always stay on the same line.You can write it by typing in the source code. Link to comment Share on other sites More sharing options...
Skemcin Posted November 22, 2005 Share Posted November 22, 2005 To elaborate a little on F-Man's response, the non-breaking space element ( ) also serves (and is sometimes abused) as a way to insert extra spaces into your content.If you type "Hello World" and put 7 spaced between "Hello" and "World the web browser will still only display "Hello World". However, if (for what ever reason) you need those seven space, you would type:"Hello World"or"Hello World"or obviously any combination that bproduces seven spaces without two "real" spaces next to each other. Please note that " " are NOT to be used as design elements - if you are using more than 3 side-by-side, then you might need to reconsider how you are coding the page.If you research the topic, you might find a reference to <nobr> which is not an official tag for HTML - although it does appear in the DTD for IE 3.0 - another attempt by Microsoft to abuse their monopoly (at the time) to push tags that they "wanted". Thankfully they did not win with this one - they did win with <iframe> though. Link to comment Share on other sites More sharing options...
Jonas Posted November 22, 2005 Share Posted November 22, 2005 Yeah, if you're gonna use more than three spaces, use the <pre></pre> tag set. Preformatted text... Link to comment Share on other sites More sharing options...
F-Man Posted November 22, 2005 Share Posted November 22, 2005 Let's not forget CSS word-spacing. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now