Team:NoKoGen/css
From 2010.igem.org
(Difference between revisions)
(New page: ul#menubar { margin: 0px; /* ul内部の左端余白を消す(IE) */ padding: 0px; - →ul内部の左端余白を消す(Fx,Op): } ul#menubar li { list-style-type: none; /* 先頭...) |
|||
Line 1: | Line 1: | ||
ul#menubar { | ul#menubar { | ||
- | margin: 0px; | + | margin: 0px; |
- | padding: 0px; | + | padding: 0px; |
} | } | ||
ul#menubar li { | ul#menubar li { | ||
- | list-style-type: none; | + | list-style-type: none; |
- | float: left; | + | float: left; |
- | margin: 0.3em 0.1em; | + | margin: 0.3em 0.1em; |
- | border: 1px gray solid; | + | border: 1px gray solid; |
- | padding: 0px; | + | padding: 0px; |
} | } | ||
- | + | ||
ul#menubar li a { | ul#menubar li a { | ||
- | text-decoration: none; | + | text-decoration: none; |
- | display: block; | + | display: block; |
- | padding: 0.3em; | + | padding: 0.3em; |
} | } | ||
ul#menubar li a:hover { | ul#menubar li a:hover { | ||
- | background-color: blue; | + | background-color: blue; |
- | color: white; | + | color: white; |
} | } |
Revision as of 05:22, 19 October 2010
ul#menubar {
margin: 0px; padding: 0px;
} ul#menubar li {
list-style-type: none; float: left; margin: 0.3em 0.1em; border: 1px gray solid; padding: 0px;
}
ul#menubar li a {
text-decoration: none; display: block; padding: 0.3em;
} ul#menubar li a:hover {
background-color: blue; color: white;
}