Do you see the vertical position of "text" in http://dot.kr/x-test/upper.php is different from the vertical position of "text" in http://dot.kr/x-test/lower.php although they have same code?
| SitePoint Sponsor |





Do you see the vertical position of "text" in http://dot.kr/x-test/upper.php is different from the vertical position of "text" in http://dot.kr/x-test/lower.php although they have same code?


Some strange kind of hidden character has crept into lower. Make sure to type your code in a plain text editor, rather than something like Word. If you clear away the spaces and then add in returns again, they are both the same:
Code:<!doctype html> <html> <head> <meta charset="UTF-8"> <title>upper</title> </head> <body> <p>text</p> </body> </html>
Facebook | Google+ | Twitter | Web Design Tips | Free Contact Form
Try your hand at the new JavaScript Challenge!
If you don't like getting your feet stuck in a bog, avoid Twitter BootsTrap.





How can you see the strange kind of hidden character?
I can't see any strange kind of hidden character through view-source.
I am using an Editor which is made by myself.
I guess the editor has some kind of bug.
If I can see the strange kind of hidden character, I might fix the Editor.


Ralph probably just used copy-and-paste of the source code and its clearly sitting there on Line: 11 - illegal character data.
};-) http://www.xhtmlcoder.com/
Thinking Web: Voices of the Community
> March 2013 - SitePoint forums: Spot the Error 3: Calling all Sleuths! Winner Announced!... She knows how to spot simple <code> errors but do you?


Facebook | Google+ | Twitter | Web Design Tips | Free Contact Form
Try your hand at the new JavaScript Challenge!
If you don't like getting your feet stuck in a bog, avoid Twitter BootsTrap.
Bookmarks