Category: HTML

HTML5 – Add Elements to DOM to Style with CSS – Target IE8

If you’ve started creating your markup with HTML5, using elements such as nav, header, and others, IE8 will need a jump-start to recognize these, and apply your CSS specific rules to them. Read past the break to see some examples

Posted in CSS, HTML, HTML5, Javascript

Magento jQuery Tabs not working/error in IE8

I ran across an incredibly odd error today. Using jQuery UI and the Tabs references, we noticed that the tabs were working in every browser *except* IE8. After many, many hours of digging and redoing the tabs, adding noconflict(), everything…I

Posted in HTML, Javascript, jQuery, Magento, Magento Enterprise, Magento Professional

CSS Center Unordered Lists UL/OL/LI Menus and Navigation

If you’ve ever wanted to center the list-items in an unordered or ordered list, you may be running in to some trouble trying to figure out the right combinations of margin:0 auto’s and center text aligns. The solution is simpler

Posted in CSS, HTML

Fix Cufon Flickering Render

If you’re using the Cufon font-replacement library, you may have noticed that with your text being replaced, you notice a flicker before Cufon takes over and renders your custom font. In IE (especially IE7 with Cufon), adding one more line

Posted in HTML, Javascript

jQuery – Remove Default Value on Textboxes and Textareas on Focus

Using jQuery, you can easily check for mouse clicks on your input textboxes and textareas (in this example), and remove the text that you have specified as defaults. By doing this, you can inform users what each field is, without

Posted in HTML, jQuery

Custom Navigation Menu Widget in Sitefinity 4

Using the default widget for a Sitefinity menu is great – when you don’t mind looking at all kinds of extra code elements thrown in. Keeping a menu simple is a great thing, helps with rendering, and decreases the amount

Posted in, C-Sharp, C#, HTML, Sitefinity 4

Adding Custom Controls (Widgets) to Sitefinity 4 Toolbox

If you have used Sitefinity 3.7 in the past, you’re probably used to adding user or web controls to the Sitefinity Toolbox panel by either uploading them directly in Page Edit mode, or adding them to your toolboxcontrols section of

Posted in, C-Sharp, C#, HTML, Sitefinity 4

Modify DateField Format Settings within Sitefinity 4 Widget Templates

Sitefinity 4 enables users to modify the templates for many of the widgets that they supply within the default ToolBoxControls, much like the way that Sitefinity 3.7 allowed users to extend the templates by mapping ExternalTemplatePath’s. One of the many

Posted in, C-Sharp, C#, HTML, Sitefinity 4

Hide E-mail Links from Harvesters/Bots using jQuery

When developing a website, having quick links to e-mail certain members of the site can be a wonderful and useful thing. Without making users fill out a contact form, why not let them e-mail directly from a link, assuming they

Posted in HTML, jQuery