UK SEO and Internet Marketing Forums
IE6 Bug....

December 02, 2008, 04:13:24 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: We are back and we've changed software
 
   Home   Help Search Login Register  
Del.icio.us Digg FURL FaceBook Stumble Upon Reddit SlashDot

Pages: [1] 2
  Print  
Author Topic: IE6 Bug....  (Read 493 times)
ash
Administrator
General
*****

Karma: +7/-0
Offline Offline

Posts: 4462


View Profile WWW
« on: January 20, 2008, 09:57:20 PM »

Just working on a new site and i've got an annoying IE6 bug.

The CSS code that works fine for IE7 and FF is:

Code:
.PostDate { text-align: center; margin: 0px; position: absolute; top: 0px; left: 10px;  background: url(images/PostHead.gif) repeat-x bottom; padding: 0px 10px 6px 10px;}

The code that works for IE6 (but not IE7 and FF) is:

Code:
.PostDate { text-align: center; margin: 0px; position: absolute; top: 0px; left: -60px; background: url(images/PostHead.gif) repeat-x bottom; padding: 0px 10px 6px 10px;}

Any ideas on how to fix this? Is the final piece of CSS before the template is finalised.
Logged

dazsim
Major
*****

Karma: +0/-0
Offline Offline

Posts: 589



View Profile WWW
« Reply #1 on: January 20, 2008, 10:58:34 PM »

err... you know those 2 blocks of code are identical right?
Logged

Ask can kiss my ass
Lets see how effective TiP is at this Wink
http://stores.ebay.co.uk/Collectable-Cards-for-You
Darren Sim, portfolio, blog, designing web based mmo's

Personal Blog site
www.free-your-equity.co.uk
sell your house and then rent it. quick equity release.
yourweb
Global Moderator
General
*****

Karma: +9/-0
Offline Offline

Posts: 10492



View Profile WWW
« Reply #2 on: January 20, 2008, 11:02:35 PM »

Quote from: "dazsim"
err... you know those 2 blocks of code are identical right?

I was not going to tell him that. Just let him think that he is the problem and not the code.  :lol:
Logged

YourWeb.Info Shopping Mall is the friendliest on the net! - YourWeb Newsletter
BuyingFirstTime Real Estate Agent Directory
Buy And Go UK
ash
Administrator
General
*****

Karma: +7/-0
Offline Offline

Posts: 4462


View Profile WWW
« Reply #3 on: January 21, 2008, 09:03:53 AM »

Ha Ha sorted now!
Logged

yourweb
Global Moderator
General
*****

Karma: +9/-0
Offline Offline

Posts: 10492



View Profile WWW
« Reply #4 on: January 22, 2008, 02:25:43 AM »

dazsim now see what you did. He got it fixed to fast.  :lol:
Logged

YourWeb.Info Shopping Mall is the friendliest on the net! - YourWeb Newsletter
BuyingFirstTime Real Estate Agent Directory
Buy And Go UK
dazsim
Major
*****

Karma: +0/-0
Offline Offline

Posts: 589



View Profile WWW
« Reply #5 on: January 22, 2008, 10:44:25 AM »

aww but i was trying to be helpful.  Shocked

maybe he was using all his brain processing power to solve the problem  :wink:

Darren
Logged

Ask can kiss my ass
Lets see how effective TiP is at this Wink
http://stores.ebay.co.uk/Collectable-Cards-for-You
Darren Sim, portfolio, blog, designing web based mmo's

Personal Blog site
www.free-your-equity.co.uk
sell your house and then rent it. quick equity release.
yourweb
Global Moderator
General
*****

Karma: +9/-0
Offline Offline

Posts: 10492



View Profile WWW
« Reply #6 on: January 22, 2008, 02:31:07 PM »

Quote from: "dazsim"
aww but i was trying to be helpful.  Shocked

maybe he was using all his brain processing power to solve the problem  :wink:

Darren

What are you? Some type of brown noser? Haven't you learned anything by now. He will now have an even bigger head.  :lol:
Logged

YourWeb.Info Shopping Mall is the friendliest on the net! - YourWeb Newsletter
BuyingFirstTime Real Estate Agent Directory
Buy And Go UK
ash
Administrator
General
*****

Karma: +7/-0
Offline Offline

Posts: 4462


View Profile WWW
« Reply #7 on: January 22, 2008, 06:42:13 PM »

Er guys, i meant i'd fixed the error in my post, not the error on my site!
Logged

dazsim
Major
*****

Karma: +0/-0
Offline Offline

Posts: 589



View Profile WWW
« Reply #8 on: January 23, 2008, 01:41:54 AM »

its sticky but have you thought about browser specfic content serving? might be a little over the top for a 3 character difference in the code mind. i.e. detect which browser there using and serve the content accordingly.  There was another thread a few days ago i think i read about doing exactly this.

Darren
Logged

Ask can kiss my ass
Lets see how effective TiP is at this Wink
http://stores.ebay.co.uk/Collectable-Cards-for-You
Darren Sim, portfolio, blog, designing web based mmo's

Personal Blog site
www.free-your-equity.co.uk
sell your house and then rent it. quick equity release.
yourweb
Global Moderator
General
*****

Karma: +9/-0
Offline Offline

Posts: 10492



View Profile WWW
« Reply #9 on: January 23, 2008, 05:14:43 AM »

Darren is right. There is a snippet of code that you can add to your site that will do this.
Logged

YourWeb.Info Shopping Mall is the friendliest on the net! - YourWeb Newsletter
BuyingFirstTime Real Estate Agent Directory
Buy And Go UK
ash
Administrator
General
*****

Karma: +7/-0
Offline Offline

Posts: 4462


View Profile WWW
« Reply #10 on: January 23, 2008, 01:27:23 PM »

Quote from: "dazsim"
its sticky but have you thought about browser specfic content serving? might be a little over the top for a 3 character difference in the code mind. i.e. detect which browser there using and serve the content accordingly.  There was another thread a few days ago i think i read about doing exactly this.

Darren

Yeah i was hoping their was an alternative.

As you say it seems a fair amount of work just to alter a tiny imperfection! He ho must be done though.

Thanks
Logged

MuNKy
Global Moderator
General
*****

Karma: +6/-0
Offline Offline

Posts: 3760



View Profile WWW
« Reply #11 on: January 28, 2008, 11:40:11 AM »

Can you show us the page its on? I reckon the issue will be because of how ie renders px differently, so it will probably be because of the padding. Without seeing it though its hard to see what the problem actually is.
Logged

ash
Administrator
General
*****

Karma: +7/-0
Offline Offline

Posts: 4462


View Profile WWW
« Reply #12 on: January 28, 2008, 12:02:31 PM »

www.firsttimebuyersite.co.uk - Its the Post date stamps with the error...
Logged

pagetta
Sergeant
*****

Karma: +0/-0
Offline Offline

Posts: 84


View Profile WWW
« Reply #13 on: January 28, 2008, 12:10:16 PM »

could it be something to do with the 70px left padding in post head? it says to me that for some reason IE7 & FF don't recognise this padding where IE6 does.

Sorry i can't look into it more, but i think this 70px padding left may be the bit that needs changing or adjusting, not the position on the postdate class.
Logged

ash
Administrator
General
*****

Karma: +7/-0
Offline Offline

Posts: 4462


View Profile WWW
« Reply #14 on: January 28, 2008, 01:31:43 PM »

Thanks, yes this could be an issue.

Now displaying ok in FF but still iffy in IE6 (not sure about IE7)

Will take a look this evening when i have more time mysefl.
Logged

Pages: [1] 2
  Print  
 
Jump to:  

Powered by SMF | SMF © 2006-2008, Simple Machines LLC | Sitemap Valid XHTML 1.0! Valid CSS!


Google visited last this page November 15, 2008, 02:57:32 PM