Before the 19th century...
The tallest building in ancient times was the Great Pyramid of Giza in ancient Egypt, which was 146 metres (479 ft) tall and was built in the 26th century BC. Its height was not surpassed for thousands of years, possibly until the 14th century AD with the construction of Lincoln Cathedral (though its height is disputed),[9] which in turn was not surpassed in height until the Washington Monument in 1884. However, being uninhabited buildings, none of these buildings actually complies with the definition of a skyscraper.
High-rise apartment buildings already flourished in classical antiquity: ancient Roman insulae in Rome and other imperial cities reached up to 10 and more stories.[10] Several emperors, beginning with Augustus (r. 30 BC-14 AD), attempted to establish limits of 20–25 m for multi-storey buildings, but met with only limited success.[11][12] The lower floors were typically occupied by either shops or wealthy families, while the upper stories were rented out to the lower classes.[10] Surviving Oxyrhynchus Papyri indicate that seven-storey buildings even existed in provincial towns, such as in 3rd century AD Hermopolis in Roman Egypt.[13]
The skylines of many important medieval cities had large numbers of high-rise urban towers. Wealthy families built these towers for defensive purposes and as status symbols. The residential Towers of Bologna in the 12th century, for example, numbered between 80 to 100 at a time, the largest of which (known as the "Two Towers") rise to 97.2 metres (319 ft). In Florence, a law of 1251 decreed that all urban buildings should be reduced to a height of less than 26 m, the regulation immediately put into effect.[14] Even medium-sized towns at the time such as San Gimignano are known to have featured 72 towers up to 51 m height.[14]
The medieval Egyptian city of Fustat housed many high-rise residential buildings, which Al-Muqaddasi in the 10th century described as resembling minarets. Nasir Khusraw in the early 11th century described some of them rising up to 14 stories, with roof gardens on the top floor complete with ox-drawn water wheels for irrigating them.[15] Cairo in the 16th century had high-rise apartment buildings where the two lower floors were for commercial and storage purposes and the multiple stories above them were rented out to tenants.[16] An early example of a city consisting entirely of high-rise housing is the 16th-century city of Shibam in Yemen. Shibam was made up of over 500 tower houses,[17] each one rising 5 to 11 storeys high,[18] with each floor being an apartment occupied by a single family. The city was built in this way in order to protect it from Bedouin attacks.[17] Shibam still has the tallest mudbrick buildings in the world, with many of them over 30 m (98 ft) high.[19]
An early modern example of high-rise housing was in 17th-century Edinburgh, Scotland, where a defensive city wall defined the boundaries of the city. Due to the restricted land area available for development, the houses increased in height instead. Buildings of 11 stories were common, and there are records of buildings as high as 14 stories. Many of the stone-built structures can still be seen today in the old town of Edinburgh. The oldest iron framed building in the world, although only partially iron framed, is The Flaxmill (also locally known as the "Maltings"), in Shrewsbury, England. Built in 1797, it is seen as the "grandfather of skyscrapers”, since its fireproof combination of cast iron columns and cast iron beams developed into the modern steel frame that made modern skyscrapers possible. Unfortunately, it lies derelict and needs much investment to keep it standing.
More:
http://en.wikipedia.org/wiki/Skyscraper