我如何让它工作? [英] How do I get this to work?

查看:90
本文介绍了我如何让它工作?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请查看以下页面:


如果您使用的是IE: http://home.comcast.net/~delerious1/index2.html

如果您使用的是Mozilla: http://home.comcast.net/~delerious1/index2_moz.html


我想在左边有一个导航菜单,在右边有内容。

使用我的默认浏览器设置,有一点点

导航菜单和内容区域之间的空格,这就是我想要的。但是我也会像用户一样用户能够查看他/她所希望的文本大小的页面,这就是我的页面中断的地方。如果我增加(在IE中)或减少

(在IE或Mozilla中)的文本大小,则导航菜单会突然与内容区域重叠

。我正在使用em来指定

内容区域的左侧,所以我认为当文本大小获得时,内容区域将超过正确的

金额调整,但要么我不理解他们或我

我没有正确地做。


我也认为我使用图像的事实在我的导航菜单中

可能会搞砸他们,但事实并非如此,你可以在这里看到:


如果你使用的是IE: http://home.comcast.net/~delerious1/index3.html

如果您使用的是Mozilla: http://home.comcast.net/~delerious1/index3_moz.html


Please take a look at the following page:

If you are using IE: http://home.comcast.net/~delerious1/index2.html
If you are using Mozilla: http://home.comcast.net/~delerious1/index2_moz.html

I''m trying to have a navigation menu on the left, and content on the right.
With my default browser setups, there is a little bit of whitespace between
the navigation menu and the content area, which is what I want. But I would
also like the user to be able to view the page with whatever text size he/she
prefers, and that is where my page breaks. If I increase (in IE) or decrease
(in IE or Mozilla) the text size, then the navigation menu all of a sudden
overlaps with the content area. I''m using em to specify the left side of the
content area, so I thought that would move the content area over the correct
amount when the text size gets adjusted, but either I don''t understand em or I
am not doing it correctly.

I also thought that the fact that I am using images in my navigation menu
might be screwing up the em, but that is not the case, as you can see here:

If you are using IE: http://home.comcast.net/~delerious1/index3.html
If you are using Mozilla: http://home.comcast.net/~delerious1/index3_moz.html

Any tips on how I can get this to work would be appreciated! Thanks!

推荐答案

嗯......在某些情况下,表*似乎仍然需要*

管理布局。

Hmm... it would appear that tables *are* still necessary in some cases to
manage layout.


周四,2003年12月4日10:08:14 GMT, de ******* @ no.spam.com

据报道:
Sometime around Thu, 04 Dec 2003 10:08:14 GMT, de*******@no.spam.com is
reported to have stated:

我正在尝试在左侧显示导航菜单,在右侧显示内容。

I''m trying to have a navigation menu on the left, and content on the right.



http://www.xs4all.nl/~apple77/column...n_navleft.html


-

Mark Parnell
http://www.clarkecomputers.com.au


delerious写道:
delerious wrote:
嗯......在某些情况下,似乎表*仍然是必需的
管理布局。
Hmm... it would appear that tables *are* still necessary in some cases to
manage layout.




或者我们大多数人对所有这些布局问题感到厌倦而且不觉得

被迫回答每一个我如何......问题发布了。


事实上,任何基于表格的布局都可以在

CSS中复制(只要你不担心关于改造它在

岁的浏览器中工作)。


-

Toby A Inkster BSc(Hons) ARCS

与我联系 - http:/ /www.goddamn.co.uk/tobyink/?page=132



Or that most of us are bored of all these layout questions and don''t feel
compelled to answer every "How do I..." question posted.

The fact of the matter is that any table-based layout can be replicated in
CSS (as long as you''re not worried about retrofitting it to work in
years-old broken browsers).

--
Toby A Inkster BSc (Hons) ARCS
Contact Me - http://www.goddamn.co.uk/tobyink/?page=132


这篇关于我如何让它工作?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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