There are many different types of websites. Unfortunately, there are always individual pages that can cause problems.
One possibility to preserve the layout is to use the MAXQDA Web Collector extension for Google Chrome which lets you save and import entire wep pages into MAXQDA. If you don’t want to or can’t use the web collector, you can save the webpage as a PDF file via your browser’s print function. The PDF file can then be imported normally.
More information on the Web Collector.