locked
CSS it's not applied RRS feed

  • Question

  • User601688711 posted

    Hi, I've a menu that shows an access to the site, when you are logged the menu it's expanded and you can choose another options like change password. This change I control it with variable  sessions. Well, when I click an option on the menu another aspx it's loaded on a div. The problem I've is that if I get logged and after I'm going to change the password the css is not applied, I mean, the form should appear does it but the format of the text changed (the table appears centrated, it does it fine), as if I hadn't made nothing. But if I start the site with the option of the menu unblocked and I access it the form It's shown correctly. Any idea why is this happening?

    I'm using 2 diferrents aspx to login and change password, and the first one loaded it's shown correctly. I've tried too apply an unique format style to the form change password and it is not shown.

    Login form shown correctly http://imageshack.us/photo/my-images/812/loginok.jpg/

    Change Password Form shown bad http://imageshack.us/photo/my-images/820/modpasko.jpg/

    Change Password Form If I start with the option unblocked http://imageshack.us/photo/my-images/221/modpasok.jpg/

    I hope you could help me. Best regards!

    Monday, July 25, 2011 8:08 AM

Answers

  • User601688711 posted

    Solved, the problem was that I'm loading another aspx with it's own css. If you use the css you have on your parent page when you reload a div or span the css can't work properly. I've solved it declaring again the css I had on my parent but with another name (to evit conflict) and now all it's shown correctly.

    I've seen too that if I put a response.write("") on my default.aspx.vb to see the value of the variable session every time I reload the page the login form and change password form aren't seen fine, the css is not applied.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, July 26, 2011 3:33 AM