sunlei 发表于 2006 年 2 月 5 日 18:18:28

DIV+CSS 布局实例:各种2栏,3栏布局实例下载

<div style="padding: 8px; background: rgb(255, 255, 255) none repeat scroll 0% 50%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><br/><h2 class="sub-hdr">Two
Column Flexible</h2>
<div class="cont">
<span class="temp-lh">Browsers:</span>
<span class="temp-rh">
<img src="http://www&#46;ssi-developer&#46;net/main/images/moz_sm&#46;gif" alt="Mozilla Icon" title="Tested and passed in Mozilla 1&#46;5 beta"/> '
<img src="http://www&#46;ssi-developer&#46;net/main/images/ff_sm&#46;gif" alt="Firebird Icon" title="Tested and passed in Mozilla Firefox 0&#46;8"/> '
<img src="http://www&#46;ssi-developer&#46;net/main/images/ns_sm&#46;gif" alt="Netscape Icon" title="Tested and passed in Netscape 7&#46;1"/> '
<img src="http://www&#46;ssi-developer&#46;net/main/images/op_sm&#46;gif" alt="Opera Icon" title="Tested and passed in Opera 7&#46;11"/> '
<img src="http://www&#46;ssi-developer&#46;net/main/images/ie_sm&#46;gif" alt="IE6 Icon" title="Tested and passed in Internet Explorer 6"/><sup>(5+)</sup>
</span>
</div>
<div class="cont">
<span class="temp-lh">Description:</span>
<span class="temp-rh">
Probably the easiest page to make&#46; Contains two
layout divs, the main content div is just floated to the left&#46;
Very simple!
</span>
</div>
<div class="cont">
<span class="temp-lh">Actions:</span>
<span class="temp-rh">
<a href="http://www&#46;ssi-developer&#46;net/main/templates/temps/2c-flex&#46;htm" target="_blank" title="View Template">View</a> | <a href="java script:void(0)" onclick="temp2colflex()" title="Opens a pop-up window preview">Image
Preview</a> | <a href="http://www&#46;ssi-developer&#46;net/main/templates/temps/zips/2c-flex&#46;zip" title="Download template">Download</a> <small class="fsize">[   5k]
</small></span>
</div>
<br/>
<br/><br/>
<h2 class="sub-hdr">Two
Column Flexible With Header</h2>
<div class="cont">
<span class="temp-lh">Browsers:</span>
<span class="temp-rh">
<img src="http://www&#46;ssi-developer&#46;net/main/images/moz_sm&#46;gif" alt="Mozilla Icon" title="Tested and passed in Mozilla 1&#46;5 beta"/> '
<img src="http://www&#46;ssi-developer&#46;net/main/images/ff_sm&#46;gif" alt="Firebird Icon" title="Tested and passed in Mozilla Firefox 0&#46;8"/> '
<img src="http://www&#46;ssi-developer&#46;net/main/images/ns_sm&#46;gif" alt="Netscape Icon" title="Tested and passed in Netscape 7&#46;1"/> '
<img src="http://www&#46;ssi-developer&#46;net/main/images/op_sm&#46;gif" alt="Opera Icon" title="Tested and passed in Opera 7&#46;11"/> '
<img src="http://www&#46;ssi-developer&#46;net/main/images/ie_sm&#46;gif" alt="IE6 Icon" title="Tested and passed in Internet Explorer 6"/><sup>(5+)</sup>
</span>
</div>
<div class="cont">
<span class="temp-lh">Description:</span>
<span class="temp-rh">Basically the same template as above but with the
addition of a header div for page title, your logo or banners
etc&#46; Again very simple to set up&#46;</span>
</div>
<div class="cont">
<span class="temp-lh">Actions:</span>
<span class="temp-rh"><a href="http://www&#46;ssi-developer&#46;net/main/templates/temps/2c-hd-flex&#46;htm" target="_blank" title="View Template">View</a> | <a href="java script:void(0)" onclick="temp2colflexwhdr()" title="Opens a pop-up window preview">Image
Preview</a> | <a href="http://www&#46;ssi-developer&#46;net/main/templates/temps/zips/2c-hd-flex&#46;zip" title="Download template">Download</a> <small class="fsize">[   3k]
</small></span></div>
<br/>
<br/>
<br/>
<h2 class="sub-hdr">Two
Column, Left Column Static</h2>
<div class="cont">
<span class="temp-lh">Browsers:</span>
<span class="temp-rh">
<img src="http://www&#46;ssi-developer&#46;net/main/images/moz_sm&#46;gif" alt="Mozilla Icon" title="Tested and passed in Mozilla 1&#46;5 beta"/> '
<img src="http://www&#46;ssi-developer&#46;net/main/images/ff_sm&#46;gif" alt="Firebird Icon" title="Tested and passed in Mozilla Firefox 0&#46;8"/> '
<img src="http://www&#46;ssi-developer&#46;net/main/images/ns_sm&#46;gif" alt="Netscape Icon" title="Tested and passed in Netscape 7&#46;1"/> '
<img src="http://www&#46;ssi-developer&#46;net/main/images/op_sm&#46;gif" alt="Opera Icon" title="Tested and passed in Opera 7&#46;11"/> '
<img src="http://www&#46;ssi-developer&#46;net/main/images/ie_sm&#46;gif" alt="IE6 Icon" title="Tested and passed in Internet Explorer 6"/><sup>(5+)</sup>
</span>
</div>
<div class="cont">
<span class="temp-lh">Description:</span>
<span class="temp-rh">Two columns, the left
column is absolutely positioned on the left and is a fixed width&#46; The right
content column is sized and positioned by using margins and will
resize with the browser window&#46;</span>
</div>
<div class="cont">
<span class="temp-lh">Actions:</span>
<span class="temp-rh"><a href="http://www&#46;ssi-developer&#46;net/main/templates/temps/2c-lc-static&#46;htm" target="_blank" title="View Template">View</a> | <a href="java script:void(0)" onclick="temp2colstatic()" title="Opens a pop-up window preview">Image
Preview</a> | <a href="http://www&#46;ssi-developer&#46;net/main/templates/temps/zips/2c-lc-static&#46;zip" title="Download template">Download</a> <small class="fsize">[   6k]
</small></span></div>
<br/>
<br/>
<br/>
<h2 class="sub-hdr">Two
Column, Left Column Static, with Header Bar</h2>
<div class="cont">
<span class="temp-lh">Browsers:</span>
<span class="temp-rh">
<img src="http://www&#46;ssi-developer&#46;net/main/images/moz_sm&#46;gif" alt="Mozilla Icon" title="Tested and passed in Mozilla 1&#46;5 beta"/> '
<img src="http://www&#46;ssi-developer&#46;net/main/images/ff_sm&#46;gif" alt="Firebird Icon" title="Tested and passed in Mozilla Firefox 0&#46;8"/> '
<img src="http://www&#46;ssi-developer&#46;net/main/images/ns_sm&#46;gif" alt="Netscape Icon" title="Tested and passed in Netscape 7&#46;1"/> '
<img src="http://www&#46;ssi-developer&#46;net/main/images/op_sm&#46;gif" alt="Opera Icon" title="Tested and passed in Opera 7&#46;11"/> '
<img src="http://www&#46;ssi-developer&#46;net/main/images/ie_sm&#46;gif" alt="IE6 Icon" title="Tested and passed in Internet Explorer 6"/><sup>(5+)</sup>
</span>
</div>
<div class="cont">
<span class="temp-lh">Description:</span>
<span class="temp-rh">This is the same template as above but with the
addition of a simple header bar which can be used for links,
search box etc&#46;&#46;</span>
</div>
<div class="cont">
<span class="temp-lh">Actions:</span>
<span class="temp-rh"><a href="http://www&#46;ssi-developer&#46;net/main/templates/temps/2c-hd-lc-static&#46;htm" target="_blank" title="View Template">View</a> | <a href="java script:void(0)" onclick="temp2colstaticwhdr()" title="Opens a pop-up window preview">Image
Preview</a> | <a href="http://www&#46;ssi-developer&#46;net/main/templates/temps/zips/2c-hd-lc-static&#46;zip" title="Download template">Download</a> <small class="fsize">[   6k]
</small></span></div>
<br/>
<br/>
<br/>
<h2 class="sub-hdr">Two
Column Fixed Width with Header &amp; Footer <img width="5" height="7" alt="Recommended !" src="http://www&#46;ssi-developer&#46;net/main/images/red-arrow&#46;gif"/></h2>
<div class="cont">
<span class="temp-lh">Browsers:</span>
<span class="temp-rh">
<img src="http://www&#46;ssi-developer&#46;net/main/images/moz_sm&#46;gif" alt="Mozilla Icon" title="Tested and passed in Mozilla 1&#46;5 beta"/> '
<img src="http://www&#46;ssi-developer&#46;net/main/images/ff_sm&#46;gif" alt="Firebird Icon" title="Tested and passed in Mozilla Firefox 0&#46;8"/> '
<img src="http://www&#46;ssi-developer&#46;net/main/images/ns_sm&#46;gif" alt="Netscape Icon" title="Tested and passed in Netscape 7&#46;1"/> '
<img src="http://www&#46;ssi-developer&#46;net/main/images/op_sm&#46;gif" alt="Opera Icon" title="Tested and passed in Opera 7&#46;11"/> '
<img src="http://www&#46;ssi-developer&#46;net/main/images/ie_sm&#46;gif" alt="IE6 Icon" title="Tested and passed in Internet Explorer 6"/><sup>(5+)</sup>
</span>
</div>
<div class="cont">
<span class="temp-lh">Description:</span>
<span class="temp-rh">A fixed width centered page with a header,
footer, left navigation column and right content column&#46; One of
my favourites&#46;</span>
</div>
<div class="cont">
<span class="temp-lh">Actions:</span>
<span class="temp-rh"><a href="http://www&#46;ssi-developer&#46;net/main/templates/temps/2c-hd-ft-fixed&#46;htm" target="_blank" title="View Template">View</a> | <a href="java script:void(0)" onclick="temp2colfixedwhdrwftr()" title="Opens a pop-up window preview">Image
Preview</a> | <a href="http://www&#46;ssi-developer&#46;net/main/templates/temps/zips/2c-hd-ft-fixed&#46;zip" title="Download template">Download</a> <small class="fsize">[   6k]
<br/><br/></small></span><h2 class="sub-hdr">Three
Column, Left &amp; Right Columns Static</h2>
<div class="cont">
<span class="temp-lh">Browsers:</span>
<span class="temp-rh">
<img src="http://www&#46;ssi-developer&#46;net/main/images/moz_sm&#46;gif" alt="Mozilla Icon" title="Tested and passed in Mozilla 1&#46;5 beta"/> '
<img src="http://www&#46;ssi-developer&#46;net/main/images/ff_sm&#46;gif" alt="Firebird Icon" title="Tested and passed in Mozilla Firefox 0&#46;8"/> '
<img src="http://www&#46;ssi-developer&#46;net/main/images/ns_sm&#46;gif" alt="Netscape Icon" title="Tested and passed in Netscape 7&#46;1"/> '
<img src="http://www&#46;ssi-developer&#46;net/main/images/op_sm&#46;gif" alt="Opera Icon" title="Tested and passed in Opera 7&#46;11"/> '
<img src="http://www&#46;ssi-developer&#46;net/main/images/ie_sm&#46;gif" alt="IE6 Icon" title="Tested and passed in Internet Explorer 6"/><sup>(5+)</sup>
</span>
</div>
<div class="cont">
<span class="temp-lh">Description:</span>
<span class="temp-rh">This is much the same as 'Two Col Left Col
Static' but now with the addition of a right hand column which is absolutely
positioned&#46;</span>
</div>
<div class="cont">
<span class="temp-lh">Actions:</span>
<span class="temp-rh"><a href="http://www&#46;ssi-developer&#46;net/main/templates/temps/3c-lcrc-static&#46;htm" target="_blank" title="View Template">View</a> | <a href="java script:void(0)" onclick="temp3colstatic()" title="Opens a pop-up window preview">Image
Preview</a> | <a href="http://www&#46;ssi-developer&#46;net/main/templates/temps/zips/3c-lcrc-static&#46;zip" title="Download template">Download</a> <small class="fsize">[   6k]
</small></span></div>
<br/>
<br/>
<br/>
<h2 class="sub-hdr">Three
Column 'Pixel-Perfect'</h2>
<div class="cont">
<span class="temp-lh">Browsers:</span>
<span class="temp-rh">
<img src="http://www&#46;ssi-developer&#46;net/main/images/moz_sm&#46;gif" alt="Mozilla Icon" title="Tested and passed in Mozilla 1&#46;5 beta"/> '
<img src="http://www&#46;ssi-developer&#46;net/main/images/ff_sm&#46;gif" alt="Firebird Icon" title="Tested and passed in Mozilla Firefox 0&#46;8"/> '
<img src="http://www&#46;ssi-developer&#46;net/main/images/ns_sm&#46;gif" alt="Netscape Icon" title="Tested and passed in Netscape 7&#46;1"/> '
<img src="http://www&#46;ssi-developer&#46;net/main/images/op_sm&#46;gif" alt="Opera Icon" title="Tested and passed in Opera 7&#46;11"/> '
<img src="http://www&#46;ssi-developer&#46;net/main/images/ie_sm&#46;gif" alt="IE6 Icon" title="Tested and passed in Internet Explorer 6"/><sup>(6)</sup>
</span>
</div>
<div class="cont">
<span class="temp-lh">Description:</span>
<span class="temp-rh">Sometimes this is called the &quot;Holy Grail&quot;&#46;
It's a three column template which fits together &quot;pixel perfect&quot;&#46;</span>
</div>
<div class="cont">
<span class="temp-lh">Actions:</span>
<span class="temp-rh"><a href="http://www&#46;ssi-developer&#46;net/main/templates/temps/3c-lcrc-static-pp&#46;htm" target="_blank" title="View Template">View</a> | <a href="java script:void(0)" onclick="temp3colstaticpixelperfect()" title="Opens a pop-up window preview">Image Preview</a> | <a href="http://www&#46;ssi-developer&#46;net/main/templates/temps/zips/3c-lcrc-static-pp&#46;zip" title="Download template">Download</a> <small class="fsize">[   6k]
</small></span></div>
<br/>
<br/>
<br/>
<h2 class="sub-hdr">Three
Column 'Pixel-Perfect' with Header</h2>
<div class="cont">
<span class="temp-lh">Browsers:</span>
<span class="temp-rh">
<img src="http://www&#46;ssi-developer&#46;net/main/images/moz_sm&#46;gif" alt="Mozilla Icon" title="Tested and passed in Mozilla 1&#46;5 beta"/> '
<img src="http://www&#46;ssi-developer&#46;net/main/images/ff_sm&#46;gif" alt="Firebird Icon" title="Tested and passed in Mozilla Firefox 0&#46;8"/> '
<img src="http://www&#46;ssi-developer&#46;net/main/images/ns_sm&#46;gif" alt="Netscape Icon" title="Tested and passed in Netscape 7&#46;1"/> '
<img src="http://www&#46;ssi-developer&#46;net/main/images/op_sm&#46;gif" alt="Opera Icon" title="Tested and passed in Opera 7&#46;11"/> '
<img src="http://www&#46;ssi-developer&#46;net/main/images/ie_sm&#46;gif" alt="IE6 Icon" title="Tested and passed in Internet Explorer 6"/><sup>(6)</sup>
</span>
</div>
<div class="cont">
<span class="temp-lh">Description:</span>
<span class="temp-rh">The same as the &quot;Holy Grail&quot; above but with
a header div&#46; Also expands to fit the whole screen&#46;</span>
</div>
<div class="cont">
<span class="temp-lh">Actions:</span>
<span class="temp-rh"><a href="http://www&#46;ssi-developer&#46;net/main/templates/temps/3c-hd-lcrc-static-pp&#46;htm" target="_blank" title="View Template">View</a> | <a href="java script:void(0)" onclick="temp3colstaticpixelperfectwhdr()" title="Opens a pop-up window preview">Image Preview</a> | <a href="http://www&#46;ssi-developer&#46;net/main/templates/temps/zips/3c-hd-lcrc-static-pp&#46;zip" title="Download template">Download</a> <small class="fsize">[   3k]
</small></span></div>
<br/>
<br/>
<br/>
<h2 class="sub-hdr">Three
Column Pixel-Perfect with Header &amp; Footer <img width="5" height="7" alt="Recommended !" src="http://www&#46;ssi-developer&#46;net/main/images/red-arrow&#46;gif"/></h2>
<div class="cont">
<span class="temp-lh">Browsers:</span>
<span class="temp-rh">
<img src="http://www&#46;ssi-developer&#46;net/main/images/moz_sm&#46;gif" alt="Mozilla Icon" title="Tested and passed in Mozilla 1&#46;5 beta"/> '
<img src="http://www&#46;ssi-developer&#46;net/main/images/ff_sm&#46;gif" alt="Firebird Icon" title="Tested and passed in Mozilla Firefox 0&#46;8"/> '
<img src="http://www&#46;ssi-developer&#46;net/main/images/ns_sm&#46;gif" alt="Netscape Icon" title="Tested and passed in Netscape 7&#46;1"/> '
<img src="http://www&#46;ssi-developer&#46;net/main/images/op_sm&#46;gif" alt="Opera Icon" title="Tested and passed in Opera 7&#46;11"/> '
<img src="http://www&#46;ssi-developer&#46;net/main/images/ie_sm&#46;gif" alt="IE6 Icon" title="Tested and passed in Internet Explorer 6"/><sup>(5+)</sup>
</span>
</div>
<div class="cont">
<span class="temp-lh">Description:</span>
<span class="temp-rh">My most complete template&#46; It has three columns, a header and footer
and will resize with the browser window&#46;</span>
</div>
<div class="cont">
<span class="temp-lh">Actions:</span>
<span class="temp-rh"><a href="http://www&#46;ssi-developer&#46;net/main/templates/temps/3c-hd-ft-flex&#46;htm" target="_blank" title="View Template">View</a> | <a href="java script:void(0)" onclick="temp3colpixelperfectwhdrwftr()" title="Opens a pop-up window preview">Image Preview</a> | <a href="http://www&#46;ssi-developer&#46;net/main/templates/temps/zips/3c-hd-ft-flex&#46;zip" title="Download template">Download</a> <small class="fsize">[   6k]
</small></span></div><br/></div>
</div>

sunlei 发表于 2006 年 2 月 5 日 18:19:19

想学习DIV+CSS的,自己去下载回来看好了
http://www.ssi-developer.net/main/templates/

sunlei 发表于 2006 年 2 月 5 日 18:18:28

DIV+CSS 布局实例:各种2栏,3栏布局实例下载

<div style="padding: 8px; background: rgb(255, 255, 255) none repeat scroll 0% 50%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><br/><h2 class="sub-hdr">Two
Column Flexible</h2>
<div class="cont">
<span class="temp-lh">Browsers:</span>
<span class="temp-rh">
<img src="http://www&#46;ssi-developer&#46;net/main/images/moz_sm&#46;gif" alt="Mozilla Icon" title="Tested and passed in Mozilla 1&#46;5 beta"/> '
<img src="http://www&#46;ssi-developer&#46;net/main/images/ff_sm&#46;gif" alt="Firebird Icon" title="Tested and passed in Mozilla Firefox 0&#46;8"/> '
<img src="http://www&#46;ssi-developer&#46;net/main/images/ns_sm&#46;gif" alt="Netscape Icon" title="Tested and passed in Netscape 7&#46;1"/> '
<img src="http://www&#46;ssi-developer&#46;net/main/images/op_sm&#46;gif" alt="Opera Icon" title="Tested and passed in Opera 7&#46;11"/> '
<img src="http://www&#46;ssi-developer&#46;net/main/images/ie_sm&#46;gif" alt="IE6 Icon" title="Tested and passed in Internet Explorer 6"/><sup>(5+)</sup>
</span>
</div>
<div class="cont">
<span class="temp-lh">Description:</span>
<span class="temp-rh">
Probably the easiest page to make&#46; Contains two
layout divs, the main content div is just floated to the left&#46;
Very simple!
</span>
</div>
<div class="cont">
<span class="temp-lh">Actions:</span>
<span class="temp-rh">
<a href="http://www&#46;ssi-developer&#46;net/main/templates/temps/2c-flex&#46;htm" target="_blank" title="View Template">View</a> | <a href="java script:void(0)" onclick="temp2colflex()" title="Opens a pop-up window preview">Image
Preview</a> | <a href="http://www&#46;ssi-developer&#46;net/main/templates/temps/zips/2c-flex&#46;zip" title="Download template">Download</a> <small class="fsize">[   5k]
</small></span>
</div>
<br/>
<br/><br/>
<h2 class="sub-hdr">Two
Column Flexible With Header</h2>
<div class="cont">
<span class="temp-lh">Browsers:</span>
<span class="temp-rh">
<img src="http://www&#46;ssi-developer&#46;net/main/images/moz_sm&#46;gif" alt="Mozilla Icon" title="Tested and passed in Mozilla 1&#46;5 beta"/> '
<img src="http://www&#46;ssi-developer&#46;net/main/images/ff_sm&#46;gif" alt="Firebird Icon" title="Tested and passed in Mozilla Firefox 0&#46;8"/> '
<img src="http://www&#46;ssi-developer&#46;net/main/images/ns_sm&#46;gif" alt="Netscape Icon" title="Tested and passed in Netscape 7&#46;1"/> '
<img src="http://www&#46;ssi-developer&#46;net/main/images/op_sm&#46;gif" alt="Opera Icon" title="Tested and passed in Opera 7&#46;11"/> '
<img src="http://www&#46;ssi-developer&#46;net/main/images/ie_sm&#46;gif" alt="IE6 Icon" title="Tested and passed in Internet Explorer 6"/><sup>(5+)</sup>
</span>
</div>
<div class="cont">
<span class="temp-lh">Description:</span>
<span class="temp-rh">Basically the same template as above but with the
addition of a header div for page title, your logo or banners
etc&#46; Again very simple to set up&#46;</span>
</div>
<div class="cont">
<span class="temp-lh">Actions:</span>
<span class="temp-rh"><a href="http://www&#46;ssi-developer&#46;net/main/templates/temps/2c-hd-flex&#46;htm" target="_blank" title="View Template">View</a> | <a href="java script:void(0)" onclick="temp2colflexwhdr()" title="Opens a pop-up window preview">Image
Preview</a> | <a href="http://www&#46;ssi-developer&#46;net/main/templates/temps/zips/2c-hd-flex&#46;zip" title="Download template">Download</a> <small class="fsize">[   3k]
</small></span></div>
<br/>
<br/>
<br/>
<h2 class="sub-hdr">Two
Column, Left Column Static</h2>
<div class="cont">
<span class="temp-lh">Browsers:</span>
<span class="temp-rh">
<img src="http://www&#46;ssi-developer&#46;net/main/images/moz_sm&#46;gif" alt="Mozilla Icon" title="Tested and passed in Mozilla 1&#46;5 beta"/> '
<img src="http://www&#46;ssi-developer&#46;net/main/images/ff_sm&#46;gif" alt="Firebird Icon" title="Tested and passed in Mozilla Firefox 0&#46;8"/> '
<img src="http://www&#46;ssi-developer&#46;net/main/images/ns_sm&#46;gif" alt="Netscape Icon" title="Tested and passed in Netscape 7&#46;1"/> '
<img src="http://www&#46;ssi-developer&#46;net/main/images/op_sm&#46;gif" alt="Opera Icon" title="Tested and passed in Opera 7&#46;11"/> '
<img src="http://www&#46;ssi-developer&#46;net/main/images/ie_sm&#46;gif" alt="IE6 Icon" title="Tested and passed in Internet Explorer 6"/><sup>(5+)</sup>
</span>
</div>
<div class="cont">
<span class="temp-lh">Description:</span>
<span class="temp-rh">Two columns, the left
column is absolutely positioned on the left and is a fixed width&#46; The right
content column is sized and positioned by using margins and will
resize with the browser window&#46;</span>
</div>
<div class="cont">
<span class="temp-lh">Actions:</span>
<span class="temp-rh"><a href="http://www&#46;ssi-developer&#46;net/main/templates/temps/2c-lc-static&#46;htm" target="_blank" title="View Template">View</a> | <a href="java script:void(0)" onclick="temp2colstatic()" title="Opens a pop-up window preview">Image
Preview</a> | <a href="http://www&#46;ssi-developer&#46;net/main/templates/temps/zips/2c-lc-static&#46;zip" title="Download template">Download</a> <small class="fsize">[   6k]
</small></span></div>
<br/>
<br/>
<br/>
<h2 class="sub-hdr">Two
Column, Left Column Static, with Header Bar</h2>
<div class="cont">
<span class="temp-lh">Browsers:</span>
<span class="temp-rh">
<img src="http://www&#46;ssi-developer&#46;net/main/images/moz_sm&#46;gif" alt="Mozilla Icon" title="Tested and passed in Mozilla 1&#46;5 beta"/> '
<img src="http://www&#46;ssi-developer&#46;net/main/images/ff_sm&#46;gif" alt="Firebird Icon" title="Tested and passed in Mozilla Firefox 0&#46;8"/> '
<img src="http://www&#46;ssi-developer&#46;net/main/images/ns_sm&#46;gif" alt="Netscape Icon" title="Tested and passed in Netscape 7&#46;1"/> '
<img src="http://www&#46;ssi-developer&#46;net/main/images/op_sm&#46;gif" alt="Opera Icon" title="Tested and passed in Opera 7&#46;11"/> '
<img src="http://www&#46;ssi-developer&#46;net/main/images/ie_sm&#46;gif" alt="IE6 Icon" title="Tested and passed in Internet Explorer 6"/><sup>(5+)</sup>
</span>
</div>
<div class="cont">
<span class="temp-lh">Description:</span>
<span class="temp-rh">This is the same template as above but with the
addition of a simple header bar which can be used for links,
search box etc&#46;&#46;</span>
</div>
<div class="cont">
<span class="temp-lh">Actions:</span>
<span class="temp-rh"><a href="http://www&#46;ssi-developer&#46;net/main/templates/temps/2c-hd-lc-static&#46;htm" target="_blank" title="View Template">View</a> | <a href="java script:void(0)" onclick="temp2colstaticwhdr()" title="Opens a pop-up window preview">Image
Preview</a> | <a href="http://www&#46;ssi-developer&#46;net/main/templates/temps/zips/2c-hd-lc-static&#46;zip" title="Download template">Download</a> <small class="fsize">[   6k]
</small></span></div>
<br/>
<br/>
<br/>
<h2 class="sub-hdr">Two
Column Fixed Width with Header &amp; Footer <img width="5" height="7" alt="Recommended !" src="http://www&#46;ssi-developer&#46;net/main/images/red-arrow&#46;gif"/></h2>
<div class="cont">
<span class="temp-lh">Browsers:</span>
<span class="temp-rh">
<img src="http://www&#46;ssi-developer&#46;net/main/images/moz_sm&#46;gif" alt="Mozilla Icon" title="Tested and passed in Mozilla 1&#46;5 beta"/> '
<img src="http://www&#46;ssi-developer&#46;net/main/images/ff_sm&#46;gif" alt="Firebird Icon" title="Tested and passed in Mozilla Firefox 0&#46;8"/> '
<img src="http://www&#46;ssi-developer&#46;net/main/images/ns_sm&#46;gif" alt="Netscape Icon" title="Tested and passed in Netscape 7&#46;1"/> '
<img src="http://www&#46;ssi-developer&#46;net/main/images/op_sm&#46;gif" alt="Opera Icon" title="Tested and passed in Opera 7&#46;11"/> '
<img src="http://www&#46;ssi-developer&#46;net/main/images/ie_sm&#46;gif" alt="IE6 Icon" title="Tested and passed in Internet Explorer 6"/><sup>(5+)</sup>
</span>
</div>
<div class="cont">
<span class="temp-lh">Description:</span>
<span class="temp-rh">A fixed width centered page with a header,
footer, left navigation column and right content column&#46; One of
my favourites&#46;</span>
</div>
<div class="cont">
<span class="temp-lh">Actions:</span>
<span class="temp-rh"><a href="http://www&#46;ssi-developer&#46;net/main/templates/temps/2c-hd-ft-fixed&#46;htm" target="_blank" title="View Template">View</a> | <a href="java script:void(0)" onclick="temp2colfixedwhdrwftr()" title="Opens a pop-up window preview">Image
Preview</a> | <a href="http://www&#46;ssi-developer&#46;net/main/templates/temps/zips/2c-hd-ft-fixed&#46;zip" title="Download template">Download</a> <small class="fsize">[   6k]
<br/><br/></small></span><h2 class="sub-hdr">Three
Column, Left &amp; Right Columns Static</h2>
<div class="cont">
<span class="temp-lh">Browsers:</span>
<span class="temp-rh">
<img src="http://www&#46;ssi-developer&#46;net/main/images/moz_sm&#46;gif" alt="Mozilla Icon" title="Tested and passed in Mozilla 1&#46;5 beta"/> '
<img src="http://www&#46;ssi-developer&#46;net/main/images/ff_sm&#46;gif" alt="Firebird Icon" title="Tested and passed in Mozilla Firefox 0&#46;8"/> '
<img src="http://www&#46;ssi-developer&#46;net/main/images/ns_sm&#46;gif" alt="Netscape Icon" title="Tested and passed in Netscape 7&#46;1"/> '
<img src="http://www&#46;ssi-developer&#46;net/main/images/op_sm&#46;gif" alt="Opera Icon" title="Tested and passed in Opera 7&#46;11"/> '
<img src="http://www&#46;ssi-developer&#46;net/main/images/ie_sm&#46;gif" alt="IE6 Icon" title="Tested and passed in Internet Explorer 6"/><sup>(5+)</sup>
</span>
</div>
<div class="cont">
<span class="temp-lh">Description:</span>
<span class="temp-rh">This is much the same as 'Two Col Left Col
Static' but now with the addition of a right hand column which is absolutely
positioned&#46;</span>
</div>
<div class="cont">
<span class="temp-lh">Actions:</span>
<span class="temp-rh"><a href="http://www&#46;ssi-developer&#46;net/main/templates/temps/3c-lcrc-static&#46;htm" target="_blank" title="View Template">View</a> | <a href="java script:void(0)" onclick="temp3colstatic()" title="Opens a pop-up window preview">Image
Preview</a> | <a href="http://www&#46;ssi-developer&#46;net/main/templates/temps/zips/3c-lcrc-static&#46;zip" title="Download template">Download</a> <small class="fsize">[   6k]
</small></span></div>
<br/>
<br/>
<br/>
<h2 class="sub-hdr">Three
Column 'Pixel-Perfect'</h2>
<div class="cont">
<span class="temp-lh">Browsers:</span>
<span class="temp-rh">
<img src="http://www&#46;ssi-developer&#46;net/main/images/moz_sm&#46;gif" alt="Mozilla Icon" title="Tested and passed in Mozilla 1&#46;5 beta"/> '
<img src="http://www&#46;ssi-developer&#46;net/main/images/ff_sm&#46;gif" alt="Firebird Icon" title="Tested and passed in Mozilla Firefox 0&#46;8"/> '
<img src="http://www&#46;ssi-developer&#46;net/main/images/ns_sm&#46;gif" alt="Netscape Icon" title="Tested and passed in Netscape 7&#46;1"/> '
<img src="http://www&#46;ssi-developer&#46;net/main/images/op_sm&#46;gif" alt="Opera Icon" title="Tested and passed in Opera 7&#46;11"/> '
<img src="http://www&#46;ssi-developer&#46;net/main/images/ie_sm&#46;gif" alt="IE6 Icon" title="Tested and passed in Internet Explorer 6"/><sup>(6)</sup>
</span>
</div>
<div class="cont">
<span class="temp-lh">Description:</span>
<span class="temp-rh">Sometimes this is called the &quot;Holy Grail&quot;&#46;
It's a three column template which fits together &quot;pixel perfect&quot;&#46;</span>
</div>
<div class="cont">
<span class="temp-lh">Actions:</span>
<span class="temp-rh"><a href="http://www&#46;ssi-developer&#46;net/main/templates/temps/3c-lcrc-static-pp&#46;htm" target="_blank" title="View Template">View</a> | <a href="java script:void(0)" onclick="temp3colstaticpixelperfect()" title="Opens a pop-up window preview">Image Preview</a> | <a href="http://www&#46;ssi-developer&#46;net/main/templates/temps/zips/3c-lcrc-static-pp&#46;zip" title="Download template">Download</a> <small class="fsize">[   6k]
</small></span></div>
<br/>
<br/>
<br/>
<h2 class="sub-hdr">Three
Column 'Pixel-Perfect' with Header</h2>
<div class="cont">
<span class="temp-lh">Browsers:</span>
<span class="temp-rh">
<img src="http://www&#46;ssi-developer&#46;net/main/images/moz_sm&#46;gif" alt="Mozilla Icon" title="Tested and passed in Mozilla 1&#46;5 beta"/> '
<img src="http://www&#46;ssi-developer&#46;net/main/images/ff_sm&#46;gif" alt="Firebird Icon" title="Tested and passed in Mozilla Firefox 0&#46;8"/> '
<img src="http://www&#46;ssi-developer&#46;net/main/images/ns_sm&#46;gif" alt="Netscape Icon" title="Tested and passed in Netscape 7&#46;1"/> '
<img src="http://www&#46;ssi-developer&#46;net/main/images/op_sm&#46;gif" alt="Opera Icon" title="Tested and passed in Opera 7&#46;11"/> '
<img src="http://www&#46;ssi-developer&#46;net/main/images/ie_sm&#46;gif" alt="IE6 Icon" title="Tested and passed in Internet Explorer 6"/><sup>(6)</sup>
</span>
</div>
<div class="cont">
<span class="temp-lh">Description:</span>
<span class="temp-rh">The same as the &quot;Holy Grail&quot; above but with
a header div&#46; Also expands to fit the whole screen&#46;</span>
</div>
<div class="cont">
<span class="temp-lh">Actions:</span>
<span class="temp-rh"><a href="http://www&#46;ssi-developer&#46;net/main/templates/temps/3c-hd-lcrc-static-pp&#46;htm" target="_blank" title="View Template">View</a> | <a href="java script:void(0)" onclick="temp3colstaticpixelperfectwhdr()" title="Opens a pop-up window preview">Image Preview</a> | <a href="http://www&#46;ssi-developer&#46;net/main/templates/temps/zips/3c-hd-lcrc-static-pp&#46;zip" title="Download template">Download</a> <small class="fsize">[   3k]
</small></span></div>
<br/>
<br/>
<br/>
<h2 class="sub-hdr">Three
Column Pixel-Perfect with Header &amp; Footer <img width="5" height="7" alt="Recommended !" src="http://www&#46;ssi-developer&#46;net/main/images/red-arrow&#46;gif"/></h2>
<div class="cont">
<span class="temp-lh">Browsers:</span>
<span class="temp-rh">
<img src="http://www&#46;ssi-developer&#46;net/main/images/moz_sm&#46;gif" alt="Mozilla Icon" title="Tested and passed in Mozilla 1&#46;5 beta"/> '
<img src="http://www&#46;ssi-developer&#46;net/main/images/ff_sm&#46;gif" alt="Firebird Icon" title="Tested and passed in Mozilla Firefox 0&#46;8"/> '
<img src="http://www&#46;ssi-developer&#46;net/main/images/ns_sm&#46;gif" alt="Netscape Icon" title="Tested and passed in Netscape 7&#46;1"/> '
<img src="http://www&#46;ssi-developer&#46;net/main/images/op_sm&#46;gif" alt="Opera Icon" title="Tested and passed in Opera 7&#46;11"/> '
<img src="http://www&#46;ssi-developer&#46;net/main/images/ie_sm&#46;gif" alt="IE6 Icon" title="Tested and passed in Internet Explorer 6"/><sup>(5+)</sup>
</span>
</div>
<div class="cont">
<span class="temp-lh">Description:</span>
<span class="temp-rh">My most complete template&#46; It has three columns, a header and footer
and will resize with the browser window&#46;</span>
</div>
<div class="cont">
<span class="temp-lh">Actions:</span>
<span class="temp-rh"><a href="http://www&#46;ssi-developer&#46;net/main/templates/temps/3c-hd-ft-flex&#46;htm" target="_blank" title="View Template">View</a> | <a href="java script:void(0)" onclick="temp3colpixelperfectwhdrwftr()" title="Opens a pop-up window preview">Image Preview</a> | <a href="http://www&#46;ssi-developer&#46;net/main/templates/temps/zips/3c-hd-ft-flex&#46;zip" title="Download template">Download</a> <small class="fsize">[   6k]
</small></span></div><br/></div>
</div>
页: [1]
查看完整版本: DIV+CSS 布局实例:各种2栏,3栏布局实例下载