472,982 Members | 2,233 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,982 software developers and data experts.

Alternate Box Model Hack

Hi,

While reading up a bit on the famous Box Model Hack, I found this solution
proposed:

selector {
property: standard-value !important;
property /* IE<6 */: ie-box-model-value;
}

It will feed "ie-box-model-value" to IE<6 and "standard-value" to all
others. This seems to me to be the most elegant solution to the box model
problem but I wonder where possible drawbacks might be. One website
mentioned that this code would "break Konqueror on Linux". Does it mean
Konqueror gets the wrong one of the two values or will it crash or
something? Also I have noticed that Opera 7, in its small-screen mode (only
there!), assigns too small widths (when this hack is used on widths), but
I'm not sure if it is really caused by this hack. (It seems to ignore any
widths specified later for this selector, except for width: auto - always
with "!important" of course.)

Any comments?


Jul 21 '05 #1
0 1276

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Chuck Spears | last post by:
Does python have a component model? I'm currently using delphi and C++ builder to build windows apps and I am looking to also support linux. They seem to be waffling on their linux support so I...
2
by: william c | last post by:
Hello there, I'd like to use an unordered list of links as a left-hand menu a la the fairly recent article on a list apart. (see http://www.alistapart.com/stories/taminglists/) So I cut and...
6
by: B McDonald | last post by:
Hi. I am trying to straighten out some DIV issues in the rendering of my no-tables CSS website. Right now the biggest issue is trying to render 2 columns several DIVs deep in the box model for my...
4
by: Vigil | last post by:
If only it worked :-( http://www.projectseven.com/csslab/boxmodel/ -- ..
2
by: CMAR | last post by:
I am redesigning my pages and using this rule: body{ padding: 0; width: 88%; margin:0% 6%;border:0;} It looks fine in IE6. But 10% of my site's viewers use IE 5-5.5 Do I have to rewrite that...
11
by: skeeterbug | last post by:
not sure what i'm doing developing on xmas... but i guess we all have our own demons! -lol- i'm using the following css to style my horizontal menu... /* STYLE HORIZONTAL MENU */ #hmenu...
5
by: dpomt | last post by:
When the ASP.NET menu is rendered on downlevel browers, the text "^ up one level" is displayed. Any ideas how I can change that text? I did not find a property for the menu control where I can...
4
by: rfox | last post by:
More IE madness. I have another simple two-column layout -- main content area and a side bar on the right. (See http://www4.scoe.net/rfox/nest/about.html ) I float the side bar to the right....
1
by: delwar66 | last post by:
Hi Is anyone here who can help me to get this scripts running under alternate credentials................. ''''''''''''''''''''''''''' ''''''''''''''''''''''''''' ' Monitor EDID...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
0
tracyyun
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
4
NeoPa
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.