固定宽度与流体布局 [英] Fixed width versus fluid layouts

查看:57
本文介绍了固定宽度与流体布局的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,




流体2或3列布局中使用固定宽度的垂直导航栏是否可以接受?


示例。


左列(导航)固定宽度为180px

右列(主要内容)流体宽度适合窗户的其余部分


我更喜欢固定宽度的布局和我的目标观众,我敢肯定,不会因为它而感到不便。但是,如果我要做正确的事情,我会给你一个

流畅的布局。


我的导航栏也应该流畅吗? br />

谢谢,


Jeff

解决方案

in comp。信息系统。 www.authoring.stylesheets ,JB写道:

你好全部,


流体2或3列布局中使用固定宽度的垂直导航柱是否可以接受?

示例。

左列(导航)固定宽度为180px
右列(主要内容)流体宽度适合窗口的其余部分


编号。您如何知道导航适合180像素?使用em单位设置宽度,

它会更好用。

我更喜欢固定宽度布局


真的吗?我打赌你只有一台显示器,一个分辨率,一个

浏览器,有一个设置正在使用?我是否正确?


购买另一台显示器+卡。不需要花费太多,而且你可以获得双倍的b $ b空间。确保您购买的显示器的形状与您当前的电流不同,并以不同的分辨率运行。然后使用两台显示器在WWW上冲浪



和我的目标观众,我敢肯定,不会因此而感到不便。但是,如果我要正确地做事,我会给出一个流畅的布局。
我的导航栏也应该流畅吗?




编号是的。取决于您正在使用的流体的定义。无论你做什么,

不要使用百分比宽度小于30%来定义列

有一些文本(然后确保它将很好地文字包装。)


-

Lauri Raittila< http://www.iki.fi/lr> < http://www.iki.fi/zwak/fonts>


>不。你怎么知道你的导航适合180px?使用em单位设置宽度,

它会更好。




所以,你将导航区域设置为百分比,它看起来很荒谬

支持高分辨率。你建议多少个ems?

我更喜欢固定宽度的布局



真的?我打赌你只有一台显示器,一个分辨率,一个浏览器,有一个设置正在使用?我是否正确?




我使用的是带双屏幕和3个浏览器的移动工作站。每个

不同的分辨率。所有测试都是1024 x 768,因为这是访问者使用的网站

。我在14英寸的各种监视器上测试该网站。到19并且

看起来很好。

我的导航栏也应该流畅吗?


<不,是的。取决于您正在使用的流体的定义。无论你做什么,
都不要使用小于30%的百分比宽度来定义
有一些文本的列(然后确保它将被很好地文字包装。)




好​​的,你能为2柱

液体布局提供理想样式表的快速示例吗?


谢谢,


Jeff

在comp.infosystems中的

www.authoring.stylesheets

No。你好吗?知道你的导航适合180px?使用em单位设置宽度,
它会更好地工作。

因此,您将导航区域设置为百分比,并且看起来非常可笑地在高分辨率上拉伸。



小窗户上的东西不适合。

你建议多少个ems?


取决于您拥有多长时间的链接。一般来说,在英文网站上,

就像10到12em一样好。但它确实取决于。

我更喜欢固定宽度布局


真的吗?我打赌你只有一台显示器,一个分辨率,一个浏览器,有一个设置正在使用?我对么?
我使用的是带双屏幕和3个浏览器的移动工作站。每个都有不同的分辨率。所有测试都是1024 x 768,因为这是访问者正在使用的网站。我在14英寸的各种监视器上测试该网站。到19并且它似乎很好。




不同的分辨率,或不同的屏幕尺寸?完全可以

以相同的分辨率运行3​​个不同尺寸的显示器。


无论如何,我猜想有这种设置的人不会喜欢

固定网站(根据我的个人经验。我有3台机器,

运行Win95,98和Mac OSX,大约10-15个浏览器,屏幕大小

1024 * 768两次,1450 *东西,1600 * 1200)

我的导航栏是否也应该流畅?



是否是。取决于您正在使用的流体的定义。无论你做什么,
都不要使用小于30%的百分比宽度来定义
有一些文本的列(然后确保它将被很好地文字包装。)



好的,你能为2柱
流体布局提供理想样式表的快速示例吗?




最近我有得到的是
http://www.student.oulu.fi/~幸存者


当然,并不完美。


-

Lauri Raittila< http ://www.iki.fi/lr> < http://www.iki.fi/zwak/fonts>


Hi All,

Is it acceptable to use a fixed width vertical navigation column within a
fluid 2 or 3 column layout?

Example.

Left Column (navigation) fixed width of say 180px
Right Column (main content) fluid width to fit rest of window

I much prefer fixed width layouts and my target audience, I''m sure, will not
be inconvenienced by it. However, if I am to do things properly, I''ll give a
fluid layout a go.

Should my navigation column be fluid too?

Thanks,

Jeff

解决方案

in comp.infosystems.www.authoring.stylesheets, JB wrote:

Hi All,

Is it acceptable to use a fixed width vertical navigation column within a
fluid 2 or 3 column layout?

Example.

Left Column (navigation) fixed width of say 180px
Right Column (main content) fluid width to fit rest of window
No. How do you know your navigation fits 180px? Set width using em unit,
and it will work better.
I much prefer fixed width layouts
Really? I bet you only have one monitor, with one resolution, with one
browser, with one settings in active use? Am I correct?

Buy another monitor + card. Doesn''t have to cost much, and you get double
space. Make sure the monitor you buy is different shape than your
current, and runs in different resolution. Then use both monitors to surf
in the WWW.
and my target audience, I''m sure, will not
be inconvenienced by it. However, if I am to do things properly, I''ll give a
fluid layout a go. Should my navigation column be fluid too?



No. Yes. Depends on definition of fluid you are using. Whatever you do,
don''t use percentage widths less than maybe 30% for defining column that
has some text (and then make sure you it will be nicely wordwrapped.)

--
Lauri Raittila <http://www.iki.fi/lr> <http://www.iki.fi/zwak/fonts>


> No. How do you know your navigation fits 180px? Set width using em unit,

and it will work better.



So, you set your navigation area to a percentage and it looks ridiculously
strectched on high resolutions. How many ems do you suggest?

I much prefer fixed width layouts



Really? I bet you only have one monitor, with one resolution, with one
browser, with one settings in active use? Am I correct?



I am using a mobile workstation with dual screens and 3 browsers. Each on
different resolutions. All testing is on 1024 x 768 as that is what site
visitors are using. I test the site on various monitors from 14" to 19" and
it seems fine.

Should my navigation column be fluid too?



No. Yes. Depends on definition of fluid you are using. Whatever you do,
don''t use percentage widths less than maybe 30% for defining column that
has some text (and then make sure you it will be nicely wordwrapped.)



OK, can you provide a quick example of an ideal stylesheet for a 2 column
fluid layout, please?

Thanks,

Jeff


in comp.infosystems.www.authoring.stylesheets, JB wrote:

No. How do you know your navigation fits 180px? Set width using em unit,
and it will work better.

So, you set your navigation area to a percentage and it looks ridiculously
strectched on high resolutions.



And things don''t fit when on small window.
How many ems do you suggest?
Depends on how long links you have. Generally, in English sites,
something like 10 to 12em is good. But it really depends.

I much prefer fixed width layouts



Really? I bet you only have one monitor, with one resolution, with one
browser, with one settings in active use? Am I correct? I am using a mobile workstation with dual screens and 3 browsers. Each on
different resolutions. All testing is on 1024 x 768 as that is what site
visitors are using. I test the site on various monitors from 14" to 19" and
it seems fine.



Different resolutions, or different screen sizes? It is entirely possible
to run 3 different size monitors in same resolution.

Anyway, I would have guessed that people with such setting would not like
fixed websites (based on my personal experience. I have 3 machines,
running Win95, 98 and Mac OSX, with about 10-15 browser, screensizes
1024*768 twice, 1450*something, 1600*1200)

Should my navigation column be fluid too?



No. Yes. Depends on definition of fluid you are using. Whatever you do,
don''t use percentage widths less than maybe 30% for defining column that
has some text (and then make sure you it will be nicely wordwrapped.)



OK, can you provide a quick example of an ideal stylesheet for a 2 column
fluid layout, please?



Closest I have gotten is
http://www.student.oulu.fi/~survos

Of course, not perfect.

--
Lauri Raittila <http://www.iki.fi/lr> <http://www.iki.fi/zwak/fonts>


这篇关于固定宽度与流体布局的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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