l****h 发帖数: 24 | 1 在dreamweaver里, 如何使生成的页面固定在ie 界面的中间, 就像yahoo和sina.com的
那样.
有很多网页好像都是靠左的, 全凭显示在17”的屏幕上很难看。 | i******i 发帖数: 54 | 2 难道一个表格不能居中么?
事实上用来控制叶面布局,一个常用的办法是,把所有的内容都归到一个表格里面去。
叶面首先是一个表格,表格里面嘛,你想放什么就放什么。
的
【在 l****h 的大作中提到】 : 在dreamweaver里, 如何使生成的页面固定在ie 界面的中间, 就像yahoo和sina.com的 : 那样. : 有很多网页好像都是靠左的, 全凭显示在17”的屏幕上很难看。
| l****h 发帖数: 24 | 3 Thanks for all of your advice. I become more involved with webpage design now.
BBS here is really good.
accessible | t****r 发帖数: 106 | 4 源码中开头加上
结尾
的
【在 l****h 的大作中提到】 : 在dreamweaver里, 如何使生成的页面固定在ie 界面的中间, 就像yahoo和sina.com的 : 那样. : 有很多网页好像都是靠左的, 全凭显示在17”的屏幕上很难看。
| l****h 发帖数: 24 | 5
加了上面的功能以后, 好像并不起作用耶。
就像yahoo和sina.com
【在 t****r 的大作中提到】 : 源码中开头加上 : : 结尾 : : 的
| k*****y 发帖数: 221 | 6 see 1708
【在 l****h 的大作中提到】 : : 加了上面的功能以后, 好像并不起作用耶。 : 就像yahoo和sina.com
| s**********i 发帖数: 711 | 7
this should normally work. add right
after tag and before
of course, using table would be better for the
layout. many sites use table and put the whole
page inside one table.
for better (and less compatible) results, use
CSS.
【在 l****h 的大作中提到】 : : 加了上面的功能以后, 好像并不起作用耶。 : 就像yahoo和sina.com
| h*******n 发帖数: 231 | 8 W3C doesn't recommend using the tag. It is a non-standard markup.
Instead, use style sheets:
{ text-align : center }
You can wrap a tag around all your body content instead of using a
table. And put the inline style within the tag. Too much nesting tables is bad
markup too.
BTW, CSS is more compatible, actually.
【在 s**********i 的大作中提到】 : : this should normally work. add right : after tag and before : of course, using table would be better for the : layout. many sites use table and put the whole : page inside one table. : for better (and less compatible) results, use : CSS. | l******g 发帖数: 90 | 9 by using table, you can not only put the page in the millle horizotally, but
vertically as well. using many tables is the best way to control the layout,
you can add as many layers as you need. I use 4, 5 laysers normally. | s**********i 发帖数: 711 | 10
non-standard or not, all browers I know of even text ones
support it.
div is quite different from table. table is much
more flexible, and probably >80% of websites use
it for layout.
are you kidding or not? search google and see the
compatibility table between CSS and different
browsers.
【在 h*******n 的大作中提到】 : W3C doesn't recommend using the tag. It is a non-standard markup. : Instead, use style sheets: : { text-align : center } : You can wrap a tag around all your body content instead of using a : table. And put the inline style within the tag. Too much nesting tables is bad : markup too. : BTW, CSS is more compatible, actually.
| | | h*******n 发帖数: 231 | 11 The way most people (or even most corporate web developers) are doing it
doesn't necessarily mean the right way.
Non-standard markup that doesn't validate will definitely not survive in the
new (and future) generation browsers that tend to render more and more on the
strict side.
Of course div and table are different. Table is supposed to handle only
tabular data, not to be a layout tool. Nesting table layout is not accessible
in handhelds like cellphones and PDAs, which should go right up to yo
【在 s**********i 的大作中提到】 : : non-standard or not, all browers I know of even text ones : support it. : div is quite different from table. table is much : more flexible, and probably >80% of websites use : it for layout. : are you kidding or not? search google and see the : compatibility table between CSS and different : browsers.
| s**********i 发帖数: 711 | 12 do you live in an Utopia or what?
in our practical world, web developer/designers care more whether
their web pages work rather than what are the standards. and,
there's not a single browser which is wholy compliant to the
standards anyway.
the way works for your visitors is the way should be. period.
any page that require its visitor to upgrade is a bad page.
it's like saying customers is the God, visitors is the God
to web designers. and even your visitors are kind enough
agreed to download
【在 h*******n 的大作中提到】 : The way most people (or even most corporate web developers) are doing it : doesn't necessarily mean the right way. : Non-standard markup that doesn't validate will definitely not survive in the : new (and future) generation browsers that tend to render more and more on the : strict side. : Of course div and table are different. Table is supposed to handle only : tabular data, not to be a layout tool. Nesting table layout is not accessible : in handhelds like cellphones and PDAs, which should go right up to yo
| s**********i 发帖数: 711 | 13
BTW, you do know
and
give very different results right?
also keep in mind visitor can over write your CSS with
theirs or ignore CSS totally, which I do sometimes.
【在 h*******n 的大作中提到】 : The way most people (or even most corporate web developers) are doing it : doesn't necessarily mean the right way. : Non-standard markup that doesn't validate will definitely not survive in the : new (and future) generation browsers that tend to render more and more on the : strict side. : Of course div and table are different. Table is supposed to handle only : tabular data, not to be a layout tool. Nesting table layout is not accessible : in handhelds like cellphones and PDAs, which should go right up to yo
l****h 发帖数: 24 | 14 Thanks for all of your advice. I become more involved with webpage design now.
BBS here is really good.
accessible
【在 s**********i 的大作中提到】 : : BTW, you do know : and : give very different results right? : also keep in mind visitor can over write your CSS with : theirs or ignore CSS totally, which I do sometimes.
h*******n 发帖数: 231 | 15 There's nothing wrong being realistic. But ignoring the current standards just
because of that? Man, you're living in denial.
Surprised as you might be, standard advocators do work on cross-browser
compliance. And they do that without sacrificing forward compatibility.
Sure you are a professional. And a lot of people are too.
BTW, do you know a better markup to center a table than using the obsolete
tag?
【在 s**********i 的大作中提到】 : do you live in an Utopia or what? : in our practical world, web developer/designers care more whether : their web pages work rather than what are the standards. and, : there's not a single browser which is wholy compliant to the : standards anyway. : : the way works for your visitors is the way should be. period. : any page that require its visitor to upgrade is a bad page. : it's like saying customers is the God, visitors is the God : to web designers. and even your visitors are kind enough
| k*****y 发帖数: 221 | 16
...?
【在 h*******n 的大作中提到】 : There's nothing wrong being realistic. But ignoring the current standards just : because of that? Man, you're living in denial. : Surprised as you might be, standard advocators do work on cross-browser : compliance. And they do that without sacrificing forward compatibility. : Sure you are a professional. And a lot of people are too. : BTW, do you know a better markup to center a table than using the obsolete : tag?
s**********i 发帖数: 711 | 17
I don't know what's your point.
I work on how the browsers my visitors use would display my
page, not what the standards are or will be. period.
there's just no browser is fully compatible with the standards,
and even there is, are you telling all your visitors what
they need to download and install a new browser instead
of their favorite one just to visit your site?
until the day that they achieve their goal and all browsers
my audience use are fully compliant to the standards, I continue
to w
【在 h*******n 的大作中提到】 : There's nothing wrong being realistic. But ignoring the current standards just : because of that? Man, you're living in denial. : Surprised as you might be, standard advocators do work on cross-browser : compliance. And they do that without sacrificing forward compatibility. : Sure you are a professional. And a lot of people are too. : BTW, do you know a better markup to center a table than using the obsolete : tag?
| h*******n 发帖数: 231 | 18 This conversation shouldn't be dragging on forever.
One friendly suggestion: when you have time, learn what the web standards are.
Don't refuse to learn something based on your bias. Obviously you're a
persistent cross-browser compatibility person. So am I! But keep coding your
old random way is not getting you there.
Let's quit arguing, 'cause we're actually on the same side.
just
【在 s**********i 的大作中提到】 : : I don't know what's your point. : I work on how the browsers my visitors use would display my : page, not what the standards are or will be. period. : there's just no browser is fully compatible with the standards, : and even there is, are you telling all your visitors what : they need to download and install a new browser instead : of their favorite one just to visit your site? : until the day that they achieve their goal and all browsers : my audience use are fully compliant to the standards, I continue
|
|
|
|
|
|
| |