|
#1
|
|||
|
|||
|
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 /> <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;
}
|
|
#2
|
||||
|
||||
|
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; |
|
#3
|
|||
|
|||
|
Thanks so much for your help!
|
| Post Reply |
| Thread Tools | |
|
|