Regards building regulations...
If I have a flight of stairs in my house going up a wall (butted against and parallel with the wall), can I have a doorway in that wall, at the top of the stairs such that the door frame almost touches the edge of the top stair, i.e, the very edge of the landing floor. Hope my drawing is readable:
____ | | door | ____| |_ |_ |_