Today's Posts Follow Us On Twitter! TFL Members on Twitter  
Forum search: Advanced Search  
Navigation
Marketplace
  Members Login:
Lost password?
  Forum Statistics:
Forum Members: 24,254
Total Threads: 80,792
Total Posts: 566,472
There are 1831 users currently browsing (tf).
 
  Our Partners:
 
  TalkFreelance     Marketplace     Services Offered / Looking to Hire     Programming or Coding :

CSS (IE) fix

Thread title: CSS (IE) fix
Closed Thread    
    Thread tools Search this thread Display Modes  
12-03-2006, 03:25 PM
#1
am9905d is offline am9905d
Status: Junior Member
Join date: Oct 2005
Location:
Expertise:
Software:
 
Posts: 61
iTrader: 1 / 100%
 

am9905d is on a distinguished road

  Old  CSS (IE) fix

Hi guys, I need a CSS fix for a wordpress theme. You can see the theme here. The problem is with IE6 where the header, sidebar and content are about 1 pixel off. If you can fix it pm me or post here.

12-03-2006, 03:46 PM
#2
allaire is offline allaire
allaire's Avatar
Status: Member
Join date: Nov 2006
Location: Quebec, Canada
Expertise:
Software:
 
Posts: 239
iTrader: 1 / 100%
 

allaire is on a distinguished road

Send a message via AIM to allaire Send a message via MSN to allaire

  Old  ie hack

You might be able to correct that with a simple IE 6 hack

* html #yourheaderid{
margin-left: 1px;
}

12-03-2006, 04:33 PM
#3
am9905d is offline am9905d
Status: Junior Member
Join date: Oct 2005
Location:
Expertise:
Software:
 
Posts: 61
iTrader: 1 / 100%
 

am9905d is on a distinguished road

  Old

Thank you, I added

* html #container{
padding-left: 1px;
}

and it seems to work now, however I would have never thought of that without your suggestion. I can't code anything, just modifying

12-03-2006, 06:36 PM
#4
Wildhoney is offline Wildhoney
Wildhoney's Avatar
Status: Request a custom title
Join date: Feb 2006
Location: Nottingham
Expertise:
Software:
 
Posts: 1,648
iTrader: 18 / 95%
 

Wildhoney is on a distinguished road

Send a message via AIM to Wildhoney Send a message via MSN to Wildhoney Send a message via Yahoo to Wildhoney

  Old

Trouble is, although I tend to use that asterix hack myself, admittedly, it still is a parsing hack, rather than a true alternative to communicate only with IE. Try the following if you're somewhat of a pedantic when it comes to coding:

<!--[if IE 6]>
padding-left: 1px;
<![endif]-->

Or you can target versions, which you won't need to, like so:

<!--[if IE 6]>

Closed Thread    


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

  Posting Rules  
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump:
 
  Contains New Posts Forum Contains New Posts   Contains No New Posts Forum Contains No New Posts   A Closed Forum Forum is Closed