Forum:Template glitch

I am having trouble with templates on my wiki, for some reason it has decided to go glitchy. This is what I mean, the quote has all of a sudden started merging with the infobox... but before it didn't do that, before it was directly in line with the opening paragraph and didn't merge. :( Please help!!!!!!!!!!! -- Lynettefan2626
 * Can you link to a page where you're having trouble? --  Random Time  17:39, May 18, 2012 (UTC)


 * I am not able to produce the reported error at w:c:desperatehousewives:Lynette. In webkit browsers, it looks fine.  It may therefore be a browser-specific issue.  What are you using?  17:46: Fri 18 May 2012


 * http://desperatehousewives.wikia.com/wiki/Lynette_Scavo that is the page, and I am using Google Chrome -- Lynettefan2626


 * I don't know how, but somehow the  and   css styling might have something to do with it. Setting the former to 0px seemed to solve the problem. — mfaizsyahmi  (talk) 18:27, May 18, 2012 (UTC)

&#10595;, also such proprietary features are discouraged due to unequal compatibility and disregarding standards. 18:30, May 18, 2012 (UTC)


 * I don't understand :( It's still broken -- Lynettefan2626
 * Basically, the properties Mfaizsyahmi mentioned are not supported in every browser, only a select few&mdash;in this case, WebKit ones, like Safari, Chrome or Chromium. Since I'm using a Gecko browser, it does not load and the page looks fine, so try setting it to 0 as he said and it should fix the problem. 19:06, May 18, 2012 (UTC)


 * And where do I find this :/ ? -- Lynettefan2626


 * I think the problem is - or rather was - w:c:desperatehousewives:Template:Quote. That template contains a table with align="center" and, well, that centers the table on the page. Template:Quote seems to be used all over the place, so I didn't dare to edit it. Instead I wrapped a  around the quote in w:c:desperatehousewives:Lynette. That seems to have worked. --


 * EDIT: Um, another thing: Your signature misses a timestamp! Fix that, please!

Thank you so much :D But it only fixed it for that page :( Is there not another way to fix this? 20:02, May 18, 2012 (UTC)


 * You could also edit the template itself. That's actually easier. Just remove the align="center". But as I said: That template is used all over the place. Take a look at w:c:desperatehousewives:Special:WhatLinksHere/Template:Quote to see the lot of them. You should check what repercussions such a change would have.


 * An alternative would be to attach the centering to a parameter. Centering should remain the default, but setting the parameter would switch it off. The advantage of that solution would be that it isn't invasive. You would "only" have to change the affected pages. --


 * Using align="center" is outdated anyways and is handled differently by different browsers. It's much better to add the centering with auto left/right margins. This change should fix it. Rappy 03:57, May 20, 2012 (UTC)


 * Apparently, Chrome still doesn't like that. Chrome ignores the margins of other divs (one of the reasons I still use FF). I think I had this issue before. An alternative would be to place the quote above the infobox... that way it can stretch to 100% if needed and not conflict with the infobox at all. On pages with small quotes, you won't notice much of a change... but on pages with larger quotes (like Lynette's) it will be slightly more noticeable. I've edited her page to reflect what I am talking about. Rappy 04:06, May 20, 2012 (UTC)