I am new to web design. I want to set the page width so that it appears on a 800x600 resolution screen. I usually use Tables, but somewhere I read that excessive use of tables slows down the website. What else can I use and how to set the width?
Yes, the tables are so 1995 ...
You should now use DIV and SPAN.
http://www.smashingmagazine.com/2009/04/08/from-table-hell-to-div-hell/
also, w3schools are a common resource for html starters
but, why bother, you can use the already made layout from sites such as: http://www.freelayouts.com/websites/html-templates
DIV, :
<div style="width:800px"> <!-- your content here --> </div>
800 . , *.css. DIV, , . , .
<div id="wrapper"> <div id="topMenu"> <!-- menu items --> </div> <div id="content"> <!-- content --> </div> </div>
, . CSS:
#wrapper { width:800px; } #topMenu { width:800px; height:200px; }
" divs", .
Source: https://habr.com/ru/post/1737884/More articles:is it possible to disable windows keys using java - javaCreating Javascript from PHP? - javascriptDrawing shapes around organic shapes - flashdestination of object - c #Pill container - button event does not fire - .netHow to use findAll method with class in Doctrine? - classSending a file from my application (Indy / Delphi) to an ASP page and then to another server (Amazon S3) - amazon-s3How to get a list of files that currently differ in vim - vimMaster Data - Breakup - objective-cHow to determine window position in vim - vimAll Articles