简单问题 - 浏览器中心网站 [英] Simple Question - Center website in browser

查看:64
本文介绍了简单问题 - 浏览器中心网站的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用Expression Blend / Silverlight设计网站,希望网站在IE浏览器中水平居中。


查看以中心显示的示例网站的代码,但可以'找出代码的位置。


这可能是一个非常基本的问题,但我迷失了。


JLK


 


JLK

解决方案

 在EW 4中最有效地完成了基本网站的设计  Blend用于将所有组合放在一起,就像银色灯光演示一样。 甚至 虽然您的问题更适合
EW超级预览论坛
是答案的一部分


你必须有一个合适的文件类型和 正确的css


 #container 
{margin-left:auto;
margin-right:auto;
}


如果它只是一个你想要建立的网站,我会选择EW4或ASP.net网站可能是Virtaul Studio 2010或其中一个免费的快递版本。


HTH


MIKE E


 


Designing a website with Expression Blend/Silverlight, want to have website centered horizontally in IE browser.

Looked at code of sample sites that do display centered, but can't figure out where the code is.

This is probally a very elementary question, but I am lost.

JLK

 


JLK

解决方案

  Design of a basic website is most effectivly done in EW 4  Blend is for putting all the assest together like silver light presentations asnd such.  And even  though your question is more appropriate for the EW Super Preview forum here is part of the answer

you have to have a proper document type and  the right css

#container
{ margin-left: auto;
margin-right: auto;
}

If it just a website your wanting to build at this point I would go with EW4 or if an ASP.net site possibbly Virtaul Studio 2010 or one of it's free express editions.

HTH

MIKE E

 


这篇关于简单问题 - 浏览器中心网站的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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