View Single Post
Old 03-08-2008, 10:58 PM   #1 (permalink)
Alan @ CIT
Member of the Month
The Frequenter
Member of the Month Top Contributor 
 
Alan @ CIT's Avatar
 
Join Date: Apr 2005
Location: South UK
Posts: 483
Thanks: 51
Alan @ CIT is on a distinguished road
Default CSS Padding / Textarea problems

Hi all,

I'm having some problems using a textarea inside a div that has padding set.

I have the following in my CSS:

CSS Code:
#content {
padding: 0 40px 0 40px;
}

All page content is then wrapped in <div id="content"> to give some space at either edge of the page.

Unfortunately, this also effects textareas:

css-padding-textarea-problems-textarea_padding.png

Can any of you CSS experts clue me in on how to stop the textarea using the padding please?

Thanks,
Alan
Send a message via MSN to Alan @ CIT
Alan @ CIT is offline  
Reply With Quote