Relationships between tables in mysql database on server side. Relational database, Css and markup spliting on the screen