Quake3World.com Forums
     General Discussion
        Question for Turb, Raw or whoever else knows about phpBB


Post new topicReply to topic
Login | Profile | | FAQ | Search | IRC




Previous topic | Next topic 
Topic Starter Topic: Question for Turb, Raw or whoever else knows about phpBB

eminent
eminent
Joined: 12 Jul 2002
Posts: 9004
PostPosted: 03-04-2005 12:03 PM           Profile Send private message  E-mail  Edit post Reply with quote


I'm setting up a phpBB forum, I would really appricate if you could tell what I need to edit in order to remove the 2 pixel border around the ugly buttons.

Image

I want to have similar 1 border buttons you have here, just a different color.

Thanks. :)




Top
                 

Jesus of Suburbia
Jesus of Suburbia
Joined: 14 Jan 2001
Posts: 12713
PostPosted: 03-04-2005 12:35 PM           Profile   Send private message  E-mail  Edit post Reply with quote


Depends on what style you have installed. There's probably a css style sheet.
For example, this is mine:
http://forums.fender.net/templates/subB ... bBlack.css

Find your css, then look at the source HTML and figure out what css style is being applied to that element and change it.




Top
                 

eminent
eminent
Joined: 12 Jul 2002
Posts: 9004
PostPosted: 03-04-2005 12:35 PM           Profile Send private message  E-mail  Edit post Reply with quote


Alright thanks




Top
                 

Jesus of Suburbia
Jesus of Suburbia
Joined: 14 Jan 2001
Posts: 12713
PostPosted: 03-04-2005 12:39 PM           Profile   Send private message  E-mail  Edit post Reply with quote


If the style is based on subSilver, then the style applied to the Go button is liteoption.
Change the css line that looks like this
input.liteoption{background-color:#000000;color:#FFFFCC;font-weight:normal}

To something like this (this is the q3w css)
/* None-bold submit button */
input.liteoption {
font-family: Verdana, Arial, Helvetica, sans-serif;
background-color : #000000;
color : #FFFFFF;
border-top: 1px solid white;
border-right: 1px solid white;
border-bottom: 1px solid white;
border-left: 1px solid white;
font-weight : bold;
font-size: 12px;
/* padding: 1px 1px; */
}




Top
                 

Jesus of Suburbia
Jesus of Suburbia
Joined: 14 Jan 2001
Posts: 12713
PostPosted: 03-04-2005 12:40 PM           Profile   Send private message  E-mail  Edit post Reply with quote


Actually this is even better:
/* None-bold submit button */
input.liteoption {
font-family: Verdana, Arial, Helvetica, sans-serif;
background-color : #000000;
color : #FFFFFF;
border: 1px solid white;
font-weight : bold;
font-size: 12px;
}




Top
                 

Jesus of Suburbia
Jesus of Suburbia
Joined: 14 Jan 2001
Posts: 12713
PostPosted: 03-04-2005 12:41 PM           Profile   Send private message  E-mail  Edit post Reply with quote


Just noticed I use the same style as q3w. :o!




Top
                 

eminent
eminent
Joined: 12 Jul 2002
Posts: 9004
PostPosted: 03-04-2005 12:49 PM           Profile Send private message  E-mail  Edit post Reply with quote


It has something do with firefox rendering the css diferent because in ie I don't get such ugly thick borders around buttons and text areas. I've tried changing the css but it doesn't seem to effect it, i'm going to mess around some more. :(




Top
                 

eminent
eminent
Joined: 12 Jul 2002
Posts: 9004
PostPosted: 03-04-2005 12:51 PM           Profile Send private message  E-mail  Edit post Reply with quote


I also noticed a file called formIE,

/* Fancy form styles for IE */

input, textarea, select {
border-top-width : 1px;
border-right-width : 1px;
border-bottom-width : 1px;
border-left-width : 1px;
}

input { text-indent : 2px; }

input.button {
border-top-width : 1px;
border-right-width : 1px;
border-bottom-width : 1px;
border-left-width : 1px;
}

.postbody { line-height: 18px}

Does this work for firefox? I'm guessing no, but I'll try it.




Top
                 

Jesus of Suburbia
Jesus of Suburbia
Joined: 14 Jan 2001
Posts: 12713
PostPosted: 03-04-2005 12:55 PM           Profile   Send private message  E-mail  Edit post Reply with quote


The borders look the same to me in FF and IE here on q3w. Maybe clear your browser's cache?




Top
                 

eminent
eminent
Joined: 12 Jul 2002
Posts: 9004
PostPosted: 03-04-2005 12:58 PM           Profile Send private message  E-mail  Edit post Reply with quote


Yes on q3w, but not on my forum




Last edited by inphlict on 03-04-2005 02:36 PM, edited 1 time in total.

Top
                 

eminent
eminent
Joined: 12 Jul 2002
Posts: 9004
PostPosted: 03-04-2005 01:01 PM           Profile Send private message  E-mail  Edit post Reply with quote


I think I know why I can't change anything

NOTE: These CSS definitions are stored within the main page body so that you can use the phpBB2
theme administration centre. When you have finalised your style you could cut the final CSS code
and place it in an external file, deleting this section to save bandwidth.

That's in my source, I guess I need to edit index.php?




Top
                 

eminent
eminent
Joined: 12 Jul 2002
Posts: 9004
PostPosted: 03-04-2005 01:04 PM           Profile Send private message  E-mail  Edit post Reply with quote





Top
                 

Jesus of Suburbia
Jesus of Suburbia
Joined: 14 Jan 2001
Posts: 12713
PostPosted: 03-04-2005 01:07 PM           Profile   Send private message  E-mail  Edit post Reply with quote


Your inline style is still the default:
/* None-bold submit button */
input.liteoption {
background-color : #FAFAFA;
font-weight : normal;
}
Find that and change to
/* None-bold submit button */
input.liteoption {
background-color : #FAFAFA;
font-weight : normal;
border: 1px;
}




Top
                 

eminent
eminent
Joined: 12 Jul 2002
Posts: 9004
PostPosted: 03-04-2005 01:17 PM           Profile Send private message  E-mail  Edit post Reply with quote


I just messed up, but I at least I know what to do now.




Top
                 
Quake3World.com | Forum Index | General Discussion


Post new topic Reply to topic


cron
Quake3World.com
© ZeniMax. Zenimax, QUAKE III ARENA, Id Software and associated trademarks are trademarks of the ZeniMax group of companies. All rights reserved.
This is an unofficial fan website without any affiliation with or endorsement by ZeniMax.
All views and opinions expressed are those of the author.