Changing image sizes proportionally using CSS

This is a known problem with CSS resizing. Unless all images have the same proportion, you have no way to do this via CSS. The best approach would be to have a container, and resize one of the dimensions (always the same) of the images. In my example I resized the width. If the container … Read more

WebForms UnobtrusiveValidationMode requires a ScriptResourceMapping for ‘jquery’. Please add a ScriptResourceMapping named jquery(case-sensitive)

You need a web.config key to enable the pre 4.5 validation mode. More Info on ValidationSettings:UnobtrusiveValidationMode: Specifies how ASP.NET globally enables the built-in validator controls to use unobtrusive JavaScript for client-side validation logic. Type: UnobtrusiveValidationMode Default value: None Remarks: If this key value is set to “None” [default], the ASP.NET application will use the pre-4.5 behavior (JavaScript inline in the … Read more

What is href=”#” and why is it used?

About hyperlinks: The main use of anchor tags – <a></a> – is as hyperlinks. That basically means that they take you somewhere. Hyperlinks require the href property, because it specifies a location. Hash: A hash – # within a hyperlink specifies an html element id to which the window should be scrolled. href=”#some-id” would scroll to an element on the current page such … Read more