Featured post

c# - Usage of Server Side Controls in MVC Frame work -

i using asp.net 4.0 , mvc 2.0 web application. project requiremrnt have use server side control in application not possibl in noraml case. ideally want use adrotator control , datalist control. i saw few samples , references in codepleax mvc controllib howwver found less useful. can tell how utilize theese controls in asp.net application along mvc. note: please provide functionalities related adrotator , datalist controls not equivalent functionalities thanks in advace. mvc pages not use normal .net solution makes use of normal .net components impossible. a normal .net page use event driven solution call different methods service side mvc use actions , view completly different way handle things. also, mvc not use viewstate normal .net controlls require. found article discussing mixing of normal .net , mvc.

html - In IE6, and using divs, how to split entire page into two columns, left div with static width and right with elastic width? -


i don't know if asking possible in ie6, here goes: working on page layout , want split body 2 container divs. want give left div fixed width of 200px; while making right div elastic along page's width. right div's left border must touching left div's right border make things clearer made diagram:
alt text

example on jsfiddle: http://jsfiddle.net/damien_at_sf/uhdhu/

html:

<html>     <body>         <div id="col_1">             <p>column 1</p>         </div>         <div id="col_2">             <p>column 2</p>         </div>     </body> </html> 

css:

html, body {      height:100%;      margin:0;      padding:0;      background-color:#000000; } #col_1 {      height:100%;      position:absolute;      top:0px;      left:0px;      width:200px;      padding:10px;      background-color:#dbdbdb; } #col_2 {      height:100%;      margin-top:0px;      margin-right:0px;      margin-left:220px;      padding:10px;      background-color:#ffffff;      overflow:hidden; }  

sourced from: http://css.flepstudio.org/en/css-box-model/1-column-fixed-1-column-fluid.html

hope helps :)


Comments

Popular posts from this blog

c# - Usage of Server Side Controls in MVC Frame work -

cocoa - Nesting arrays into NSDictionary object (Objective-C) -

ios - Very simple iPhone App crashes on UILabel settext -