Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / HTML, CSS, Scripts / CSS / January 2007



Tip: Looking for answers? Try searching our database.

CSS with IE 7

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
BmB - 29 Jan 2007 15:30 GMT
My CSS hack displays well in all browser but IE 7. What is different in IE 7
that it displays boxes in overflow? Here is the CSS script:
@media all

{

.clearfix { display: inline-block; }

* html .clearfix { height: 1%; }

.clearfix { display: block; }

* html .floatbox { width:100%; }

* html #col1 { position:relative; }

* html #col2 { position:relative; }

#col3 { position:relative; }

* html .hold_floats { height: 1%; }

* html ul { position: relative }

* html ol { position: relative }

* html dl { position: relative }

* html blockquote { zoom:1 }

#page_margins, #page, #header, #nav, #main, #footer { zoom: 1; }

* html #col1 { display: inline; }

* html #col2 { display: inline; }

* html #col1_content { overflow: visible; }

* html #col2_content { overflow: visible; }

* html #col3_content { overflow: visible; }

#ie_clearing {

display:block;

\clear:both;

margin-bottom:-1em;

width: 102%;

font-size:0;

}

* html #ie_clearing { width: 100%; }

#col3_content {margin-bottom:-2px; }

.c50l { display:inline; }

.c50r { display:inline; }

.subc, .subcl, .subcr { width:auto; zoom: 1; }

.subc, .subcl, .subcr { \width:100%; w\idth: auto; }

#head1 {

margin-left:98px;

}

#head2 {

margin-left:112px;

}

#head3 {

margin-left:140px;

}

#col1_content ul li {

padding:0;

margin:0;

}

#col1_content ul a {

line-height:1em;

padding:0 0 0 10px;

margin:0;

}

#searchform h4, #undermenu h4, #quickcontact h4 {

height:30px;

}

}

@media screen

{

* html #col1_content { word-wrap: break-word; }

* html #col2_content { word-wrap: break-word; }

* html #col3_content { word-wrap: break-word; }

a, a:hover { background-color: transparent; }

#footer a, #footer a:hover { background-color: transparent; }

}
Jukka K. Korpela - 29 Jan 2007 15:41 GMT
Scripsit BmB:

> My CSS hack displays well in all browser but IE 7.

Luckily IE 7 breaks many hacks. For example, hacks that rely on malformed
CSS to be processed in a certain way by old versions of IE may well find
them getting processed differently by IE 7.

If you would care to explain what your hack is supposed to help, what it is,
how it is supposed to do what you want, and illustrate this with a URL,
explaining how your hack works on IE 7, maybe - just maybe - somewhat wants
to comment on your hacking and perhaps even explain what's wrong with it.

Signature

Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/

Jim Moe - 29 Jan 2007 21:04 GMT
> My CSS hack displays well in all browser but IE 7. What is different in IE 7
> that it displays boxes in overflow? Here is the CSS script:
> @media all
> {
> .clearfix { display: inline-block; }
> * html .clearfix { height: 1%; }

 See <http://www.positioniseverything.net/>

Signature

jmm (hyphen) list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)

John Hosking - 30 Jan 2007 10:34 GMT
> My CSS hack displays well in all browser but IE 7.

> .clearfix { display: inline-block; }
> * html .clearfix { height: 1%; }

What Jukka and Jim said. Also, see
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/IETechCol/cols/
dnexpie/ie7_css_compat.asp


or as a non-wrapped url: http://tinyurl.com/b245h

Look in that page for the section headed "* HTML Filter". While you're
there, read the rest of the page for other hacks which you might be
trying to use which will no longer do what you expect.

Signature

John

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.