Bleeding colors

It is almost two years since I encountered this problem but since I have still not found any good explanations I’ll just make a post about it myself and hope those who could use this info find their way in here.
Problem:
.Net web-applikation using nested html tables which in turn uses stylesheets to set background color, font, font-size and so on. For some unknown reason the background color bleed outward/inward.
Fix:
Set the actual html background color attribute to any color you like in all places where your stylesheet setting includes a background color. This stops the colors from bleeding. The stylesheet background color overrides the html attribute so you’ll get the color you want…
Comment:
This might not sound like the perfect solution, but it works. We stumbled across it by accident after trying everything we could think of and everything related we could find on the internet.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s