I have a dynamic base href depending on if my page is run from localhost or my server.
Reason why? Here > http:Q_21858289.html
When i order these tages like this;
I can solve it by re-ordering:
However this seems quite odd. I dont get why it is doing this, i thought the whole point of the base href was to tell the css file where to look.
My code changes the base href in the pageload. If it's my server, it adds http://myserver.com/
and if it's on the localhost it changes it to http://localhost/appname/
I've tried a few things, like ../NAME.css and /NAME.css
I am using <link href="NAME.css" rel="stylesheet" type="text/css" />
Any ideas? Thanks.
(And if i haven't made myself clear, please ask more questions and i'll try to explain further)