Jump to content

Height of elements?


eduard

Recommended Posts

Why can´t I change the height of the elements?<html><head><title>Eduard Lid</title><link rel="stylesheet" type="text/css" href="ex1.css" /></head><body><div class="header"><a href="websites/book/mine.html">libro (escrito cuando vivi en Europa-2007)</a></div><div id="main"><img src="images/me.jpg" alt="me" align="right" width="320" height="240"</div><div class="footer"><h1>Eduard Lid</h1><h5>Ese sitio web es hecho por Eduard Lid</h5></div></body></html>div {width:1200px;height:100px;margin-top:0cm;padding:0px;border-style:none;}div{background-color:#f0ffff;width:1200px;height:100px; }div{background-color:#98fb98;width:1200px;height:100px;margin-top:0cm;padding:0px;border-style:none;}h1{text-align:center;font:georgia;color:#000000}h5{text-align:right;color:#00008b;font:arial;}

Link to comment
Share on other sites

You must set trigger for divs from CSS.
div.header {  options here;}div#main {  options here;}div.footer { options here;}

Thanks!
Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...