Please refer to the code attached. I am wanting to alter the right hand box contact information. It is a table cell, and I have set up two css classes to define it. ONe is .infobox and the other is .infoheader.

I am happy with the way it appears except I would like a small margin around the LHS of the gray area. When I use padding or margins in the .infobox it moves the blue heading over too. I expected this so I made the header relative and moved it back by the same number of pixels. I then get a gap on the right, so I made the header width:200px; and then the width of the whole cell started to change.

I have been messing with this now for some time and am getting a little frustrated.

Any ideas please

Many thanks

Edward

sorted it - moved both classes out of teh <td>!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.