Pixelpost

Authentic Photoblog Flavour


Go Back   Pixelpost Forum > DEVELOPMENT > Hacks and Modifications

Post Reply
 
Thread Tools
  #1  
Old 12-07-2007, 04:11 PM
apt Offline
forum loafer
 
Join Date: Dec 2007
Location: Appalachia
Posts: 8
Unhappy css, class, classes, form, template

I am modifying the somethingblue template and have gotten pretty far - I've even rebuilt the info page to be CSS instead of an awkward table - but now I'm stuck on the simplest little thing.

I am applying a class ("input") to my comment fields, but it doesn't seem to be working for my main textarea. You can see the problem in context by clicking the "add comment" link here: http://photos.apt131.com

I've tried making a separate class for the textarea and even cheating my putting that class at the very end of the stylesheet (as the last of two conflicting rules will win out). I've given up and I'm here for help. I've posted the relevant below.

Code:
<form method='post' action='index.php?x=save_comment' name='commentform' accept-charset='UTF-8'>
<a name="addcomment">thoughts</a><br />
<textarea name='message' class='input' rows='2' cols='40'></textarea><br />
<label for="name">name</label><br />
<input type='text' name='name' class='input' value='<VINFO_NAME>' id="name"/><br />
<label for="url">website</label><br />
<input type='text' name='url' class='input' value='<VINFO_URL>' id="url"/><br />
<label for="email">email</label><br />
<input class='input' type='text' name='email' value='<VINFO_EMAIL>' id="email"/><br />
<input type='checkbox' value='set' name='vcookie' id="saveinfo" />remember your info<br /><br />
&nbsp;&nbsp;<input type='submit' value='submit' />
<input type='hidden' name='parent_name' value='<IMAGE_NAME>' />
<input type='hidden' name='parent_id' value='<IMAGE_ID>' />
<input type='hidden' name='parent_name' value='<IMAGE_NAME>' />
</form>



Code:
.input {
    width:100%;
    font-size:12px;
    font-weight:bold;
    border:1px solid #f1c6cf;
    background-color:#211a1a;
    color:#fffcf4;
    }
Reply With Quote
  #2  
Old 12-07-2007, 04:22 PM
austriaka's Avatar
austriaka+ Offline
Team Pixelpost
 
Join Date: Nov 2006
Location: Germany
Posts: 1,175
Send a message via ICQ to austriaka Send a message via AIM to austriaka
I would remove this part of your css file:
#add-comment textarea {
width:100%;
height:50px;
font-size:12px;
font-weight:bold;
border:1px solid #f1c6cf;
background-color:#ffffff;
color:#fffcf4;
}

or change its background-color to #211a1a;
__________________
Uh!log Photoblog
My Addons
Reply With Quote
  #3  
Old 12-07-2007, 06:06 PM
apt Offline
forum loafer
 
Join Date: Dec 2007
Location: Appalachia
Posts: 8
Thanks so much for your help!
Reply With Quote
Post Reply


Thread Tools




All times are GMT. The time now is 08:49 PM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd. | Style Design: d3 designs