2 replies [Last post]
Bluenose
Bluenose's picture
Offline
Enthusiast
Last seen: 2 years 3 weeks ago
Timezone: GMT+1
Joined: 2011-10-11
Posts: 96
Points: 136

Hello

I have a 'test' Web page here: http://www.bayingwolf.com/India/contact.html

The white 'box' that holds the email form is governed by this little CSS piece in my external stylesheet:

#contentForm {	
width: 500px;	
margin: 0 0 0 382px;	
padding: 35px;	
background: #FFF;	
color: #5C5C5C;
}

Originally, this white 'box' was a fair bit wider than on the Web page now, but I managed to reduce it by changing the margin in the above script. I now wish to reduce its height a little and thought I could do something similar in the above script, but there is no property for me to alter.

Any advice, please?

Thank you.

Bluenose

Tony
Tony's picture
Offline
Moderator
Brisbane
Last seen: 1 week 3 days ago
Brisbane
Timezone: GMT+10
Joined: 2003-03-12
Posts: 5343
Points: 2964

Hi Bluenose, Change padding

Hi Bluenose,
Change padding to:

padding:0 35px; 

Bluenose
Bluenose's picture
Offline
Enthusiast
Last seen: 2 years 3 weeks ago
Timezone: GMT+1
Joined: 2011-10-11
Posts: 96
Points: 136

That's great, Tony, thank

That's great, Tony, thank you.

And it looks good in IE, Firefox, and Safari!

Cheers again.

Bluenose