YOU CAN EDIT THIS PAGE! Just click any blue "Edit" link and start writing!

Tech:Images are double-parking

From Wikitravel Shared
Jump to: navigation, search

Something has changed with image formatting lately. Consecutively inserted right-aligned images/infoboxes should stack up one on top of another as they used to, rather than appear side by side. Here are some examples: Bratislava, Stockholm, Victor Harbour, Venezuela, Vanuatu, São Paulo. Texugo 22:54, 6 April 2008 (EDT)

Happening here also, with Firefox on Vista. Jpatokal 02:05, 7 April 2008 (EDT)
For me, it happens on Firefox and IE running on XP.Texugo 03:04, 7 April 2008 (EDT)
Same on sv:, see sv:Barcelona. IE6 running on XP. Riggwelter 04:03, 7 April 2008 (EDT)
Hm, it seems to be fixed now, the Barcelona article seems just fine. Riggwelter 08:11, 7 April 2008 (EDT)
It's happen also in the Russian section, e.g. a messed up photos at section "Достопримечательности" of my ru:Санкт-Петербург/Центр. Before advertising turning on it seems fine. I use IE 6.0 running on Win2000 -- Sergey kudryavtsev 08:39, 7 April 2008 (EDT)
This is a big problem. Our DotMs look awful, and they're linked from the main page. But maybe even worse is that this problem (along with images being forced down by the right sidebar) is ruining page layout on nearly all illustrated guides sitewide. These things really should have been worked out before introduction of ads—now our site just looks like a mess. I've added this to Top bugs, by the way. --Peter Talk 11:23, 7 April 2008 (EDT)
The tech guys have identified the problem and have been working on a fix. They have some more cleanup to do on it today and anticipate pushing it live in the next few days. Thanks for all your help in identifying the problem! JuCo 14:02, 7 April 2008 (EDT)
The fix is up! The tech team is will be manually purging cache across all pages in the coming days. This should fix all the known formatting problems created by the ads, including Tech:Ads push down edit box when toolbar enabled. JuCo 17:44, 7 April 2008 (EDT)
I check this issue at ru:Санкт-Петербург/Центр, it's fixed. Thanks. -- Sergey kudryavtsev 02:49, 8 April 2008 (EDT)
I'd love to hear what the problem was and what the fix was all about. Riggwelter 12:33, 8 April 2008 (EDT)
The concise (and oversimplified) version is that the initial ad column used a float right to get the column into place. The images, info boxes, and any number of other things in the content area also use floats to get the "texts flows around" effect. None of this is a problem yet. The problem comes with the fact that the info boxes use clears to prevent the "double parking arrangement". The clear tells the browser to not allow two floated objects sit next each other. The trouble is that the clear isn't limited to the content section -- meaning the cleared objects also won't sit next to anything in the ad column (the WTP ads got away with it because they're short enough that the effect isn't that noticeable). The double-parking noted hear is a result of my removing the clear on the image as a stopgap while figured out a real fix. We're now using tables to get the right column, but it took a couple of iterations (and a tremendous amount of code cleanup) to find a layout that worked. 14:54, 9 April 2008 (EDT)