OsakaWebbie
Programmer
I'm having fits trying to find the cause of a difference between different browsers' reaction to my CSS. The site is (if you don't want to look at too much Japanese, try The CSS file is I currently have a silly red border on the div that is showing differently, which is id=header. I also have a silly cyan border on the <ul> which has no height of its own (so the cyan is just a line). I will only leave the borders there for a day or two (or until I solve this, whichever comes first), as the site is in use.
IE, Firefox, and Opera all assign no height to the <ul> even though there are <li> items in it, presumably because the <li>'s are float:left. But although IE and Opera place the bottom of the header div at the bottom of the <li>'s, Firefox puts it at the the bottom of the <ul> itself (ignoring the size of the floating items). I got the basics of the li-becomes-horizontal-menu trick from another web site, so I don't fully understand why it works the way it does, but without float:left they just line up below each other. Any ideas on how I can get the code to be rendered the same by these top browsers, or even just IE and Firefox?
IE, Firefox, and Opera all assign no height to the <ul> even though there are <li> items in it, presumably because the <li>'s are float:left. But although IE and Opera place the bottom of the header div at the bottom of the <li>'s, Firefox puts it at the the bottom of the <ul> itself (ignoring the size of the floating items). I got the basics of the li-becomes-horizontal-menu trick from another web site, so I don't fully understand why it works the way it does, but without float:left they just line up below each other. Any ideas on how I can get the code to be rendered the same by these top browsers, or even just IE and Firefox?