PDA

View Full Version : Make the code boxes bigger


CvP
01-22-2011, 07:52 PM
Simple. Make the code, html code, php code pre elements bigger.
The width should be fluid.
The height can be doubled from what it is now.

It is really hard to read anything in them without copy pasting in a text editor :(


bonus: add a drag-resize control :D

jscieza
01-23-2011, 05:43 PM
I support this.

BirdOPrey5
01-27-2011, 01:33 AM
As do I.

CvP
03-08-2011, 05:16 AM
it takes like LESS THAN A MINUTE to do this? or is there any logical explanation of the current tiny-code-hole-box being better?

OldSchoolDSL
03-09-2011, 09:14 PM
I completely support this idea.

Not just the CODE wrap, but also PHP wrap

Please and thank you

Paul M
03-09-2011, 10:49 PM
The style is looked after by Joe (Princeton), so this is something he would need to look at and decide.

TheLastSuperman
03-10-2011, 04:19 AM
My votes in, +1 Princeton whadda ya say?

Princeton
03-10-2011, 03:28 PM
I dont' remember exactly why we went the direction we did but it may have to do with...
<pre> 100% within a <table> doesn't work as you may expect

without writing a book here's a few examples of what I mean...
http://www.atmaweapon.org/tables.html

Liquid table, liquid pre
Fixed table, liquid pre

-------

Width size was 500px I changed it to 650px.
650px because of the floated boxes in the mod/article postbit (fixed width)

CvP
03-20-2011, 10:35 AM
I dont' remember exactly why we went the direction we did but it may have to do with...
<pre> 100% within a <table> doesn't work as you may expect

without writing a book here's a few examples of what I mean...
http://www.atmaweapon.org/tables.html

Liquid table, liquid pre
Fixed table, liquid pre

-------

Width size was 500px I changed it to 650px.
650px because of the floated boxes in the mod/article postbit (fixed width)

I tried out a fix with firebug at that time. I think it was set width to ~80% which worked pretty nicely for both styles.

Instead of fixed value, setting a % value will help a lot. Try switching to fixed table, find out the maximum % value that doesn't make it overlap.