Home > Web Front-end > HTML Tutorial > DIV layout, why does the text always have to be centered? _html/css_WEB-ITnose

DIV layout, why does the text always have to be centered? _html/css_WEB-ITnose

WBOY
Release: 2016-06-24 11:45:13
Original
1087 people have browsed it

新人求助CSS问题。
因为要练习一个网购项目,但是不太会CSS布局,现在的问题是DIV中的文字和文字总是居中,而且又不能自由控制(行列定位搞了好久都搞不定),想请教一下高手帮帮忙,谢谢。顺便帮忙指点一下我的错误在哪里,如何快速提高?




<br> 无标题页 <br>
    



    




    

      

            
  •                        
               
      
                    秋衣    
                    女装

                    100元
               
                
            

  •         
  •                        
               

                    

                    sadfsfa
                    

               
                                                                                                                                                               ;/li>                                                             







  • Reply to discussion (solution)

    Screenshot, I don’t understand the desired effect, the text is not centered when I see it here



    I want the picture to be on top, and the name, price and button below to be reflected line by line like a table. However, the current effect is very bad and cannot achieve the effect I want. Please help me!


    For reference

    Thank you, brother!

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template