PDA

View Full Version : IE textarea bug?



Dinius
25 Nov 2007, 02:05 PM
Hey!

If you take a look at http://dinius.zymichost.com/ in IE (7) you can see that the textareas are much further to the right than they should be.

I think know where this """error""" occurs.
If you look at the stylesheet http://localhost/dinius_1/default.css

and then at this part


#maincontent {
padding:5px 15px 15px 15px;
border-left:1px solid #CCCCCC;
margin-left:175px;
min-height:700px;
}


Its that 175px left margin that makes this happen, if I remove it, the textareas would loose the extra space to the left, but ofc this would ruin it for every other web browser... :rolleyes:
But I cant figure out how to fix this, first thing Ive encountered that Im not able to deal with :bawling: Only thing I can think of is remaking the side using other techniques and I dont really wanna do that, Id rather shut it off for IE users.. But I dont really wanna do that either..

So does anyone know how I could fix this? css hacks etc would be welcome.. ;)

Wickham
26 Nov 2007, 01:30 AM
Put the textarea tags inside p tags:-

<p><textarea class="quote" readonly="readonly" rows="1"
cols="1">
Lorem...........
................
Vivamus
neque.</textarea></p>