Team:Uppsala/guntastest/css.css
From 2014.igem.org
(Difference between revisions)
Line 1: | Line 1: | ||
- | |||
#test{ | #test{ | ||
border: solid black 4px; | border: solid black 4px; | ||
Line 13: | Line 12: | ||
} | } | ||
- | ul { | + | #test ul { |
list-style-type: none; | list-style-type: none; | ||
margin: 0; | margin: 0; | ||
Line 20: | Line 19: | ||
} | } | ||
- | li{ | + | |
+ | |||
+ | #test li{ | ||
display: inline; | display: inline; | ||
float: left; | float: left; | ||
} | } | ||
- | ul a:link, a:visited { | + | #test ul a:link, a:visited { |
display: block; | display: block; | ||
width: 200px; | width: 200px; | ||
Line 37: | Line 38: | ||
} | } | ||
- | ul a:hover, a:active { | + | #test ul a:hover, a:active { |
background-color: #7A991A; | background-color: #7A991A; | ||
} | } |
Revision as of 11:36, 12 June 2014
- test{
border: solid black 4px; margin-right: auto; margin-left: auto; background-color: #98bf21; width: 800px; height: 50px; }
h1{
text-align: center;
}
- test ul {
list-style-type: none; margin: 0; padding: 0; overflow: hidden;
}
- test li{
display: inline; float: left;
}
- test ul a:link, a:visited {
display: block; width: 200px; font-weight: bold; color: black; background-color: #98bf21; text-align: center; padding-top: 15px; padding-bottom: 17px; text-decoration: none;
}
- test ul a:hover, a:active {
background-color: #7A991A; }
- titel {
background-color: white; margin-right: auto; margin-left: auto; border: 1px solid; width: 100px;
}
.titelbild {
height: 99px; width: 99px;
}
- maincontent {
background-color: #b0c4de; margin-right: auto; margin-left: auto; width: 800px;
}