Maison  >  Article  >  interface Web  >  文字环绕图片_html/css_WEB-ITnose

文字环绕图片_html/css_WEB-ITnose

WBOY
WBOYoriginal
2016-06-24 12:12:331343parcourir

(中转站。。http://www.w3cfuns.com/thread-5593453-1-1.html 这里实在不知道咋样发表图片。。汗颜!)
希望帮忙下。。。


回复讨论(解决方案)

文字环绕图片??你float一下不就OK?

不行呐
没看见我图片有class="pic1“中有个float:left; 可是图片沉下去了呀!。。

不行呐
没看见我图片有class="pic1“中有个float:left; 可是图片沉下去了呀!。。
看了下。。。好奇怪就那张图片往下沉

我就在想他们除了位置不同之外,
(.zhong_main{
width:200px;
height:580px;
margin-top:-580px;
margin-left:180px;
background-color:#0066CC;}
.in_main{
width:200px;
height:580px;
margin-top:-580px;
margin-left:400px;
background-color:#339900;}
)
但里面内容是相同的,但相同代码
.z_main{
width:200px;
height:275px;
background-color:#99FFFF;}
.h_main{width:200px;
height:275px;
margin-top:30px;
background-color:#CCCCCC;}

,却不同结果
(我用字母表示下他们位置。。具体图片请进那个网址来看下吧)
IE 火狐显示的位置是:   a   
                      b   cd

谷歌显示是:            a    d
                      b    c  
  (火狐和ie 中的d原本在上面与a平衡的,却沉了下去 )

是啊。。郁闷死我啦,按道理来说应该不沉下去呐,我就不明白是哪块代码影响了它,导致沉下去
引用 2 楼 的回复:

不行呐
没看见我图片有class="pic1“中有个float:left; 可是图片沉下去了呀!。。

看了下。。。好奇怪就那张图片往下沉

引用 2 楼  的回复:

不行呐
没看见我图片有class="pic1“中有个float:left; 可是图片沉下去了呀!。。

看了下。。。好奇怪就那张图片往下沉
那张图片的大小和别的是一样的?

引用 3 楼  的回复:

引用 2 楼  的回复:

不行呐
没看见我图片有class="pic1“中有个float:left; 可是图片沉下去了呀!。。

看了下。。。好奇怪就那张图片往下沉

那张图片的大小和别的是一样的?
想错了。。。
不是那块的问题。。我把它们抽出来单独显示也那样。。估计你要单独对那个图片做处理了。。

一样啊,都是50*50
引用 3 楼 的回复:

引用 2 楼 的回复:

不行呐
没看见我图片有class="pic1“中有个float:left; 可是图片沉下去了呀!。。

看了下。。。好奇怪就那张图片往下沉

那张图片的大小和别的是一样的?

尺寸 50*50 
大小 1.68kb  1.76kb 1.83kb 1.97kb

拿你上面那个abcd布局来说。。
当我删掉a或者b当中其中一个cd就正常了

那个abcd布局? 那是4张图片而已! 。可是我指定要显示四个图片呐
拿你上面那个abcd布局来说。。
当我删掉a或者b当中其中一个cd就正常了

首先发现了几个问题
1、你上面图片的li木有结束标记。



问题已经解决 请楼主结扎

nbsp;html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">





  

      

          


  • 文字环绕图片_html/css_WEB-ITnose

  • 文字环绕图片_html/css_WEB-ITnose

  • 文字环绕图片_html/css_WEB-ITnose


          

      

      

           
Entry Page

           
Other Pages

           
Grey options

           
Yellowoptions

           
Blue options

           
Green options

           
Red options

      

      

           

           

                 

                      
Who can use this template

  
文字环绕图片_html/css_WEB-ITnose

  

GoFlexible-Two contains sufficient formats available for texts. You can choose between "heading",
"subheading" and normal paragraphs. See under "Other Pages" for examples.
  

                 

                 

                      
The Colors

  
文字环绕图片_html/css_WEB-ITnose

  

GoFlexible-Two contains sufficient formats available for texts. You can choose between "heading",
"subheading" and normal paragraphs. See under "Other Pages" for examples.
  

                 

           

           

                 

                      
The Layout

  
文字环绕图片_html/css_WEB-ITnose

  

GoFlexible-Two contains sufficient formats available for texts. You can choose between "heading",
"subheading" and normal paragraphs. See under "Other Pages" for examples.
  

                 

                 

                      
The Text

  
文字环绕图片_html/css_WEB-ITnose

  

GoFlexible-Two contains sufficient formats available for texts. You can choose between "heading",
"subheading" and normal paragraphs. See under "Other Pages" for examples.
  

                 

           

           

 

  

 

 

  

 

 

  

 

           

      

     

           

             Copyright ©2006 Your Company | All rights reserved

             Design by Gerhard Studios | W3C XHTML 1.1 |  W3C CSS 2.0
           

      

  



扎你妹。。。

首先发现了几个问题
1、你上面图片的li木有结束标记。



问题已经解决 请楼主结扎

nbsp;html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

Déclaration:
Le contenu de cet article est volontairement contribué par les internautes et les droits d'auteur appartiennent à l'auteur original. Ce site n'assume aucune responsabilité légale correspondante. Si vous trouvez un contenu suspecté de plagiat ou de contrefaçon, veuillez contacter admin@php.cn