PDA

View Full Version : Overriding Padding Properties


Asi9ine
11-22-2006, 04:01 AM
Hi vB.org,

I am in the process of creating a template. However, I'm trying to add a bar just below the opening of the main body, where I will add, "Welcome, [username]!". However, I need to align it to the immediate top left corner, but the problem is that it follows the convention of the rest of the table in that it indents 25 pixels (as does the rest of the board inside the table).

How can I override this, and align the image in question to the complete left, against the border?

Thanks a bunch.

CyberAlien
11-22-2006, 02:47 PM
Put it in separate table cell and use inline css: <td style="padding: 0;">. If table cell is being opened in other template (like spacer_open), then close previous table row, open new one with 0 padding, put your code, close it, and reopen usual row.