What are the methods of web page layout? 10

Updated on technology 2024-02-09
4 answers
  1. Anonymous users2024-02-05

    There are many ways to lay out a web page, and there are different layouts according to each person's preferences: the usual layout methods are as follows:

    One. Layout by **.

    The advantage of a layout is that it can work with different objects without worrying about the effects between different objects. And **in positioning** and text is more convenient than using css. The only downside to the layout is that when you use it too much, the page speed suffers.

    Two. Layout by cascading style sheets.

    CSS (Cascading Style Sheets) is proposed, which can locate text and ** with complete precision. CSS can be a bit complicated for beginners, but it's a good way to lay out. Ideas you couldn't have done before can be achieved with CSS.

    Three. Layout through frames.

    Framed pages are disliked by many people, probably because of their compatibility. But from the layout point of view, the frame structure is a good layout method. It's like a layout, placing different objects on different pages and dealing with them, because the frame can cancel the border, so it generally doesn't affect the overall aesthetics.

    Four. Of course, there are other ways to lay out, for example, you can lay out on paper, which is to draw a sketch on paper first, and then follow the diagram.

  2. Anonymous users2024-02-04

    There are plenty of ready-made templates available online.

    What I know: **, layer.

  3. Anonymous users2024-02-03

    1. Static layout.

    In traditional web design, the size of all elements on a web page is px.

    1.Layout features.

    Regardless of the exact size of the browser's hailstorm, the layout of the page is always the same as when it was first written. A regular PC site is statically laid out and has a minimum width, so if the width is less than this value, a scrollbar is displayed, and if the width is greater than this value, the content is centered and the background is displayed. This design is very common on PCs.

    2.Design Methodology.

    PC: Center layout, all styles use absolute width height (px), design a layout, the width and height of the screen have been adjusted, use horizontal and vertical scrollbars to check the coverage section; Mobile: Build a separate mobile**, design a separate layout, and use a different domain name, such as a wap.

    Or m. Pros: This layout is the easiest for both designers and CSS writers, and there are no compatibility issues.

    A web page with a fixed pixel size is the easiest way to match the display with a fixed pixel size. However, this key-letting infiltration method is not a fully compatible way to create future web pages. We need some way to adapt to unknown devices.

    2. Flow layout.

    Liquid layouts (also known as "fluids") feature page elements that adjust the width of the screen resolution, but the overall layout remains the same. Representative fence system (grid system). For example, set the width of the main page body to 80 and the minimum width to 960px.

    The image is also treated similarly (width: 100%, the maximum spine width is usually set to the size of the image itself to prevent distortion due to stretching).

  4. Anonymous users2024-02-02

    1. Fixed width layout: Set a fixed width for the web page, usually with px as the length unit, which is common on PC web pages.

    2. Streaming layout: Set a relative width for the web page, usually in percentages.

    3. Raster layout: artificially divide the width of the web page into equal lengths, and then use these equal lengths as the unit of measurement when typesetting the layout, and usually use the percentage as the length unit to divide into equal lengths.

    4. Responsive layout: By detecting the device information, the layout of the web page is determined, that is, if the user visits the same web page with different devices, he may see different content, which is generally achieved by detecting the width of the device screen.

    Note: The above layout methods do not exist independently, and are often used in combination with each other in the actual development process.

Related questions
3 answers2024-02-09

What are the methods to remove wrinkles? In life, we often describe that time is a ruthless knife, as we age, the skin condition of the face will become worse and worse, and wrinkles will naturally appear. For women, wrinkles are a deeply hated thing, which not only affects the image of the entire face, but also greatly reduces a person's temperament. >>>More

3 answers2024-02-09

The types of running are divided into sprints, long-distance running, and middle-distance running. >>>More

6 answers2024-02-09

1.Protect from sun exposure. 2.

Sleepy eyes are sufficient, don't work long hours, stay up late. 3.Replenish water and salt at the right time. >>>More

7 answers2024-02-09

First, you must be able to grasp the knowledge in books. Be specific, listen carefully to the lectures, take good notes, and try to memorize the main knowledge points in class. >>>More

8 answers2024-02-09

1. Geography and other learning requires reading, comprehension, memorization, and mastery of more knowledge, so it is necessary to improve learning efficiency. To find the most suitable learning style for you: it may be easier for you to grasp the content in a clear and organized manner, and you need to learn to sort out the knowledge points you have learned. You may be good at listening to the teacher and reading books by yourself is inefficient, so you must seize the limited time in class to master it efficiently; You may need to sketch and write while listening, pure listening and pure watching will not make you concentrate, etc., to find some characteristics of your own learning, so that you can effectively and purposefully solve them. >>>More