在不使用坐标的情况下放置对象 [英] Placing objects without using coordinates

查看:61
本文介绍了在不使用坐标的情况下放置对象的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我只是想知道是否有可能使用其他方法代替使用坐标来放置对象,因为我希望这些对象在所有屏幕尺寸上都看起来相似.请注意,这是一个网站.我是一个极端的菜鸟,已经爱上了这个网站.谢谢.

Hi i was just wondering if it''s possible to use some other method to place objects in stead of using coordinates because i would like the objects to look similar on all screen sizes. Please note that this is for a website. I am a noob in the extreme and have come to love this site. Thanks.

推荐答案

HTML元素可以使用float CSS属性定位,以将它们放在左侧或右侧.您还可以以缩放单位(例如点或ems)或百分比(其父级(在树的顶部表示浏览器窗口))指定任何CSS大小和位置.
HTML elements can be positioned using the float CSS attribute, to put them on the left or right. You can also specify any CSS sizes and positions in scaling units (e.g. points or ems) or percentages (of their parent, which at the top of the tree means the browser window).


这篇关于在不使用坐标的情况下放置对象的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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