1) textarea firefox scrollbar 2) input check border 3) datagrid si

G

Guest

Hi everyone!

I have these three questions and though to post them in a single thread:

1) I have created a textarea:

<textarea id="txtCards" cols="50" rows="15" runat="server" wrap="virtual" />

which is used for user editing (typing in some info).

My problem is that while it works great in ie6,
wrapping text to the next line when the user types more character than what
a single line can hold,
in firefox displays a scrollbar and keeps on to the same line!

I have googled this and found these:
http://forums.asp.net/thread/1543333.aspx
and
https://bugzilla.mozilla.org/show_bug.cgi?id=33654
(noted as most significant),
but didn't help me out,
so, what is this, some sort of firefox bug?

2) When I create an input check element,
even though I use:

border-width: 0px;

I can see that there is some space left on the left of it,not allowing me to
align left this field with the other input text fieldsI have on my form.Is
there any way I can get rid of that space using css or whatever?

3) I need to highlight some cells in a datagrid based on some
conditions,code was working before changing my css, but now it
doesn't!Perhaps some sort of overriding....
What I would like to set is:
ItemStyle-ForeColor through code using ItemDataBound event,
code that was working before is:

With e.Item.Cells(14)
If (CType(.Text, Integer) < 0) Then
.Font.Bold = True
.ForeColor = System.Drawing.Color.Red
End If
End With

I can't figure out why it is not working anymore!

Thanks in advance for any views and/or answers!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,048
Latest member
verona

Latest Threads

Top