一开始就很困难 [英] Difficulty in the beginning

查看:96
本文介绍了一开始就很困难的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

(首先是9,在开始时意味着难度?)


我是css的新手,至少对于尺寸,定位来说

和装饰div标签。


但我是java / c / c ++ / perl / php / sh / bash程序员,

所以我应该能够快速赶上。

但它并没有这样做。


我试图制作一个简单的标题 - 上面两列布局。

我在Firefox上运行的第一次尝试看起来不错。

css在w3c验证没有错误。相同的

页面在Mac上的Safari上看起来大致相同,但

看起来它在XP上的IE6上有皮肤病。


这听起来很像javascript的早期。

如果布局仍然不同,w3c验证有什么好处

从浏览器到浏览器?


我确实使用了很多宽度:一些%;尺寸。

当我改为硬编码像素大小

时,浏览器之间的差异变得不那么明显了,但仍然存在但仍然存在br />
视觉上令人不安。


学习CSS是否意味着学习所有主流浏览器的怪癖

?现在不合时宜的使用基于表格的布局至少是可移植的。

( 9 in the first place, means difficulty in the beginning? )

I''m new at css, at least for the sizing, positioning
and decorating of div tags.

But I am a java/c/c++/perl/php/sh/bash programmer,
so I ought to be able to catch on fast.
But it isn''t working out that way.

I tried to make a simple header-above two column layout.
My first stab looked fine on Firefox, running on linux.
The css validated at w3c with no errors. The same
page looked mostly the same on Safari on Mac, but
it looked like it had a skin disease on IE6 on XP.

This sounds a lot like the early days of javascript.
What good is w3c validation if the layouts still differ
from browser to browser?

I did use a lot of width: some%; sizing.
When I changed to hard-coded pixel sizes
the differences between browsers became
less apparent, but were still there and still
visually disconcerting.

Does learning CSS mean learning the quirks
of all the major browsers? The now unfashionable
use of tables-based layouts is at least portable.

推荐答案

sciontologist写道:
sciontologist wrote:

现在不合时宜地使用基于表格的布局至少是b
便携式。
The now unfashionable use of tables-based layouts is at least
portable.



如果写得正确,那么CSS也是如此。你有问题页面的URL吗?


环顾一些模板;也许会给你一些想法。
http:// benmeadowcroft。 com / webdev / css ... ft-column.html
http://webhost.bridgew.edu/etribou/layouts/ ...


-

-bts

-Motorcycles无视重力;汽车只是吮吸

So is CSS, if written correctly. Have you a URL to the problem page?

Look around at some templates; maybe give you some ideas.
http://benmeadowcroft.com/webdev/css...ft-column.html
http://webhost.bridgew.edu/etribou/layouts/ ...

--
-bts
-Motorcycles defy gravity; cars just suck




sciontologist写道:

sciontologist wrote:

在w3c验证的css没有错误。相同的

页面看起来在Mac上的Safari上大致相同,但

看起来它在XP上的IE6上有皮肤病。
The css validated at w3c with no errors. The same
page looked mostly the same on Safari on Mac, but
it looked like it had a skin disease on IE6 on XP.



这都是垃圾,但我不打算将URL发布到我的具体

示例中,这样你就可以了看看它可能有什么问题


你真的只是一个巨魔,不是吗?

如果你愿意,那么CSS和RDF是两个都没有价值,你应该坚持

到你喜欢的桌子。现在离开,不要打扰那些试图向前移动的人。

"It''s all rubbish but I''m not going to post a URL to my concrete
example so you can see what might be wrong with it"

You really are just a troll, aren''t you?
If you like, then CSS and RDF are both worthless and you should stick
to the tables you prefer. Now go away and don''t bother people who are
trying to move forwards.


什么是巨魔。我表达了愤怒和失望的表现。


我很生气,因为我对CSS抱有很高的期望,并且(乍一看)

它开始看起来像deja-javascript了。


.....花了几个小时制作模板。

确实有效。它确实与IE浏览器相比在IE6中看起来有所不同。


我会在某些时候发布它。

可以''现在就做。

What is a troll. I was expressing
anger and dissapointment.

I was pissed off because I had such
high hopes for CSS, and (at first glance)
it started to look like deja-javascript all over again.

..... spent a few hours making a template.
It did validate. It did look different in
IE6, than on Firefox.

I will post it at some point.
Can''t do it now.


这篇关于一开始就很困难的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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