get stylesheet with relative path working - text format currently borked, HTML refactored to be much more efficient