Posts Tagged ‘CSS’

CSS Naked Day

Thursday, April 10th, 2008

Yesterday if you happened to visit this site you would have noticed all the styles were turned off. This was done to celebrate the third annual CSS Naked Day.

The idea behind this event is to promote Web Standards. Plain and simple. This includes proper use of (x)html, semantic markup, a good hierarchy structure, and of course, a good ‘ol play on words…

It only happens once a year in April, so if you didn’t participate this year, mark your calendars for next year and show your support for web standards.

Posted in General. ⋅ Tags: CSS, web standards

Gaps Under Images in IE6

Sunday, June 24th, 2007

In IE6 and below, images within a div will have a gap or space below them. This is caused by the fact that images are not block elements; they’re inline. The pixels at the bottom are the space below the baseline where text descenders would go (tails on letters like g, j, p, q and y).

The Fix:
Using CSS, set display:block; on the img.

This is not a problem in IE7.

Posted in CSS. ⋅ Tags: bugs, CSS, IE, Internet-Explorer

Suckerfish Dropdown Menu “Sticks” in IE7

Saturday, May 19th, 2007

The Problem:
When using the Suckerfish Dropdown Menu in IE7 the dropdown menu often “sticks” and will not go up when you mouse off the menu.

The Fix:
Just add the following code to your CSS:

#menu li:hover, #menu li.hover { position: static; }

Thanks to Built From Source for the fix.

Posted in CSS, Website Design. ⋅ Tags: bugs, CSS, IE, Internet-Explorer, menu

CSS IE Double Margin Bug (IE6-)

Saturday, May 12th, 2007

The Bug:
Internet Explorer (IE 6) doubles the margin added to a floated div that is placed inside a container div.

The Fix:
Add display: inline; to the floated element.

Posted in CSS. ⋅ Tags: bugs, CSS, IE, Internet-Explorer

Older Posts »

About this Blog…

Hello, welcome to the “company” blog. Owned and operated by Matthew Ginop, MCGWD is a small website design company located in northern lower Michigan. I provide affordable sites using web standards and semantic markup.

Blog Post Categories