Ok... I'm using a guestbook (in php) and I have it all css'ed trough and external file. I mean the fonts/colours/sizes and all. BUt the only thing I can't change is the bloody form (I want to resize it and change the colours) I know it's possible because I css'ed inmy contact form. Could some1 check it out and see how I should do this?
http://www.sickdamie...gbook/gbook.php
Press sign and you'll see what's wrong.
#&$^@ Guestbook Css
Page 1 of 14 Replies - 4088 Views - Last Post: 16 January 2013 - 05:01 AM
Replies To: #&$^@ Guestbook Css
#2
Re: #&$^@ Guestbook Css
Posted 14 July 2002 - 01:03 AM
Very easy, example of a button I just pulled out of one of my style sheets I made:
Then in the <input> put a class=" etc..... you can use font parms and some of the box model stuff like border on most of the form elements I think, like drop downs and what not.
.button {
border: 1px solid #999999;
background: #DFDFDF;
font-size: 11px;
font-family : Verdana, Arial, Helvetica, sans-serif;
font-style: normal;
line-height: normal;
font-weight: normal;
font-variant: normal;
text-transform: capitalize;
text-decoration: none;
letter-spacing: normal;
text-align: center;
vertical-align: middle;
word-spacing: normal;
white-space: normal;
}
Then in the <input> put a class=" etc..... you can use font parms and some of the box model stuff like border on most of the form elements I think, like drop downs and what not.
#3
Re: #&$^@ Guestbook Css
Posted 14 July 2002 - 01:05 AM
so I just hang that in my stylesheet and it should work?
#4
Re: #&$^@ Guestbook Css
Posted 14 July 2002 - 01:26 AM
Put that into your .css and in your HTML, on your buttons, place: class="button" in the <input> tag, you can make other classes for drop downs and stuff. and edit boxes, heres an example of an edit box from the same file I pulled the button:
.edit {
border: 1px solid #999999;
background: #F1F1F1;
font-size: 11px;
font-family : Verdana, Arial, Helvetica, sans-serif;
font-style: normal;
line-height: normal;
font-weight: normal;
font-variant: normal;
text-transform: none;
color: #000000;
text-decoration: none;
letter-spacing: normal;
text-align: left;
vertical-align: middle;
word-spacing: normal;
white-space: normal;
}
#5
Re: #&$^@ Guestbook Css
Posted 16 January 2013 - 05:01 AM
Page 1 of 1
|
|

New Topic/Question
Reply


MultiQuote




|