Skip to:
Content

Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#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;

}

Change History (2)

#1 @apeatling
9 years ago

  • Resolution set to fixed
  • Status changed from new to closed

Thanks, fixed in r1043

#2 @(none)
9 years ago

  • Milestone Extended Profiles 1.0 deleted

Milestone Extended Profiles 1.0 deleted

Note: See TracTickets for help on using tickets.