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.

html5 - Box with multiple borders -


i trying code , style box contain post. problem multiple borders (i guess), trying find best way code this, prefer semantic html5 , css3, if there no other way, can "old style" 3 divs (top, center, bottom) css background: url..., can give me lights please?

if please check following url, can check need accomplish.

http://dl.dropbox.com/u/3696224/postbox.jpg

if notice has:

  • one border around box dark gray (#cccccc); (border)
  • a small space between border , other light gray (#f7f7f7), white;
  • and content white background;

any suggestions? sorry english grammar, in advance.

regards

ps - forgot, don't know if needed or not, around box have box-shadow (i know how part)

you need 2 different <div> elements; 1 each border want.

html

<div class="outer">     <div class="inner">         content     </div> </div> 

css

/* colors sampled image linked in op */  .outer {     border: 1px solid #c8c8c8;     box-shadow: 3px 3px 4px #000; }  .inner {     background-color: #fff;     border: 5px solid #f8f8f8;     color: #595959;     padding: 50px;     text-align: center; } 

z0mg demo →


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 -