News:

Want to get involved in developing SMF? Why not lend a hand on our GitHub!

Main Menu

[3409][2.0 RC1][FF] Long Codes Widens Page

Started by onepiece, April 23, 2009, 10:04:20 AM

Previous topic - Next topic

onepiece

When there is a code tag with long lines of code and a table around the post (like the Profile - Show Posts area with old style block menu), code tag widens the page and makes it a lot wide than it should be.

Attached a screen shot. You can also view the issue here:

http://www.simplemachines.org/community/index.php?action=profile;u=198898;area=showposts;start=300;theme=1

Note that, this only happens in Mozilla Firefox 3.

SleePy

Jeremy D ~ Site Team / SMF Developer ~ GitHub Profile ~ Join us on IRC @ Libera.chat/#smf ~ Support the SMF Support team!

karlbenson


onepiece

Any chance you give a clue on the fix then? Not sure how you were able to fix it with PersonalMessage.template.php.

Also note that this is not something only related to Show Posts page. If you have a table around the forum body, and there is a code tag with long lines of code in Message Display page, the same happens there too. So this is a global issue about code tags, possibly the white-space: nowrap it has.

karlbenson

I added to the <table> around line 163
style="table-layout: fixed;"

The td on line 298 - added width="5%"
Changed the width on line 301 from 75% to width="70%"
The td on line 304 - added width="25%"

Advertisement: