How to Change Width of [CODE] Box? - Forum - uCoz System management and tuning - uCoz Community
You logged in as Guest
Username/E-mail:
Recent messages · Members · Forum rules · FAQ · SEARCH Registration · Log in


We are in the second round! Let's keep voting!

Page 1 of 11
Forum moderator: Dartz 
uCoz Community » uCoz System management and tuning » Forum » How to Change Width of [CODE] Box?
How to Change Width of [CODE] Box?
SlimDaddyDate: Monday, 2009-10-19, 3:16 Pm | Message # 1
Newbie
Group: Users
Messages: 7
Awards: 0
Reputation: 0
Status: Offline
I've browsed several areas in my Control Panel, but I'm not finding where there's an option to change the width of a code box. According to the developer tools in my browser the boxes are showing over 400px wide. Anyone know where I can find the option to change this, or perhaps know a code that would allow me to set a certain criteria for these boxes? Thanks.
 
UniqueDate: Monday, 2009-10-19, 3:27 Pm | Message # 2
Constant
Group: Checked
Messages: 231
Awards: 8
Reputation: 5
Status: Offline
You can edit style of this here: Cp->Design->CSS-> and find
Code
.codeMessage {background:#555555;font-size:9px;}
.


Who says nothing is impossible? I have been doing nothing for years.
 
SlimDaddyDate: Monday, 2009-10-19, 3:30 Pm | Message # 3
Newbie
Group: Users
Messages: 7
Awards: 0
Reputation: 0
Status: Offline
So perhaps simply adding something like "max-width: 350px;" would accomplish what I'm wanting?
 
UniqueDate: Monday, 2009-10-19, 3:31 Pm | Message # 4
Constant
Group: Checked
Messages: 231
Awards: 8
Reputation: 5
Status: Offline
SlimDaddy, replace this code else old:
Code
.codeMessage {background:#555555;font-size:9px;width:350;}



Who says nothing is impossible? I have been doing nothing for years.


Message edited by Unique - Monday, 2009-10-19, 3:38 Pm
 
SlimDaddyDate: Monday, 2009-10-19, 3:37 Pm | Message # 5
Newbie
Group: Users
Messages: 7
Awards: 0
Reputation: 0
Status: Offline
FYI to all, but the option of "max-width: 350;" that I added to the .codeMESSAGE bit of coding worked. Even though you said it wasn't possible Unique, thanks for getting my brain to think in another direction. wink
 
UniqueDate: Monday, 2009-10-19, 3:40 Pm | Message # 6
Constant
Group: Checked
Messages: 231
Awards: 8
Reputation: 5
Status: Offline
SlimDaddy, look my previusly post.


Who says nothing is impossible? I have been doing nothing for years.
 
SlimDaddyDate: Monday, 2009-10-19, 3:40 Pm | Message # 7
Newbie
Group: Users
Messages: 7
Awards: 0
Reputation: 0
Status: Offline
LOL! We must've been typing our posts at the same time.
 
uCoz Community » uCoz System management and tuning » Forum » How to Change Width of [CODE] Box?
Page 1 of 11
Search: