Go Back   Pligg CMS Forum > Pligg Development > Pligg Templates > Template Support > "yget"

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-08-2007, 09:37 PM
Constant Pligger
 
Join Date: Oct 2006
Posts: 227
Thanks: 56
Thanked 22 Times in 18 Posts
yget css: what are the IE fixes for?

Can someone explain what the iehfix and pngfix css below do?

I am working on a heavily modified (beyond recognition) version of yget and think I can remove this but want to make sure.

Code:
<!--[if lte IE 6]>
		<script src="{$my_pligg_base}/js/jspath.php" type="text/javascript"></script>
		<link rel="stylesheet" type="text/css" href="{$my_pligg_base}/templates/{$the_template}/css/ie6.css" media="screen" />
	    <script type="text/javascript">
			if (typeof blankImg == 'undefined') var blankImg = my_pligg_base + '/templates/yget/images/blank.gif';
		</script>
	    <style type="text/css" media="screen">
		    body {literal}{{/literal}behavior:url({$my_pligg_base}/templates/{$the_template}/css/iehfix.htc); {literal}}{/literal}
			img {literal}{{/literal}behavior:url({$my_pligg_base}/templates/{$the_template}/css/iepngfix.htc); {literal}}{/literal}
	    </style>	
    <![endif]-->
Reply With Quote
  #2 (permalink)  
Old 05-08-2007, 10:51 PM
kbeeveer46's Avatar
Pligg Developer/Admin
Pligg Version: 0
Pligg Template: none
 
Join Date: Jun 2006
Location: Muncie, Indiana
Posts: 3,547
Thanks: 254
Thanked 649 Times in 513 Posts
IE 6 doesn't support transparent .png files so that code is so your site doesn't look really bad in IE 6 if you use transparent .png's
__________________
I accept donations for my time helping users like you on the forum and IRC.
Reply With Quote
The Following User Says Thank You to kbeeveer46 For This Useful Post:
  #3 (permalink)  
Old 05-09-2007, 09:42 AM
Constant Pligger
 
Join Date: Oct 2006
Posts: 227
Thanks: 56
Thanked 22 Times in 18 Posts
thanks kb.

Do you also know why the headers need to have position: relative set in the ie.css?

h1, h2, h3, h4, h5, h6 {position:relative;}
Reply With Quote
  #4 (permalink)  
Old 06-05-2007, 09:55 PM
New Pligger
 
Join Date: Jun 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Hoverhacks

Hey, the .htc bit is a :hover hack, IE6 doesn't support :hover on anything but <a> elements with href="" attribute set (more info: www.xs4all.nl/~peterned/csshover.html
)

As for position: relative; hard to say without looking at the page, however {position: relative; } fixes A LOT of IE bugs, so that may be why it is there.

Sincerely, Zoffix Znet
( http://haslayout.net )
Reply With Quote
Reply

Thread Tools
Display Modes
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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Similar Threads
Thread Thread Starter Forum Replies Last Post
Yget won't switch to 'mobile' neoshady Template Support 6 09-29-2008 03:32 AM
After switching templates, yget still shows jlebeau Customization Assistance 5 08-11-2008 11:28 PM
"Top Today" and "Queued News" not showing when I mod yget pierrem "yget" 3 02-23-2007 11:55 AM
Yget For pligg beta 9 [english edition] athle "yget" 3 02-14-2007 08:27 AM


Search Engine Friendly URLs by vBSEO 3.2.0