Notice:

Content Cut Off When Printing In Firefox

Posted By: Eric Lin
Category: Design - CSS
Tags: firefox
Posted Date: 2008-12-19 03:16 AM
No of Comments: 0
Clicks: 18
There is a bug in Firefox that prevented it from printing properly for large table and contents. The bug simply stops rendering in the print preview if the table and content on the page is too long after page 1, and all the following pages will be blank. In this aspect, IE works much better than Firefox. To fix the problem, define the following style in you css:

@media print {
* {
overflow: visible !important;
}
}


This will tell Firefox to display all contents when overflow occurs. [ Read More ]

DIV Element Height Problem In IE6

Posted By: Eric Lin
Category: Design - CSS
Tags: css , ie6
Posted Date: 2008-11-07 05:42 AM
No of Comments: 0
Clicks: 101
I have spent nearly a day to fix an IE6 problem which doesn't allow me to give a height of less than 10px to a div element, which contains a small icon background. I did it using: [ Read More ]

Replace Named Anchors With IDs

Posted By: Eric Lin
Category: Design - CSS
Tags: javascript
Posted Date: 2008-07-01 10:47 PM
No of Comments: 0
Clicks: 219
I just found out a simpler way to have named anchors for browser to jump to a particular location on a web page. It is not a new way, but it is a way that some developers might not be aware of. [ Read More ]

CSS 'a' link subclass syntax

Posted By: Eric Lin
Category: Design - CSS
Tags: none
Posted Date: 2006-06-29 07:40 AM
No of Comments: 1
Clicks: 259
I am currently working on a newsletter project in Hitwise. And there is one bug required me to change the newsletter's layout - mainly look and feel. I come across a problem where I need to highlight a text represent the country you are in. I created the following CSS: [ Read More ]

Levels of HTML knowledge

Posted By: Eric Lin
Category: Design - CSS
Tags: none
Posted Date: 2006-06-29 07:20 AM
No of Comments: 1
Clicks: 395
Inspired by Emil Stenstrms [a href='http://friendlybit.com/css/levels-of-css-knowledge/']Levels of CSS knowledge[/a], I started thinking about the extreme difference in HTML knowledge among people working in the web industry. It spans all the way from people who know next to nothing about it to those who know it well enough to write the actual HTML specifications. [ Read More ]