根据FF和IE对一些符号识别的差异,我们可以单独对FF以及IE定义样式,例子:
区别IE6与FF:
1
| background:orange;*background:blue; |
区别IE6与IE7:
1
| background:green !important;background:blue; |
区别IE7与FF:
1
| background:orange; *background:green; |
区别FF,IE7,IE6:
1
| background:orange;*background:green !important;*background:blue; |
注:IE都能识别*;标准浏览器(如FF)不能识别*;
- IE6能识别*,但不能识别 !important,
- IE7能识别*,也能识别!important;
- FF不能识别*,但能识别!important;
所以标准的写法FF,IE7,IE6:
1
| color:#fff; *color:#000 !important; *color:#ff6600; |
firefox:白色,IE7:黑色,IE6:橙色
另外再补充一个,下划线”_”,
IE6支持下划线,IE7和firefox均不支持下划线。
于是大家还可以这样来区分IE6,IE7,firefox:
1
| background:orange;*background:green;_background:blue; |
注:不管是什么方法,书写的顺序都是firefox的写在前面,IE7的写在中间,IE6的写在最后面。
Continue reading ‘Css样式兼容IE6,IE7,FIREFOX的写法’
Published on
August 28, 2008 in
Tech.
在笔记本上使用usb的鼠标真的是不好受,可能是由于我的这个usb鼠标的原因。再发一次配置。
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146
| #
# zhuzhu@cpan.org
#
Section "Module"
Load "dbe" # Double buffer extension
SubSection "extmod"
Option "omit xfree86-dga" # don't initialise the DGA extension
EndSubSection
Load "type1"
Load "freetype"
Load "speedo"
Load "glx"
#Load "synaptics"
EndSection
Section "Files"
RgbPath "/usr/share/X11/rgb"
FontPath "/usr/share/fonts/local/"
FontPath "/usr/share/fonts/misc/"
FontPath "/usr/share/fonts/OTF/"
FontPath "/usr/share/fonts/TTF/"
FontPath "/usr/share/fonts/Type1/"
FontPath "/usr/share/fonts/CID/"
FontPath "/usr/share/fonts/Speedo/"
FontPath "/usr/share/fonts/75dpi/:unscaled"
FontPath "/usr/share/fonts/100dpi/:unscaled"
FontPath "/usr/share/fonts/75dpi/"
FontPath "/usr/share/fonts/100dpi/"
FontPath "/usr/share/fonts/cyrillic/"
FontPath "/usr/share/fonts/vista/"
EndSection
Section "InputDevice"
Identifier "Keyboard1"
Driver "kbd"
EndSection
Section "InputDevice"
Identifier "Mouse2"
Driver "mouse"
Option "Protocol" "IMPS/2"
# Option "SendCoreEvents" "true"
# Option "CorePointer"
Option "Name" "Logitech USB optical mouse"
Option "Device" "/dev/input/mice"
# Option "Device" "/dev/mouse"
# Option "Device" "/dev/psaux"
# Option "BaudRate" "9600"
# Option "SampleRate" "150"
# Option "AlwaysCore" "true"
Option "ZAxisMapping" "4 5"
# Option "Buttons" "5"
option "Emulate3Buttons" "true"
# Option "Resolution" "800"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "Emulate3Buttons" "true"
EndSection
Section "Monitor"
Identifier "My Monitor"
HorizSync 31.5 - 50.0
VertRefresh 40-90
EndSection
Section "Device"
Identifier "VESA Framebuffer"
Driver "vesa"
#VideoRam 4096
EndSection
Section "Screen"
Identifier "Screen 1"
Device "VESA Framebuffer"
Monitor "My Monitor"
DefaultDepth 24
Subsection "Display"
Depth 8
Modes "1024x768" "800x600" "640x480"
EndSubsection
Subsection "Display"
Depth 16
Modes "1280x800" "1024x768" "800x600" "640x480"
EndSubsection
Subsection "Display"
Depth 24
Modes "1280x800" "1024x768" "800x600" "640x480"
EndSubsection
Subsection "Display"
Depth 32
Modes "1280x800" "1024x768" "800x600" "640x480"
EndSubsection
EndSection
#Section "InputDevice"
# Identifier "Synaptics"
# Driver "synaptics"
# Option "SendCoreEvents" "true"
# Option "Device" "/dev/psaux"
# Option "Protocol" "auto-dev"
# Option "SHMConfig" "true"
# #带#的为可选项,用来设置边界大小及速度及滚动等。具体见程序synclient.
# Option "LeftEdge" "1700"
# Option "RightEdge" "5300"
# Option "TopEdge" "1700"
# Option "BottomEdge" "4200"
# Option "FingerLow" "25"
# Option "Fingertop" "30"
# Option "MaxTapTime" "180"
# Option "MAxTapMove" "220"
# Option "VertScrollDelta" "100"
# Option "MinSpeed" "0.06"
# Option "MaxSpeed" "0.12"
# Option "AceelFactor" "0.0010"
# Option "SHMConfig" "on"
# Option "RTCornerButton" "2"
#EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen "Screen 1"
# Each InputDevice line specifies an InputDevice section name and
# optionally some options to specify the way the device is to be
# used. Those options include "CorePointer", "CoreKeyboard" and
# "SendCoreEvents".
# InputDevice "Synaptics" "AlwaysCore"
# InputDevice "Synaptics"
# InputDevice "Mouse1" "CorePointer"
# InputDevice "Mouse2" "AlwaysPointer"
# InputDevice "Configured Mouse" "CorePointer"
# InputDevice "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
EndSection
#Section "ServerLayout"
# Identifier "Default Layout"
# Screen "Default Screen"
#在类似的地方再加入下面这一行:
# InputDevice "Synaptics" "CorePointer"
# InputDevice "Keyboard1" "CoreKeyboard"
# InputDevice "Mouse" "SendCoreEvents"
#EndSection |
为了测试 kde4.1 (slackware-current)里面的包,我安装了,不过testing的版本的确非常不好,还是换回来了,看到又要折腾一个下午了…… 再也不在工作用的电脑上安装testing的包了,特别是这样大型的桌面环境。
Frontpage hanging CPU on Hostmonster with Cpanel, It’s truth, author.exe cross most cpu time, about 99%, on Hostmonster with Cpanel. Google will find much like this. Such as this. or such as hostmonster server host266.
I think the team of Hostmonster need remove some frontpage extensions.
Recent Comments