Author Topic: My custom SSI page doesn't look right?  (Read 3311 times)

Offline Radianation

  • Charter Member
  • Sophist Member
  • *
  • Posts: 1,287
  • Gender: Male
  • Karmony
    • Louipimps Inc
My custom SSI page doesn't look right?
« on: December 20, 2004, 09:26:49 PM »
http://www.louipimps.com

It looks fine for me in firefox, but it looks really screwy in IE. Any ideas on why this doesn't look right? It should be using the same CSS as the SMF forum itself (which looks ok).

Offline Jerry

  • Customizer
  • Simple Machines Hero
  • *
  • Posts: 2,977
  • Gender: Male
  • What? I can't hear you over my awesomeness!!
    • PlanetSMF
Re: My custom SSI page doesn't look right?
« Reply #1 on: December 20, 2004, 09:55:49 PM »
font is too big in IE is all I can tell, would probably be better to use actual pixels in the stylesheet instead of x-small,small, etc.
- Jerry
Find me on:
Facebook
Twitter
PlanetSMF

"If all you look for is the negative in things, you will never see the positive."

Offline Radianation

  • Charter Member
  • Sophist Member
  • *
  • Posts: 1,287
  • Gender: Male
  • Karmony
    • Louipimps Inc
Re: My custom SSI page doesn't look right?
« Reply #2 on: December 21, 2004, 12:16:21 AM »
I'll try that, but why would it work for the rest of the forum and not in the initial page? Hmm I wonder if I just inserted the style references incorrectly. <checking>

Offline Jerry

  • Customizer
  • Simple Machines Hero
  • *
  • Posts: 2,977
  • Gender: Male
  • What? I can't hear you over my awesomeness!!
    • PlanetSMF
Re: My custom SSI page doesn't look right?
« Reply #3 on: December 21, 2004, 01:00:23 AM »
I don't know why it would make a difference truthfully. .. but I had the problem with my forums, the font looked fine in Firefox, but was huge in IE. Thats how I fixed it for me though, I assume its a similar problem. .
- Jerry
Find me on:
Facebook
Twitter
PlanetSMF

"If all you look for is the negative in things, you will never see the positive."

Offline [Unknown]

  • SMF Friend
  • Simple Machines Super Hero
  • *
  • Posts: 36,361
  • Gender: Male
Re: My custom SSI page doesn't look right?
« Reply #4 on: December 21, 2004, 05:10:57 AM »
Don't do that, the proper sizes make it accessable to more users.  You'd be surprised.

Anyway, all you have to do is add a proper doctype to the page.  View the forum's source to see it, it should be line #1.

As for your forum, you've got blank lines at the end of most of your template files.... hmm, that gives me an idea ;).

-[Unknown]

Offline Radianation

  • Charter Member
  • Sophist Member
  • *
  • Posts: 1,287
  • Gender: Male
  • Karmony
    • Louipimps Inc
Re: My custom SSI page doesn't look right?
« Reply #5 on: December 21, 2004, 10:33:04 AM »
Thanks man. What idea does it give you? =)

Offline Peter Duggan

  • SMF Friend
  • Simple Machines Hero
  • *
  • Posts: 4,707
  • Gender: Male
    • Peat Stack or Pete's Tack?
Re: My custom SSI page doesn't look right?
« Reply #6 on: December 21, 2004, 01:02:59 PM »
I don't know why it would make a difference truthfully. .. but I had the problem with my forums, the font looked fine in Firefox, but was huge in IE. Thats how I fixed it for me though, I assume its a similar problem. .

While I don't doubt that [Unknown]'s DOCTYPE solution will satisfy most users, I'd also suggest a look at Todd Fahrner's words of wisdom for the benefit of anyone who's still saddled with/concerned about older versions of IE:

http://www.alistapart.com/articles/sizematters/

Quote
The next big obstacle is reconciling WinIE4/5’s incorrect implementation of the keywords with the correct implementations of Netscape6+/Mozilla, Opera, and MacIE5/WinIE6 in “standards” mode. (Use complete, correct DOCTYPEs to switch these browsers to standards mode.)

Which might also remind someone who's likely to read this that I'm still hoping for an answer to a related question! ;)

Offline Radianation

  • Charter Member
  • Sophist Member
  • *
  • Posts: 1,287
  • Gender: Male
  • Karmony
    • Louipimps Inc
Re: My custom SSI page doesn't look right?
« Reply #7 on: December 21, 2004, 01:43:04 PM »
Excellent link. Thank you very much

Offline [Unknown]

  • SMF Friend
  • Simple Machines Super Hero
  • *
  • Posts: 36,361
  • Gender: Male
Re: My custom SSI page doesn't look right?
« Reply #8 on: December 21, 2004, 11:59:30 PM »
The "doctype solution" I refer to only affects Internet Explorer 6.0.  Older browsers will not see large fonts; only 6.0.  If the doctype is corrected, the size of the fonts will be fine throughout.

In other words, the doctype not being the very first line, without proceeding whitespace, causes quirks mode.  My "solution" does not in any way contradict what was said in the link you posted.  What you're missing is that Internet Explorer 5 sees something different than Internet Explorer 6.  The article you linked to deals only with the case that you cannot cause the two browsers to see differing content.

SMF, you'll remember, generates all its output.  Even Internet Explorer 5 viewed output.  Also note that my "solution" only affects SMF - it would not fix things if you were using vanilla HTML viewed the same with both versions of IE.

My way uses no CSS hacks, which are arguably disgusting use of bugs in various implementations.  The way you refer to does.  They are not comparable, but that have the same end result.  My "solution" is only possible with very specific methodologies, meaning it's a lot more complicated, but it's all done for you by SMF.

As for your question, I don't remember one.  You simply said that a few things on this site changed size, which I know about but am not terribly worried about, because my main concern is the distribution, not wacko forum admins surfing with IE 4 (which are significantly less likely than wacko forum posters doing the same.)

-[Unknown]
« Last Edit: December 22, 2004, 12:03:39 AM by [Unknown] »

Offline Peter Duggan

  • SMF Friend
  • Simple Machines Hero
  • *
  • Posts: 4,707
  • Gender: Male
    • Peat Stack or Pete's Tack?
Re: My custom SSI page doesn't look right?
« Reply #9 on: December 22, 2004, 03:32:25 AM »
Some misunderstanding here?

The "doctype solution" I refer to only affects Internet Explorer 6.0.  Older browsers will not see large fonts; only 6.0.  If the doctype is corrected, the size of the fonts will be fine throughout.

In other words, the doctype not being the very first line, without proceeding whitespace, causes quirks mode.  My "solution" does not in any way contradict what was said in the link you posted.  What you're missing is that Internet Explorer 5 sees something different than Internet Explorer 6.  The article you linked to deals only with the case that you cannot cause the two browsers to see differing content.

My post was intended to supplement yours 'for the benefit of anyone who's still saddled with/concerned about older versions of IE', not replace it.

Quote
SMF, you'll remember, generates all its output.  Even Internet Explorer 5 viewed output.  Also note that my "solution" only affects SMF - it would not fix things if you were using vanilla HTML viewed the same with both versions of IE.

Another reason why I posted that link (folk may be interested in SMF-independent solutions for older browsers).

Quote
My way uses no CSS hacks, which are arguably disgusting use of bugs in various implementations.  The way you refer to does.  They are not comparable, but that have the same end result.  My "solution" is only possible with very specific methodologies, meaning it's a lot more complicated, but it's all done for you by SMF.

Considering Todd Fahrner's roles on the W3C CSS Working Group and Web Standards Project's Steering Committee along with Zeldman's endorsement of the method (when he's also known for his commitment to standards), I find 'disgusting' an odd choice of word when 'pragmatic' seems both closer to the mark and fairer.

Quote
As for your question, I don't remember one.  You simply said that a few things on this site changed size, which I know about but am not terribly worried about, because my main concern is the distribution, not wacko forum admins surfing with IE 4 (which are significantly less likely than wacko forum posters doing the same.)

My question referred to pixel font sizes in the help files, why I used them and the possibility of trying Fahrner's method there because they're unaffected by fonts-compat.css.