#435 closed defect (bug) (fixed)
xprofile Add a field, textarea style into css please !
Reported by: | chouf1 | Owned by: | |
---|---|---|---|
Milestone: | Priority: | major | |
Severity: | Version: | ||
Component: | Keywords: | ||
Cc: |
Description
bp-xprofile-classes.php
Line 711:
<textarea name="description" id="description" rows="8" cols="60" style="border: none; width: 99%;"><?php echo $this->desc ?></textarea>
Style has to go into CSS. The width issue work ONLY if you put spaces between <textarea> <ph?...?> </textarea>
This don't work through CSS:<textarea><ph?...?></textarea>
So the line could be replaced by this one:
<textarea name="description" id="description" rows="8" cols="60"> <?php echo $this->desc ?> </textarea> (only tested with firefox 2.8)
And in CSS, you can now declare something like this:
textarea#description {
border:1 pix solid #2683ae;
width: 50%; /*this matches the same size as the title input above */
background-color:#ccc;
}
Thanks, fixed in r1043