Answer the question
In order to leave comments, you need to log in
Lost symbol?
For hours now, I can't figure out what's going on.
This is the situation, I want to know why the blue block is going down.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
" www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
< html xmlns = " www.w3.org /1999/xhtml" xml: lang = "en" >
< head >
< title > Untitled Page < / title >
< meta http-equiv = "Content-type" content = "text/html; charset=UTF-8" / >
< styletype = " text/css" media = "screen" >
html, body, #navigation, #content {
margin:0;
padding:0;
}
#navigation, #content {
float: left;
height: 100%;
}
#navigation {
width: 20%;
background color: red
}
#content {
width: 80%;
background color: blue
}
< / style >
< / head >
< body >
< div id = "navigation" >
Navigation < br / > Here
< / div ><!-- /navigation -->
< div id = "content" >
Content
< / div > <!-- /content -->
< / body >
< / html >
I think the cant is somewhere in the encodings, no spaces or anything in the editor is invisible.
The question is how to find this muck? notepad and my editor (intype) doesn't show it
Answer the question
In order to leave comments, you need to log in
I solved the problem in this way:
Apparently we need to change the editor. Although there were no such problems before
$string = file_get_contents($file);
if(substr($string, 0,3) == pack('CCC',0xef,0xbb,0xbf))
{
$string=substr($string, 3);
}
file_put_contents($file, $string);
like this for me: gyazo.com/01bd2906d0111ea3da392ea072854bce
try to copy the code directly from here :)
you have the code in the picture != the code in the listing...
m/b is that the point?
I post this happiness for everyone to see: dl.dropbox.com/u/10688674/Untitled%20Page.htm
Here's what happens if you switch to 1251 pix.am/Ai7O/
In general, there is some invisible character here, probably lost when you converted the file.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question