Forum Moderators: not2easy

Message Too Old, No Replies

DIY Wordpress Theme Different in IE and FF

wp theme leaves that annoying 1 px space

         

rjbearcan

11:52 pm on Nov 25, 2007 (gmt 0)

10+ Year Member



Good evening everyone,
I wasn't satisfied with the various WP themes out there so I decided to make my own which went pretty well until I played around some more and now I get an annoying 1 px space. If I made a couple of changes, it would look fine in FF, but the space would be in IE. If I changed it back, it would be fine in IE but the space would be in FF.

Basically, here is what my theme should look like:
1) the header where my logo is should be 100px high and 750 wide
2) the nav bar where the links for my pages goes is only 30px high
3) then my content with sidebar.

The space appears beside my content loop and is incredibly noticeable with my footer.

Is there a way I can show only one style sheet to IE and another to FF? Or is there something I have overlooked? I have looked at threads to similar problems but haven't found a solution.

Thanks for any help you can give.

alias

6:54 am on Nov 26, 2007 (gmt 0)

10+ Year Member



you could use an IE6 only valid css hack:

* html #footer { margin-top: -1px; }

the main part is the * html - that's the place the others ignore and only IE6 renders.

or you could just show us the basic layout you've got there, we could have a look ;)