Last post Feb 16, 2009 01:05 AM by ll02
Feb 15, 2009 11:48 PM|ll02|LINK
I have 1and1 as my web host and am trying to setup multiple ASP.NET 2.0 websites. I used there default code to do a redirect to get to my sites, but now none of my images are loading and it appears that it can't find my CSS as well. I have expermented
with a Server.Transfer which fixed my image problem, but still no CSS. It also broke my original BlogEngine.NET page. Any ideas? The URL that is broke is http://sgs.dvdpreorder.com.
Feb 16, 2009 12:46 AM|vipuldonga|LINK
i see site http://sgs.dvdpreorder.com. and see the style sheet this site it is on root folder and your page can't get that style sheet so the issue is for path you can give the style sheet this way
<link type="text/css" rel="stylesheet" href="../style.css"/> and problem is sloved
Feb 16, 2009 01:03 AM|sreejukg|LINK
actually you have to adjust the style url for this...
<link href="./style.css" rel="stylesheet" type="text/css" />
you replace with
<link href="../style.css" rel="stylesheet" type="text/css" />, it should work.. currently you are referring the css with one dot(".") that means css should be available in the
sedaweb directory. Actually css is available outside the sedaweb dir, so use ".." instead of ".".
hope this helps
Feb 16, 2009 01:05 AM|ll02|LINK
Thank you. Thank you. I had the . in there, but not the .. Thank you again.