什么时候使用CSS定位? [英] When to use CSS positioning?

查看:105
本文介绍了什么时候使用CSS定位?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是编程世界,XHTML,CSS以及PHP的新手。我已经遇到了许多关于定位的教程,即相对的,绝对的和固定的,但是不知道什么时候我必须使用它们,或当它是最好的使用它们。

I am new to the world of coding, XHTML, CSS as well as PHP. I have come across numerous tutorials regarding positioning i.e. relative, absolute and fixed however have no idea when I have to use them or when it is the best to use them. I would appreciate some examples.

推荐答案

ALA有一个不错的教程(有很多例子)
CSS定位可以是特别有用的,当你需要定位的东西,流。

ALA has a nice tutorial (there're lots of examples) CSS positioning can be especially useful when you need to position something that cannot be positioned within normal flow.

这篇关于什么时候使用CSS定位?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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