December 18, 200718 yr Hey, First of all - it is good to be back; tales of my demises where highly exaggerated! Unfortunately, I am as bemused as always. I am currently in process (for last 24 hours) of making a wordpress blog design from this GPL template http://www.nyssajbrown.net/downloads/open-...igns/simplebgw/ and my modifications have been going slowly, but fairly well. Or so I thought. It seems my site does not render in IE! It renders fine in Firefox and Opera and the css and html are both valid. Any idea how to fix the problem (or write a virus to delete IE from every computer in the world)? I realise I am prob commiting some terrible sin that is causing the code to break, but don't have a clue what it is! My site can be viewed at http://www.poetofzwan.com and I have uploadced HTML/CSS to the forum too. Futhermore: I am going to turn my design into a wordpress theme at themepress.com (tried a demo already and seemed to work well). Is this a good idea? or is it easy to turn html/css into a wordpress theme by hand? style.css index.html
December 18, 200718 yr It looks like your positioned elements are causing the IE problem. Try using floats instead!
December 18, 200718 yr Author It looks like your positioned elements are causing the IE problem. Try using floats instead! Hey. I tried changing position attributes to float and it did not seem help. I played around with the code some more and below seems to be the attribute that is causing rollover to mess up. #menu ul li a { background-color: transparent; background-repeat: repeat-x; padding: 132px 5px 160px 5px; font-size: 1em; font-family: 'Trebuchet MS', Verdana, sans-serif; color: #FFF; font-weight: bold; text-decoration: none; } The problem is, when I change top padding to get it to look correct in IE, it messes up in Firefox. Why doesnt 132px in IE look same as in Firefox? As I say, im a beginner at web dev so this is all I can come up with. More help would be much appreciated! EDIT: just seen the difference between IE and Firefox. In IE, Without any padding rollover covers menu images (home, code etc) in firefox they do not. How do I make them both do the same, so that padding will look the same. I have uploaded a new version to poetofzwan.com which will show you difference in rollover between IE and FF with padding off.
December 19, 200718 yr Author I fixed it everyone! (go to poetofzwan.com to see). I took the easy way out and simply put in a IF IE. I didn't know you could do that (saw it on another thread!) and it works like a charm! The design is not finished yet, going to do loads more when I get time. Also, it will be GPL obviously, so maybe someone will find a use for it too!
December 19, 200718 yr This article on hasLayout http://www.satzansatz.de/cssd/onhavinglayout.html explains the most causes of IE weirdness.
Create an account or sign in to comment