Menu

#7 CSS layout doesn't work in PHP 5

open-fixed
CSS (1)
5
2006-01-20
2006-01-20
John Pulles
No

The layout of an existing page is not correct when
using PHP 5: all buttons are below each other, and the
map may appear in the left top corner.

Discussion

  • John Pulles

    John Pulles - 2006-01-20

    Logged In: YES
    user_id=731699

    In PHP 5 the __CLASS__ constant equals the class name, while
    in PHP 4 it is lowercase only! The solution is to use
    'strtolower(__CLASS__)' in the getCSSClasses() functions.
    Note that the class names in the mappingwidgets.css file are
    lowercase also.

     
  • John Pulles

    John Pulles - 2006-01-20
    • status: open --> open-fixed
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.