css - 增加持有人的大小或它的名字 [英] css - increasing size of holder or what ever its called

查看:13
本文介绍了css - 增加持有人的大小或它的名字的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有这个网站:

http://yoursdproperty.com/index.php?option=com_jumi&fileid=8&Itemid=34

我需要增加内容所在的支架"的宽度.我需要让它适合 iframe,我需要一切都保持居中,就像现在一样.

i need to increase the width of the "holder" where the content is. i need to make it so that the iframe fits and i need everything to remain centered as it is now.

  1. 如何增加内容​​的宽度?当我说内容时,我的意思是标题下方的所有内容
  2. 我如何确保一切都保持在当前的中心

推荐答案

是的,我不认为你在这里会有很多运气...

Ya I don't think you are going to have much luck here...

您在左侧看到的白色酱汁不是来自您的网站,而是来自 mlsfinder 网站.因此,如果您无法控制该网站,则无法使用该空间.

The white sace you see on the left isn't from your website its from the mlsfinder website. Hence if you don't have control over that website, getting ride of that space is not going to possible.

此外,因此,如果您不想让您的网站更宽,您将无法适应 iframe.

Also, because of this, if you don't want to make your site any wider, you are not going to fit the iframe in.

除非您控制 mlsfinder,否则唯一的选择是缩小您的网站或弹出一个新窗口或在一个 javascript 弹出框中显示 iframe,例如fancybox...

Unless you control mlsfinder, the only options is to make your website smaller or pop open a new window or present the iframe in a javascript popup box like fancybox...

很抱歉带来坏消息.

您可以通过将 iframe 宽度从 1000px 更改为 700px 来消除右侧的一点空白,如下所示:

You could get rid of a little bit of the white space on the right by changing the iframe width from 1000px to 700px like so:

<iframe scrolling="no" frameborder="0" style="width: 700px; height: 650px;" src="http://www.mlsfinder.com/ca_sandicor/raphaelshapiro/index.cfm">
    ....
</iframe>

编辑 2:

要使您的网站变宽以适合此 iframe,您需要执行以下操作(在每种情况下请注意宽度差异),而且这假定您正在摆脱背景图像...

To make your site wide so that it fits this iframe you will need to do the following (in each case note the width difference) also this assumes that you are getting rid of the background image...

<iframe scrolling="no" frameborder="0" style="width: 850px; height: 650px;" src="http://www.mlsfinder.com/ca_sandicor/raphaelshapiro/index.cfm">

</iframe>

div#main_full {
float:left;
margin:0 0 6px;
width:850px;
}

#content {
margin:0 auto;
overflow:hidden;
padding:10px 0 0;
width:1050px;
}

div#wrapper {
margin:0 auto;
padding:10px 0 0;
width:1050px;
}

这篇关于css - 增加持有人的大小或它的名字的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆