Forum Hosting  

Go Back   Forum Hosting > IPB Support > IPB General Support

IPB General Support Post your questions here, no bug reports.


Reply
 
LinkBack Thread Tools Display Modes
Old 11-30-2007, 11:43 PM   #1 (permalink)
Junior Forumer
 
Babydoll24's Avatar
 
Join Date: May 2007

Location: JAPAN
Posts: 88
Rep Power: 2 Babydoll24 is on a distinguished road
fTrader: (0)
fBuck$: 1,618
Bank: 132
Total fBuck$: 1,750

My Forumer
My Country:
Question [code][/code] table?

anyone knows how to set this code tables width and height?
so, when someone post a very long code it will appear in a small table only.

Babydoll24 is offline   Reply With Quote
Old 12-01-2007, 05:53 AM   #2 (permalink)
Learned Forumer
 
Edwin's Avatar
 
Join Date: Sep 2005
Simon Champion!
Location: Europe/UK/England/
Posts: 7,559
Blog Entries: 4
Rep Power: 11 Edwin has a spectacular aura aboutEdwin has a spectacular aura about
fTrader: (36)
fBuck$: 592
Bank: 146,695
Total fBuck$: 147,287

My Forumer
My Country:
Default Re: [code][/code] table?

Try:

Code:
[!codebox][!/codebox]
Remove the ! for it to work.

Edwin is offline   Reply With Quote
Old 12-02-2007, 11:23 PM   #3 (permalink)
Junior Forumer
 
Babydoll24's Avatar
 
Join Date: May 2007

Location: JAPAN
Posts: 88
Rep Power: 2 Babydoll24 is on a distinguished road
fTrader: (0)
fBuck$: 1,618
Bank: 132
Total fBuck$: 1,750

My Forumer
My Country:
Default Re: [code][/code] table?

thanks but what i mean is to set it in my style sheets so it will be the default
code box size when someone posted a code inside a [code] tags.

Babydoll24 is offline   Reply With Quote
Old 12-11-2007, 11:54 PM   #4 (permalink)
Junior Forumer
 
Babydoll24's Avatar
 
Join Date: May 2007

Location: JAPAN
Posts: 88
Rep Power: 2 Babydoll24 is on a distinguished road
fTrader: (0)
fBuck$: 1,618
Bank: 132
Total fBuck$: 1,750

My Forumer
My Country:
Default Re: [code][/code] table?

please help... anyone???

Babydoll24 is offline   Reply With Quote
Old 12-13-2007, 11:17 PM   #5 (permalink)
Junior Forumer
 
collin1000's Avatar
 
Join Date: Jan 2006

Posts: 198
Rep Power: 3 collin1000 is on a distinguished road
fTrader: (0)
fBuck$: 60
Bank: 2,465
Total fBuck$: 2,525

My Forumer
My Country:
Send a message via Yahoo to collin1000
Default Re: [code][/code] table?

It varies greatly by CSS, but you should take a look at the following parts of your CSS and mess around in it until you can figure out how to adjust it.

(i used your default skin on Babydoll's_Closet)
Code:
#CODE { white-space:normal; font-family: Courier, Courier New, Verdana,
Arial;  font-size: 11px; color: #000000; background-color: #00ccff;
border: 1px solid #C0C0C0; border-top: 1px solid #000; border-left: 1px
solid #000; padding-top: 5px; padding-right: 20px; padding-bottom: 5px;
padding-left: 20px; float:left; width:auto }
.copyright { font-family: Verdana, Tahoma, Arial, Sans-Serif; font-size: 9px; line-height: 12px }

.codebuttons { font-size: 10px; font-family: verdana, helvetica, sans-serif; vertical-align: middle }
.forminput, .textinput, .radiobutton, .checkbox { font-size: 11px; font-family: verdana, helvetica, sans-serif; vertical-align: middle }

FREE domain names for your forum or site! 100% free domain names! Compatible with forumer!
collin1000 is offline   Reply With Quote
Old 12-17-2007, 02:29 AM   #6 (permalink)
Junior Forumer
 
Babydoll24's Avatar
 
Join Date: May 2007

Location: JAPAN
Posts: 88
Rep Power: 2 Babydoll24 is on a distinguished road
fTrader: (0)
fBuck$: 1,618
Bank: 132
Total fBuck$: 1,750

My Forumer
My Country:
Default Re: [code][/code] table?

thanks but i still don't know how...
i really don't know how that's why i'm asking for help.

i want it to be like here in F forumer.
the code box is set to its height/width so if long codes
is posted it will be in a scrollable box.

Babydoll24 is offline   Reply With Quote
Old 12-18-2007, 12:37 AM   #7 (permalink)
Senior Forumer
 
wierdo's Avatar
 
Join Date: Mar 2006

Location: United States
Posts: 1,090
Rep Power: 4 wierdo is on a distinguished road
fTrader: (26)
fBuck$: 1,921
Bank: 16,498
Total fBuck$: 18,420

My Forumer
My Country:
Send a message via AIM to wierdo Send a message via Yahoo to wierdo
Default Re: [code][/code] table?

Go go:

Admin CP > Skins & Templates > Style Sheets > Edit

Click in the textbox that appears. Press Ctrl + F (find) and type in "#CODE". Click close or cancel.

You should be looking at a section of code like this:

Code:
#CODE { white-space:normal; font-family: Courier, Courier New, Verdana,
Arial;  font-size: 11px; color: #000000; background-color: #00ccff;
border: 1px solid #C0C0C0; border-top: 1px solid #000; border-left: 1px
solid #000; padding-top: 5px; padding-right: 20px; padding-bottom: 5px;
padding-left: 20px; float:left; width:auto }
Delete that section of code, and put this in it's place:
Code:
#CODE { white-space:normal; font-family: Courier, Courier New, Verdana,
Arial;  font-size: 11px; color: #000000; background-color: #00ccff;
border: 1px solid #C0C0C0; border-top: 1px solid #000; border-left: 1px
solid #000; padding-top: 5px; padding-right: 20px; padding-bottom: 5px;
padding-left: 20px; float:left; width: 600px; height: 400px; overflow: scroll;}
Click "Edit Stylesheet" and you're done!

wierdo is offline   Reply With Quote
Old 12-18-2007, 03:24 AM   #8 (permalink)
Junior Forumer
 
Babydoll24's Avatar
 
Join Date: May 2007

Location: JAPAN
Posts: 88
Rep Power: 2 Babydoll24 is on a distinguished road
fTrader: (0)
fBuck$: 1,618
Bank: 132
Total fBuck$: 1,750

My Forumer
My Country:
Default Re: [code][/code] table?

thanks...

i did all you said but nothing happened ....
the long codes inside the code box is still large and not scrollable....

Babydoll24 is offline   Reply With Quote
Old 12-18-2007, 08:50 AM   #9 (permalink)
Senior Forumer
 
wierdo's Avatar
 
Join Date: Mar 2006

Location: United States
Posts: 1,090
Rep Power: 4 wierdo is on a distinguished road
fTrader: (26)
fBuck$: 1,921
Bank: 16,498
Total fBuck$: 18,420

My Forumer
My Country:
Send a message via AIM to wierdo Send a message via Yahoo to wierdo
Default Re: [code][/code] table?

Can you link to a topic you have used a codebox on?

wierdo is offline   Reply With Quote
Old 12-18-2007, 09:05 AM   #10 (permalink)
Junior Forumer
 
Babydoll24's Avatar
 
Join Date: May 2007

Location: JAPAN
Posts: 88
Rep Power: 2 Babydoll24 is on a distinguished road
fTrader: (0)
fBuck$: 1,618
Bank: 132
Total fBuck$: 1,750

My Forumer
My Country:
Default Re: [code][/code] table?

here is the link
CLICK HERE

thanks!

Last edited by Babydoll24; 12-18-2007 at 09:09 AM.

Babydoll24 is offline   Reply With Quote
Old 12-18-2007, 09:16 AM   #11 (permalink)
Senior Forumer
 
wierdo's Avatar
 
Join Date: Mar 2006

Location: United States
Posts: 1,090
Rep Power: 4 wierdo is on a distinguished road
fTrader: (26)
fBuck$: 1,921
Bank: 16,498
Total fBuck$: 18,420

My Forumer
My Country:
Send a message via AIM to wierdo Send a message via Yahoo to wierdo
Default Re: [code][/code] table?

It scrolls fine for me...

wierdo is offline   Reply With Quote
Old 12-18-2007, 06:14 PM   #12 (permalink)
Junior Forumer
 
Babydoll24's Avatar
 
Join Date: May 2007

Location: JAPAN
Posts: 88
Rep Power: 2 Babydoll24 is on a distinguished road
fTrader: (0)
fBuck$: 1,618
Bank: 132
Total fBuck$: 1,750

My Forumer
My Country:
Question Re: [code][/code] table?

scrollable in this box size width: 600px; height: 400px; ?

Babydoll24 is offline   Reply With Quote
Old 12-18-2007, 07:35 PM   #13 (permalink)
Senior Forumer
 
wierdo's Avatar
 
Join Date: Mar 2006

Location: United States
Posts: 1,090
Rep Power: 4 wierdo is on a distinguished road
fTrader: (26)
fBuck$: 1,921
Bank: 16,498
Total fBuck$: 18,420

My Forumer
My Country:
Send a message via AIM to wierdo Send a message via Yahoo to wierdo
Default Re: [code][/code] table?

It is shorter for me, but it looks fine. Are you using Internet Explorer or another browser? I'm using Opera.

wierdo is offline   Reply With Quote
Old 12-19-2007, 12:54 AM   #14 (permalink)
Junior Forumer
 
Babydoll24's Avatar
 
Join Date: May 2007

Location: JAPAN
Posts: 88
Rep Power: 2 Babydoll24 is on a distinguished road
fTrader: (0)
fBuck$: 1,618
Bank: 132
Total fBuck$: 1,750

My Forumer
My Country:
Default Re: [code][/code] table?

i'm using IE...
so what do you think i should do?

and thanks for answering my questions.

Babydoll24 is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[BUYING]Money Code and Rep Code [1000f$+] JJRedick4 Uncategorized stuff 5 10-20-2006 03:01 AM
Table HTML Code not Working rrcunningham IPB General Support 1 10-05-2006 02:20 PM
[quick Question]og Code, i lost my code(ahh..paste mistake) z9_chison IPB General Support 1 07-21-2005 12:34 PM
Php Code Izayoi Hime IPB General Support 5 10-08-2004 02:28 PM