I get upset when students are told to SLICE an Illustrator or Photoshop image to create a Web page layout. What you end up with is a <TABLE>, and we all know <TABLE> layouts are bad. What is worse, you end up with a table that has content in the <TR> <TD>cells</TD> </TR>, and students do not learn anything about formatting <TABLE>. For instance, a <TABLE> could be styled with % percentage widths instead of fixed pixel measurements.
You might want to look at http://www.maxdesign.com.au/articles/css-layouts/ http://www.net-kit.com/html5-css3-la...and-templates/ http://webdesignerwall.com/tutorials...-media-queries http://www.css3.info/preview/media-queries/
I haven't gotten into styling for mobile-devices and CSS3 Media Queries. I think the "resolution" of the devices is higher than standard computer screens, while the width/height "size" is smaller.
Variable % percentage measurements I've been playing with can be seen at http://www.gerigeans.com or http://auntnini.webs.com.
Code:
#wrap { width: 85%; max-width:1000px; min-width: 50px; position: relative; background: transparent; /*background-color: rgba(255, 255,255, 0.25);*/ z-index:300; }
.textbox { width: 85%; max-width: 700px; min-width: 100px; height: auto;}
#space { position: relative; width: 95%; max-width: 700px; min-width: 20px; height: auto; margin: 20px auto; background: transparent }
#space img { width: 95%; max-width:400px; min-width: 10px; height: auto; margin: 5px auto 10px auto; }
Bookmarks