Category: HTML, CSS and JavaScript

Adding vertical scroll bar to a page ! 0

Adding vertical scroll bar to a page !

To add a vertical scroll bar to an aspx page, just add the below styling – Set the style – style=”overflow-y:auto; height:100%;” This can be added to page Body or Div or Panel etc...

IE 11 negative margin bug ! [Alternate Solution] 0

IE 11 negative margin bug ! [Alternate Solution]

I had the below class applied on a div tag which had an image inside it. The image was positioned correctly in all other browsers except IE 11. On searching it came out that IE...

Setting width of MVC HTML helper DropDownList ! [@HTML.DropDownList] 14

Setting width of MVC HTML helper DropDownList ! [@HTML.DropDownList]

HTML helpers- MVC, HTML helpers are similar to the ASP.NET webform controls. HTML helpers are light weight but do not have Events and ViewState unlike ASP.NET controls. Now, coming back to the topic, it is...

Validating an input field with regular expression using JavaScript ! 0

Validating an input field with regular expression using JavaScript !

A regular expression is a special text for describing a string pattern. Regular expressions are commonly used to validate user entered input fields like Email Address, Phone number, Name etc. The regular expression to be used...