View gets CSS classes properties but not the IDs. Wierd :( ! |
[eluser]zrowcrypt[/eluser]
This one is totally new. I wrote a sub view(signup.php), included it in the main view(account.php) which is called by the main controller. Everything works fine. The CSS style of signup.php is in signup.css file. The problem is when the view gets loaded, it takes the styles of the classes but bot those of the id elements from the css file. Now, I absolutely had no idea that even such a problem can occur. Any idea guys?
[eluser]Deveron[/eluser]
Hi Zrowcrypt, please post your signup.css and signup.php code. Maybe there is a simple syntax error in the css code? Did you validate your css code? Try: http://jigsaw.w3.org/css-validator/#validate_by_input
[eluser]InsiteFX[/eluser]
Your CSS Styles need to be in your main view file. Load your CSS Styles in your account.php view file. InsiteFX
[eluser]Juan Velandia[/eluser]
Perhaps you have some css code outside the css file, I meaan within the html. Besides I notice that you have a signup.css and a signup.php file, does this mean that you have a css file for each view?. By my experience, it´s good idea to have only one or two css files. |
Welcome Guest, Not a member yet? Register Sign In |