rubing Posted June 19, 2008 Share Posted June 19, 2008 I just set up my first ever subdomain. And I notice that it does not allow for realative paths. Is that right? for example, if before i had a line of html like this: <style type="text/css" src ="/css/stylesheet1" /> It now requires the full path <style type="text/css" src="http://www.example.com/css/stylesheet1" /> Quote Link to comment Share on other sites More sharing options...
rhodesa Posted June 19, 2008 Share Posted June 19, 2008 correct, if you want it to pull the CSS from the main domain, and not the subdomain. using a relative path will pull from the subdomain obviously. you can also use a BASE tag to default all links back to you regular domain (but not sure why you would): http://www.w3schools.com/TAGS/tag_base.asp Quote Link to comment Share on other sites More sharing options...
rubing Posted June 19, 2008 Author Share Posted June 19, 2008 thanks rhodesa! I guess I wasn't thinking about it in terms of a seperate domain at first. now it makes sense! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.