Menu

#87 Odd CSS entry?

Rendering
closed
nobody
5
2012-10-11
2002-01-08
No

phpwiki.css - lines 234-237:

div.wiki-edithelp {
background: #fff8dc; / darker ivory /
font-size: smaller;
padding: 0.05ex; 1%;
}

Is that 1% correct? It causes problems on my setup
(IE6 on Windows 98). The help bar extends way beyond
the edges of the screen, so that I have to scroll to
see all the text. If I comment out the 1%, everything
is fine

Lawrence Akka

Discussion

  • Carsten Klapp

    Carsten Klapp - 2002-01-09

    Logged In: YES
    user_id=369655

    The % was intentional, I'm pretty sure it's valid css. But if it's causing problems for a browser i'll just change it to something else like 2pt.

     
  • Geoffrey T. Dairiki

    Logged In: YES
    user_id=45814

    That's a problem with CSS. That the CSS is valid doesn't
    mean it doesn't completely hose the display in some browser.
    :-/

    If you change it to

    padding: 0.05ex 1em;

    does it work okay?

    FWIW: I've been specifying vertical spacing in units of
    'ex's and horizontal spacing in 'em's and have not had too
    many portability problems.

     
  • Lawrence Akka

    Lawrence Akka - 2002-01-18

    Logged In: YES
    user_id=346996

    Everything seems Ok now - thanks

    Lawrence

     

Log in to post a comment.