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.

css - Header DIV Layer Position Error in IE -


i'm having problems ie compatibility website. have parked @ http://www.verdasconews.com/tiago while test everything. make sure have compatibility major browsers. looks fine in firefox, chrome, opera & safari, in ie, i'm having problems header/content div layers.

here's screenshot of looks in ie http://i.stack.imgur.com/goasx.png

the post , sidebar content overlapping header when should tucked underneath, way appears in other browsers.

this css positioning:

/*  ------ layout ------------------------ */   wrapper {  background:url(img/back2.png) no-repeat center top;  }   contents {  width:959px;  margin:0 auto;  text-align:left;  }   header {  background:url(img/top.png) no-repeat bottom;  height:160px;  }   middle-contents {  background:url(img/side.png) repeat-y;  padding-bottom:50px;  }   left-col {  float:left;  display:inline;  width:584px;  margin:0 0 0 5px;  }   right-col {  float:right;  display:inline;  width:330px; margin:15px 5px 0 0;  }   footer {  background:url(img/bottom.png) no-repeat top;  height:114px;  margin-bottom:50px;  }   

and header positioning is

/*  ------ header ---------------------- */   logo_image {  margin:6px 0 0 4px;  float:left;  display:inline;  }   logo_image h1 {  margin:0;  padding:0;  } 

not sure if title right, asked friend thought might've been problem , google search led me here. i'm not pro programming, i'm hoping can sort out might wrong here. can provide full css if necessary. thank in advance

you can fix removing height:160 #header, , remove float:left , display:inline #logo_image


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 -