View Single Post
Old 03-08-2008, 11:28 PM   #5 (permalink)
Gareth
The Acquainted
 
Gareth's Avatar
 
Join Date: Jan 2008
Posts: 136
Thanks: 4
Gareth is on a distinguished road
Default

Glad to have helped! (For once! normally it is my asking for help :P)

Edit:

Quote:
Originally Posted by DeMo View Post
I tried to reproduce it here with a simple page but had no luck at all. Tested on Opera 9.26, Firefox 2.0.0.12 and IE7, all of them worked.

HTML Code:
<html>
<head>
<title>Untitled Document</title>
<style type="text/css">
#content {
	padding: 0 40px 0 40px;
}
</style>
</head>

<body>
<div id="content">
  <textarea>test</textarea>
</div>
</body>
</html>
I even tried using padding: inherit; for the textarea style but it had no effect. Maybe you can correct it with padding: 0 in the textarea style?
We were not given the complete css stylesheet but it is quite possible Alan had indirectly given it padding (e.g. in a higher level). What my suggestion did was to reset all padding for that specific textarea.

Gareth
Gareth is offline  
Reply With Quote