`
happmaoo
  • 浏览: 4350421 次
  • 性别: Icon_minigender_1
  • 来自: 杭州
社区版块
存档分类
最新评论

developing experiences from web designing

阅读更多

1. 多个div并列, 除了采用浮动(float)样式外, 还应该知道: div盒模型宽度 = 内容区宽度(width) + 边框距宽度(padding) + 边距宽度(margin) + 边界宽度(border), 如果盒模型宽度设置过大, 导致多个div的盒模型宽度之和超过它们所属容器(container)的宽度, 多个div并列是不可能成功的.

另外,在左右浮动两个div中, 如果左边的div设置了margin-right的边距宽度(>0), 这个边距不是左边div距离右边div的距离, 而是左边div距其父容器右边的距离, 想像一下, 这样右边的div会被挤下去的.

2. 链接样式必须遵守LoVe HA, 即分别按a:link, a:visited, a:hover, a:active次序规则设置链接样式.
3. a:visited在IE中会覆盖class?
例如: a:visisted {} 覆盖 a.self{} ???

4. 小技巧: 先设置a标记的css, 这样a:link, a:visited, a:hover, a:active伪类将继承a标记的css

5. 关于a的宽度/高度设置: 由于a是内联对象(display:inline), 在为其设置宽度/高度的同时必须设置它为块对象(display:block), 从严格的HTML4.01和XHTML1.0文档来讲(在页面声明相应的!DocType), 如不设置a为块对象, 则宽/高不能起作用.


I have been realized tolike the song from Bryan Adams - When you're gone:

When You're Gone
当你离去后
I've been wandering around the house all night
我在房间徘徊了整晚
Wondering what the hell to do
奇怪该死的都做了些什么
I'm trying to concentrate but all I can think of is you
我集中尽可能我所能够想到的一切
Well the phone don't ring cuz my friends ain't home
打电话给我的朋友们,他们都不在家
I'm tired of being all alone
我太累了
Got the tv on cuz the radio's playing songs that remind me of you
电视和收音机正在播放的歌让我想起了你

Baby when you're gone - I realize I'm in love
Baby当你离去后 - 我真的爱你
The days go on and on - and the nights just seem so long
一天又一天,长夜漫漫
Even food don't taste that good - drink ain't doing what it should

Things just feel so wrong - baby when you're gone

I've been driving up and down these streets
Trying to find somewhere to go
我开车经过每条街试图找到你可能去过的任何地方
Ya I'm lookin' for a familiar face but there's no one I know
我多想看到你那张熟悉的面容, 但是一个也没有
This is torture - this is pain - it feels like I'm gonna go insane
如此痛苦,我快要变成精神病
I hope you're coming back real soon -cuz I don't know what to do
我希望你尽快回到我身边 - 我真不知道该怎么做

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics