If you are seeing this message, it is possible the page did not load properly. Please hit reload/refresh on your browser.
If you still see this message, you probably do not have a browser that supports web standards, although its content is accessible to any browser or Internet device.

Cool Tips & Tricks Cool Tips & Tricks

Help Communities:
Help Forums Bug Base
<< Prev Topic | Next Topic >>
Cool Tips & Tricks ::: CSS FAQ ::: (CSS) Changing the colour of buttons, and textboxes
New Topic    Add Reply
Topic: (CSS) Changing the colour of buttons, and textboxes  (?)  Click to receive email notification of replies Click to stop receiving email notification of replies email this topic to a friend
atlass

ezboard moderator
ezSupporter
Posts: 296
Posted: 11/3/01 2:18 am    
(CSS) Changing the colour of buttons, and textboxes
If you want to change the colour of the boxes in which your users type a reply or new topic, then you need to change the CSS definitions of two classes.

They are the .inputbox and the .inputbutton

The ezboard settings for these are as follows:


.inputbox {
border-top:#333333 solid thin;
border-bottom:#333333 solid thin;
border-right:#333333 solid thin;
border-left:#333333 solid thin;
font-family: verdana, helvetica, sans-serif;
}

.inputbutton {
font-size: 120%;
font-family: verdana, helvetica, sans-serif;
}


These define the borders and typeface used.

You can add your own colours by putting the following code in the first box in your advanced area:

<style>

.inputbox {
border-top:#333333 solid thin;
border-bottom:#333333 solid thin;
border-right:#333333 solid thin;
border-left:#333333 solid thin;
font-family: verdana, helvetica, sans-serif;
color: #XXXXXX;
background-color: #YYYYYY
}

.inputbutton {
font-size: 120%;
font-family: verdana, helvetica, sans-serif;
color: #XXXXXX;
background-color: #YYYYYY
}


</style>

#XXXXXX = the colour of the text
#YYYYYY = the colour of the text box, or button.

You could also edit the colours in the borders if you required, or change the typeface to suit your board.

@

Edited by: atlass at: 12/15/01 5:05:08 am

  reply to this message

ezstrangelets

ezboard Moderator
ezSupporter
Posts: 27
Posted: 12/10/03 10:59 am    
Re: (CSS) Changing the colour of buttons, and textboxes
If you want a background image in the input box instead of a solid color, here is the code:

.inputbox {
background-image: url(http://image_url.gif);
}


  reply to this message

Nutrocker

ezboard Moderator
ezSupporter
Posts: 15717
Posted: 5/8/05 3:40 pm    
Re: (CSS) Changing the colour of buttons, and textboxes
Works for me, I see a different mailbox gif used when I had a PM in my inbox.


  reply to this message

Click to receive email notification of replies Click to stop receiving email notification of replies email this topic to a friend

New Topic    Add Reply

jump to:
Topic Control Image::: Topic Commands
<< Prev Topic | Next Topic >>

Icon Legend

reply button:::Reply to Post Button   edit button:::Edit Post Button  delete button:::Delete Post Button (Moderator Only)

subscribe/unsubscribe to thread button:::Subscribe to Thread Button   email to friend button:::Email to Friend Button  



- Cool Tips & Tricks - CSS FAQ -

Communitiesezboard Help Communities:

Help Forums Help Forums Bug Base Bug Base





Powered By ezboard® Ver. 7.32
Copyright ©1999-2007 ezboard, Inc.