Template:MIT-header

From 2011.igem.org

(Difference between revisions)
Line 83: Line 83:
<li><a href="#">Link four</a></li>
<li><a href="#">Link four</a></li>
</ul>
</ul>
-
 
-
<p>
 
-
In the example above, we let the ul element and the a element float to the left.
 
-
The li elements will be displayed as inline elements (no line break before or after the element). This forces the list to be on one line.
 
-
The ul element has a width of 100% and each hyperlink in the list has a width of 6em (6 times the size of the current font).
 
-
We add some colors and borders to make it more fancy.
 
-
</p>
 
</body>
</body>
</html>
</html>

Revision as of 01:11, 25 October 2011