Go Back   Site Owners Forums - Webmaster Forums > Web Programming > Programming General > HTML / DHTML

Notices


Reply
 
Thread Tools Rate Thread Display Modes
Old 09-06-2012, 04:19 AM   #1
davikerkrish
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.
davikerkrish is offline   Reply With Quote

Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Is there any alternative to Google? pauldrake447 Google 4 01-30-2012 04:27 AM
Is there an alternative to Google? johnlennon2119 Google 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


All times are GMT -7. The time now is 09:13 AM.


Powered by vBulletin Copyright © 2020 vBulletin Solutions, Inc.