PDA

View Full Version : HTML to ASP


AzAzEl656
08-10-10, 03:08 AM
Good day.

I created a website for my cousin to replace the old design he had for his company. The website is in html but for some reason his host only uses asp.

Does anyone know how I can convert the html site to asp? I tried just changing the extension but that didn't help much. I have tried to use an include that directs to the html page which works but the css gets all messed up.

Any help?

mbentley
08-10-10, 12:28 PM
i apologize in advance as i do not know how one would convert HTML to ASP but i must say that is extremely weird that a host would be ASP only. i would most definitely suggest contacting the host to see why in the world they wouldn't support HTML files. :screwy:

DaveHCYJ
08-10-10, 01:47 PM
I know very little about asp, so you'll have to look up the syntax, but have you tried doing something simple like this:

<? asp_printstatement("*stick your whole html file here*") ?>

The only problem I can forsee with this is you might have to escape every " in your html file, which is probably why you are seeing your css get messed up. You could also try single quotes ', if you don't use them anywhere in your html/css.