/
browsercss.php
79 lines (61 loc) · 1.44 KB
/
browsercss.php
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
<!-- TODO: move to jQuery calls -->
<style type='text/css'>
<?php if( preg_match("/Firefox/", $_SERVER['HTTP_USER_AGENT']) ) : ?>
fieldset.sidebarlist
{
margin-bottom: 15px !important;
}
fieldset.comment
{
margin-top: 15px;
}
<?php endif; ?>
<?php if( preg_match("/MSIE/", $_SERVER['HTTP_USER_AGENT']) ) : ?>
/* hack to get fieldset background and legend position working right in IE */
FIELDSET
{
position: relative;
margin: 0 0 1em 0;
}
FIELDSET LEGEND
{
position: absolute;
top: -15px;
left: 3%;
}
/* end hack */
.sidebar
{
padding-top: 30px;
}
.sidebartab
{
font-family: Arial;
padding: 5px 10px;
/* width needs to be set for rotate to work in IE! */
width: 80px;
}
.sidebartableftrotated
{
margin-left: 0px;
margin-right: -75px;
}
.sidebartabrightrotated
{
margin-right: -75px;
}
.sidebarlist
{
padding-top: 30px;
}
.comment,
#responsebox
{
padding-top: 25px;
}
#respond INPUT#submit
{
font-weight: normal;
}
<?php endif; ?>
</style>