![]() |
#1 |
Registered User
Join Date: Jul 2012
Posts: 111
|
Another box model hack alternative
The box model hack is used to fix a rendering problem in pre-IE 6 browsers on PC, where by the border and padding are included in the width of an element, as opposed to added on. A number of CSS-based solutions have been put forward to remedy this, so here's another one which we really like:
padding: 2em; border: 1em solid green; width: 20em; width/**/:/**/ 14em;
__________________
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. |
![]() |
![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Is there any alternative to Google? | pauldrake447 | 4 | 01-30-2012 04:27 AM | |
Is there an alternative to Google? | johnlennon2119 | 1 | 01-18-2012 07:02 AM | |
Who is your role model? | 99TSHIRTS | General Discussion | 4 | 01-04-2012 11:23 PM |
Is Recording Marketing a Unspoilt SEO Model? | rashidsohail | Search Engine Optimization | 0 | 10-29-2011 07:33 AM |
If image is not found on server, show alternative | ncjbhd | Javascript | 1 | 10-10-2011 09:53 PM |