Body

right


3
0
0
lilove
lilove

一个混迹在二次元边际的程序员

reply all (3)

Agree with the second floor’s point of view

You use margin-right:200px;

Do you want to leave space for the div on the right?

But the default width of div is 100%

So after you set margin-right:200px; the div width is actually still 100%

Because padding, margin, width, border are added It is the real width or height of the component

    lilove432

    Please change

    body

    right side

    to

    Main

    Right

    Test the code again ~

      lilove432

      Why should I swallow the code? The class is gone

        Popular Topics
        More>
        Popular Articles
        Popular Tutorials
        More>
        Latest Downloads
        More>
        Web Effects
        Website Source Code
        Website Materials
        Front End Template
        About us Disclaimer Sitemap
        php.cn:Public welfare online PHP training,Help PHP learners grow quickly!