“rem” units in css

Well, if you‚Äôre a designer, web developer, you must be aware of¬†rem¬†units. In this post we will go through the basics and learn how to use it. First,¬†lets¬†go through the little basics for those who are not aware of the ‚Äúrem‚ÄĚ unit. As per the specs, we have two¬†kind¬†of Distance Units or the Length type: … Read more

Where to place the email settings in web.config in ASP.NET MVC?

¬† <!– Add the email settings to the element –>¬† <system.net>¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† <network¬†¬† ¬† ¬† ¬† ¬† ¬† ¬†host=”relayServerHostname”¬†¬† ¬† ¬† ¬† ¬† ¬† ¬†port=”portNumber”¬† ¬† ¬† ¬† ¬† ¬† ¬†userName=”username”¬† ¬† ¬† ¬† ¬† ¬† ¬†password=”password” />¬† ¬† ¬† ¬† ¬† ¬† </system.net>¬† ¬† ¬† …¬†¬†

New Inheritance Features in CSS

let‚Äôs explore the new inheritance features that you may not be aware of and see where these features fit-in well to use and how to use them effectively.Inheritance in CSS is actually very straightforward. Imagine you had to specify the font-size or font-family of every element, instead of simply adding it to the body element? … Read more

“object does not contain a definition for get_Range” in Excel C#

Error: ‘object’ does not contain a definition for ‘get_Range’ Line of Code: Excel.Range¬†header¬†=¬†wks.get_Range(wks.Cells[1,¬†1],¬†wks.Cells[1,¬†10]); Solution: Cast the cells as “object” in get_Range() Excel.Range¬†header¬†=¬†wks.get_Range((object)wks.Cells[1,¬†1],(object)¬†wks.Cells[1,¬†10]); Thanks!

How to convert Visual FoxPro DBF file to Excel in C#

The very first thing as you go start doing this stuff, make sure you’ve downloaded and installed Visual FoxPro Driver on your host machine. Here the link for download: http://www.microsoft.com/en-us/download/confirmation.aspx?id=14839 Use OleDbConnection to get the records into DataTable and later export/write the DataTable to Excel. Here are the complete codes: using¬†System; using¬†System.Data; using¬†System.Data.OleDb; using¬†System.IO; using¬†Excel¬†=¬†Microsoft.Office.Interop.Excel; … Read more

Platforms of Java Programming Language

There are four platforms of Java Programming Language: 1. Java Platform, Standard Edition (Java SE) :¬†Java Platform, Standard Edition or Java SE is a widely used platform for development and deployment of portable applications for desktop and server environments. Java SE uses the object-oriented Java programming language. Strictly speaking, Java SE is a platform specification. … Read more

Positioning in CSS

If you don’t specify an element’s positioning type, it defaults to¬†static. This just means “where the element would normally go.” If you don’t tell an element how to position itself, it just plunks itself down in the document.Absolute positioningThe first type of positioning is¬†absolute¬†positioning. When an element is set to¬†position: absolute, it’s then positioned in … Read more

“display” property in CSS

In this post we will learn four possible values of “display” property in CSS.1. block: This makes the element a block box. It won’t let anything sit next to it on the page! It takes up the full width.2. inline-block: This makes the element a block box, but will allow other elements to sit next … Read more