I have a website at http://www.link1.com where all the php and images are, and I want to load the css from different website like http://www.link2.com (this doesn’t host any of the css images)
I got the padding, margins, and arangement stuff from the css but not the images.
Do browsers restrict this? Is there any way for cross-domain css loading?
You can host your css on another host no problem. If the paddings etc are working then the css is loaded. If images are not working, check the paths specified in your css.
Edit: You should use absolute urls in your css definitions if the images are hosted on a different domain, i.e:
as relative paths are relative to the css location, not the parent page (except, apparently for IE, see Rob’s answer below).