• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

CSS and PHP include weirdness

LanceM

Senior member
I have an external style sheet that holds all of my styles, sitewide. The menu that appears on every page is inserted via php include, and makes heavy use of the style sheet.

When I originally had the menu inside of the HTML doc (before I decided to use the include), I had the expected issues with Firefox and IE measuring widths/padding/etc differently, and had to make use of the "/width" fix.

Now that I am using an external menu, however, I had to drop the "/width" fix. I just found this to be the oddest thing, and was wondering if I should be expecting some major mess as I'm completing the site.

Cliffs:
- Had standard CSS width discrepancies between IE and Firefox.
- Used /width fix
- Calling up the menu via php include removes the need for the fix.
- ???
 
Then remove the fix. I don't see the problem?

I mean, it doesn't make sense to me, but I don't know of this /width fix that you speak of, because my CSS styled website is coded to appear properly in both IE and FF. Perhaps you could elaborate on this "hack" and tell us what exactly it's doing.
 
Back
Top