PDA

View Full Version : Width Issues in Various Templates


ArgylePhoto
10-18-2008, 05:04 AM
Hi,

I posted something similar to this the other day but then solved it, but it's struck again!

I'm using a table around my whole forum to give it rounded edges, this is working fine on all pages so far except calendar, showthread and memberslist. What these pages seem to be doing is opening the main container table (ie the one that contains the whole forum's width etc) again inside the table I've created for the rounded edges. They're certainly using the same background image.

For calendar and memberslist I removed the:

$spacer_close
$spacer_open

bits of code and that solved the problem. But doing the same for showthread hasn't worked, the background image is still there.

So can anyone help? What's causing showthread to do this? And can I remove the above code from the calendar and memberslist templates or will that cause them to do something odd under certain conditions?

--------------- Added 1224313180 at 1224313180 ---------------

Also, why does the main content table not open when the 'standard error' template is used?

--------------- Added 1224333747 at 1224333747 ---------------

Found a solution to the showforum problem, it was the postbit_wrapper template to blame.

Still having trouble with the other bits though...

Lynne
10-18-2008, 04:04 PM
Removing $spacer_open and $spacer_close should not be a problem as long as they are removed in pairs. $spacer_open is three <div> tags and $spacer_close is three </div> tags, so if you don't remove them in pairs, then your html will not validate correctly.

ArgylePhoto
10-19-2008, 03:30 AM
Thanks that's what I hoped.

Anyone any idea about the register.php/standard_error problem?

And also when I edit a post the edit box doesn't go away on clicking 'save'. Where is the code for that form? Is it likely to be due to changes in the showthread template?