Home > UI/UX Development (Page 8)

Difference between Block and inline level elements

Nearly all HTML elements are either block or inline elements. The characteristics of block elements include:Always begin on a new lineHeight, line-height and top and bottom margins can be manipulatedWidth defaults to 100% of their containing element, unless a width is specifiedIgnores the vertical-align propertyInline elements on the other hand have the opposite characteristics:Begin on the same lineHeight,

This Article is TAGGED in , , . Read more

Problem with ampersand(“&”) in anchor tags.

There is a common error occurs when including a URL which contains an ampersand ("&"):<!-- This is invalid! --> <a href="foo.cgi?chapter=1&section=2&copy=3&lang=en">...</a>This example generates an error for "unknown entity section" because the "&" is assumed to begin an entity reference. Browsers often recover safely from this kind of error, but real problems do occur in some

This Article is TAGGED in , . Read more

Pre- requisite of testing a newsletter

Pre- requisite of testing a newsletterNow a days newsletters are important part of promotional activities of company. Newsletters are normally used by organizations or owners of a Web site to communicate with their readers who are subscribed to the newsletter. As there are “n” numbers of readers with various types

This Article is TAGGED in , , . Read more

How to add CSS link to master page, page layout and page in Sharepoint publishing sites

How to add CSS link reference to Master Page, Page Layout, Page in a Sharepoint Publishing site?1. Master Page: Add the following code inside <head> tags[crayon-680a904feb117535091327/]2. Page Layout:Add below code after <!--ME:</Publishing:EditModePanel>--> tag in your Page Layout[crayon-680a904feb11e085587568/]3. Pages: Add below code after <!--MS:<asp:ContentPlaceHolder id="PlaceHolderAdditionalPageHead" runat="server">--> tag in Page[crayon-680a904feb120817691545/]  

This Article is TAGGED in , , , , , . Read more

WordPress – Jquery get dynamic urls(admin_url, template_directory)

WordPress provides a series of methods and global variables for getting the current url, template directory, plugin directory, includes directory, admin directory that saves us from using absolute paths. On the other hand JQuery under wordpress does not include such urls so we end up using absolute urls. A workaround for this

This Article is TAGGED in , , , . Read more

set maxlength to all textbox/textarea in application using jquery.

Add a textbox with id and maxlength attributes like [crayon-680a904feb514740461330/] add following code in js file. (this code find all textbox/textarea in application and append div(charleft) to the textbox/textarea.) [crayon-680a904feb518081459981/]   and add following css [crayon-680a904feb51a690124094/] :)  

This Article is TAGGED in , , , , , . Read more