This article shows how a 1px div height on EI6 can be achieved.
Tech-Today

This article shows how a 1px div height on EI6 can be achieved.


I just want a div which has a height of 1 pixel, with background color that will act as a separator. But IE6 seems not to understand this simple tag:

.className { height: 1px; padding; border-bottom: 1px solid #e8e8e8; }

I tried several other tags like: line-height: 1px, overflow: none... But none work :-).

Luckily, I discover that putting an empty comment inside the div tag will do the trick. Which is:


<div><!-- --></div>


IE6 is such a pain :-). I keep on wondering why too many users still use this browser.




- Web Development
WordpressConfigure Custom Wordpress PermalinkZencartHow to add a customize product admin fields in zencart by editing/adding extra codesJoomlaHow to install/setup/configure joomla to run in a xampp setup. This avoids the technical detail of manually installing...

- Adding Loading Screen To C# Mvc Ajax Dialog Form Using Jquery
With my experience from telerik, I want my entity's add and edit form to be a popup so I don't have to change screen. I'm using C# MVC3, so I tried to look for jquery add on that would do the job. Fortunately I've come up with this article:...

- How To Move The An Eclipse-rcp Window In The Center Of A Desktop Screen
Using eclipse-rcp HelloWorld Example To be able to do this we need to override the WorkbenchWindowAdvisor's postWindowCreate method in the ApplicationWorkbenchWindowAdvisor class. @Override /** * ostWindowCreate - called after the window has...

- How To Remove The Extra Space Added By Ie Browser On Div Tags
I just want to put an image inside a div like this: <div> <div> <img src="image.jpg" alt="Image" /> </div> </div> Seems easy right? Unfortunately, it took me 15 minutes to figure out that the IE browsers are inserting an...

- This Article Explains Some Of The Browser Specific Stylesheet Hacks (like Ie Only, Firefox, Etc) That Can Be Used In Developing A Web Application On Different Browsers
Web UI design for beginners may be complicated than it seems specially if your developing cross browser application. For example building a web app compatible with firefox, ie6 and ie7. One ways is to simply load the appropriate css file using: <!--[if...



Tech-Today








.