Substituting Line Breaks

Based on this question in WordPress support forums. There is a post that contains one big paragraph using line breaks to separate the lines. See if Javascript can be used to change the line breaks to paragraph end and begin tags. This is paragraph 1.This is paragraph 2.This is paragraph 3.This is paragraph 4.… Read More »

Remove DIV using jQuery Based on CSS Value

This is an exercise to see if a DIV could be removed from a page using jQuery by selecting based on a CSS value. It is based on this WordPress support question. What’s happening to the author’s site is that there are a number of rogue DIVs which have a CSS left property set to… Read More »

Upper and Lower Case List Tags

From this support question, trying to see if defining a list in uppercase is different than one in lowercase, i.e., <UL> versus <ul>. lowercase HTML list: 1 2 3 4 Uppercase HTML list: 1 2 3 4 Does this make the block zoom?… Read More »

Winnipeg

This demo shows how to construct a row of four images that break into two rows of two images each at a certain screen width. Note in the example below, a CSS rule is used to set the width of each of the four images to 25% of the parent element so they all fit… Read More »

Demo post 23

#header h1 a { display: block; width: 300px; height: 80px; }   Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo. Quisque sit… Read More »