[jQuery] CSS not loading when I $("#ID").load("file.php")?

2009-10-05 Thread IsenGrim
Hi, I have a menu and a container. when the user clicks a menu item, new content from another file is loaded into the container. eg. [img]http://i36.tinypic.com/vjcsg.jpg[/img] main.php [code] $(document).ready(function() { $("#menuitem1").click(function() { $("#Container").load("it

[jQuery] CSS not loading and cannot access newly loaded content

2009-09-30 Thread IsenGrim
Hi I want to load new content into a container using .load ('content.html') after the user clicks on a menu item. and in the new content is a form and i encountered 2 problems. first is that the new content don't comply to my loaded css? the fonts sizes are off and the content seem unformated.