Tag Archives: html

Regular Expression for Removing HTML Tags

Here is a regex (regular expression) solution to remove HTML tags from content that doesn’t effect the content in javaScript or anything else for that matter… “/(<([^>]+)>)/ig” Continue reading

Posted in JavaScript | Tagged , , , , , , , , | 2 Comments

How to Search a JavaScript Object Array

Searching a javaScript object can be a little tricky. While working on a project I found the need to search a dataset and do something useful with the findings. So my team and I came up with this nifty little script to allow an object to be searched by single values, multiple values and even wild cards. It’s fast and extremely easy to use. Continue reading

Posted in JavaScript | Tagged , , , , , , , , | 1 Comment

HTML Ellipsis using CSS

For the longest time clients use to always think having an ellipsis “…” would solve all their problems. There are all kinds of back-end and javaScript solutions. Here is a CSS solutions that are pretty easy to use. Check this code out!

Continue reading

Posted in CSS Methods | Tagged , , , , | 1 Comment

Internet Explorer Hacks for IE6, IE7 and IE8

Internet Explorer has problems! IE6, IE7, IE8 and IE9 render stuff differently and here are some hacks to help you get around all of the crap Microsoft makes us go through. BOOOOO! Continue reading

Posted in CSS Methods | Tagged , , , , , , | Leave a comment

Ordinal numbers in javaScript

I came across a need to display numbers with “ordinals” (1st, 2nd, 3rd, 4th, etc.) in one of our pages at Foxsports.com.

I didn’t see any scripts out there that did the mathematics for this properly, so I created one that works pretty well. Check it out! Continue reading

Posted in JavaScript | Tagged , , , | Leave a comment

Scroll Bars Inside a Div… No Iframe

While working on a project for UPN, they wanted several items to “scroll”. I grew increasingly frustrated with the whole “Iframe” thing because they were cumbersome to create. So, with that being said, I ran this great CSS tag called “overflow”. When used properly, it will create scroll bars when it’s needed. Pretty Cool huh!? Continue reading

Posted in CSS Methods | Tagged , , | Leave a comment

Center an HTML page with CSS

Ok… Here is one of the most frustrating things ever. HOW TO CENTER AN HTML PAGE WITH CSS! I use to do this by wrapping the page inside a div and centering that div. It works and it’s solid but if you want to use a true CSS method, check this out.
Continue reading

Posted in CSS Methods | Tagged , , , , | Leave a comment

Set Minimum Height to HTML element in CSS

So you wanna set a minimum height on a Div tag that works in all browsers ehh? Well no need to worry. Here is the easy way to do it and it works in all browsers. Continue reading

Posted in CSS Methods | Tagged , , , , | Leave a comment