Featured Tutorials

photoshop background,brush effects,vector effects,filter effects,photoshop effects,photoshop brushes,vector photoshop,dotted background,dotted vector Snazzy Vector Background Effect in Photoshop

Snazzy Vector Background Effect in Photoshop

This simple but effective tutorial teaches you how to create a cool vector pattern backgro..

New, Year, Screen, Saver, create 3 Ways to Create New Year Screen Saver

3 Ways to Create New Year Screen Saver

3 Ways to create New Year screen saver for your computer. You could add make an animated s..

hardware articles, CD, DVD, cleaning, home remedy,cds with toothpaste,toothpaste,clean with toothpaste,dvds toothpaste,clean dvd,how to clean cds,how to clean dvd,dvd cleaner Clean your CD's/DVD's with toothpaste!

Clean your CD's/DVD's with toothpaste!

The low-cost answer to keeping your CD's/DVD's clean and functional...

realistic,graffiti,photoshop,grafiti,grafitti,,photo,photograph,texture,wall textures,how to graffiti,grafitti in photoshop,photoshop brushes,custom brushes Adding Realistic Graffiti to a Photograph in Photoshop

Adding Realistic Graffiti to a Photograph in Photoshop

This tutorial will show you how to add realistic looking graffiti to a photograph or wall ..

css tutorial,css tutorials,css backgrounds,backgrounds in css,css,backgrounds,background,background image,background shorthand,short hand css,learn css,learn css backgrounds Learn CSS: Background Images

Learn CSS: Background Images

This simple tutorial will teach you about the background property in CSS, there are many w..

Featured Videos

A useful tutorial for creating an Ethernet or Patch Cable for net..

Heres some great inspiration for logo design with examples of mod..

This spoof advert copies the popular Citroen C4 commercials and s..

A great example of how the many Photoshop tools can be used to im..

Particle Illusion is one of those cool particle effect programs t..

Internet Explorer CSS bug fixes

The <!--[if IE]> Tag

Problem: Various sizes, margins and padding attributes can display differently in Internet Explorer, this coded snippet can help you sort out these problems.

Add this code with your required settings underneith your pages <style> or external style link:

<!--[if IE]>
<style>
.item {
margin: 5px;
padding: 10px;
}
</style>
<![EndIf]-->

These setting will now only be loaded when your page is viewed in Internet Explorer. I often use this setting to tweak areas of my layout that do not quite display the same as in other browsers.

 

Margin Auto Centering

Problem: When centering div tags via either the margin-left: auto; or margin-right: auto; settings, this will not work in Internet explorer unless you add the following to your style sheet for the html body:

html, body {
text-align: center;
}

Don't forget to now add this to your paragraphs and headings as the above setting will now cause these to also center.

p {text-align: left;}

 

Minimum height bug

Problem: When trying to create a DIV tag and the height will not go below about 12px

Simply add the following attribute to the DIV tag

{line-height: 0px;}

If this does not work try adding the line-height attribute to a <p> paragraph tag within the <div> tag itself.

Your final code should resemble one of the following:

<div style="line-height: 0px; height: 5px;"></div>

<div style="height: 5px;"><p style="line-height: 0px;"></p></div>

 

Margins appear larger in Internet Explorer

Problem: Setting the margin attribute for any CSS element in Internet Explorer it will often appear either double the size or with added width, which can seriously disrupt detailed layouts.

Simply use the {display: inline;} attribute on the tag containing your margin setting.

Your final code should resemble the following:

<div style="display: inline; margin-left: 5px;"></div>

 

CSS Light box Adobe Flash fix

Problem: The CSS Light box script will not appear on top of a Flash movie, this disrupts the actual function of the script.

Add the following setting(s) to the Flash HTML code:

<param name="wmode" value="transparent"/>

Also add this to the <embed> tag

wmode="transparent"

Be sure to add both of these settings for this to work properly, your final flash code should look similar to this:

<param name="allowScriptAccess" value="sameDomain" /><param name="wmode" value="transparent" /><param name="movie" value=" movie.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#000000" /><embed src=" movie.swf" quality="high" bgcolor="#000000" wmode="transparent" width="232" height="218" name=" movie" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /> </object>

 

More Web Design...

Other Content...

 Subscribe to our feed

Send to a friend