如何将此徽标置于中心位置 [英] How do I get this logo to center

查看:86
本文介绍了如何将此徽标置于中心位置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好。

我确信这很容易,但作为CSS和Expression的新手,我无法理解这是怎么回事。左<我试图让徽标标题显示为居中,这是网站。

http://www.darrenhartland.com/star-intros/index.html
<将水平导航栏置于中心位置也是冰。
请记住我完全失明,所以不能用鼠标拖动东西等。 />任何建议都会非常感激。

欢呼祝Darren H

Hi all.

I'm sure this is easy, but as a newbie to CSS and Expression, I just can't get my head round how this is done.

I'm trying to get the logo header to appear centered, here's the site.

http://www.darrenhartland.com/star-intros/index.html

it would also be ice to get the horizontal navbar to center as well.

please bear in mind I'm totally blind so am not able to drag stuff around with the mouse etc.

any advice would be really appreciated.

Cheers
Darren H

推荐答案

在你的layout.css中更改:


In your layout.css change:

#masthead {
	margin: 0;
	padding: 0;
	border: 0;
}




到此:




to this:

#masthead {
	margin: 0 auto;
	padding: 0;
	border: 0;
}


这篇关于如何将此徽标置于中心位置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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