I am not sure if it is cause the problem but why do you have \/ when you
should only have /, i just point that out because IE does not render things
well if it is invalid html markup.


Equand wrote:
> 
> 
> i have a code like
>                       $('<div class="magic"></div>').html('<br \/>Введите 
> Логин и
> Пароль<br \/><br \/><form action"" method="get"><input name="login"
> type="text" value="login" size="10" maxlength="10" \/
>>&nbsp;&nbsp;<input name="password" type="password" value="password"
> size="10" maxlength="10" \/><\/form><br \/><\/span> submit
> Отправить<\/a><br \/><br \/
>>').appendTo('body');
>                       s = windowsize(2);
>                       k = (+$('.magic').css("width").replace(/px$/,''));
>                       s = (s[0] - k) / 2;
>                       $('.magic').css("left",s);
> 
> 
> it creates a div centered on the screen with login and password
> fields...
> it works in firefox... but in ie6/ie7 it shows only text in last
> span... what's wrong with this?
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/.html-not-working-in-ie6-ie7-as-expected-tf4407846s15494.html#a12575278
Sent from the JQuery mailing list archive at Nabble.com.

Reply via email to