stephaneeybert — 2013-01-17T15:02:19-05:00 — #1
pullo — 2013-01-18T02:46:15-05:00 — #2
The two which align correctly have this CSS property applied to them inline:
The one which is aligned on the right of the page, has this inline style:
That's the problem.
stephaneeybert — 2013-01-18T17:19:59-05:00 — #3
What is strange is that my own markup does not produce any such webkit-transform property. It must come from a library.
Something even stranger.. I duplicated the tab Exercise 2 into a tab Exercise 4. It is a duplicate done by the CMS.
They have the same content.
But the duplicate does not align right, contrary to its original.
ronpat — 2013-01-18T18:14:29-05:00 — #4
I believe that the inline styles are causing the additional space to the left of the horizontal menu. Specifically,
The page for tab2 shows the following inline styles:
<div class="slider" style="position: relative; cursor: default; width: 316px; overflow: hidden;<font color='"#ff0000"'> left: 274px;</font>">
The other two pages that align to the left do not show "left:274px".
If the red property is deleted from the style on this page, the menu aligns to the left.
pullo — 2013-01-19T02:25:58-05:00 — #5
I just looked at the third tab and it seems to be fine now.
Did you get to the bottom of what was causing this?
stephaneeybert — 2013-01-19T07:11:11-05:00 — #6
I haven't yet found it but I'm narrowing it. I can order at will the pages of the exercise, using the CMS. And with 4 or 5 pages, it is always the second page that displays on the right, whatever page it is.
So, it must come from some css property the CMS outputs in there. But I could not find which one yet.
stephaneeybert — 2013-01-19T07:15:44-05:00 — #7
God ! Now, the issue is solved. What happened ?! I had just removed from the Exercise 2 page, the introduction text, and then copied it back from the Exercise 4 page. It is an exact copy of the text. In fact, this text is html markup. I wondered if it could have been the reason for this. Removing it from the page did not solve the issue though. Only copying back into the page, from an exact copy sitting on another page, and having things as they were at the start, solved the issue. I don't know what was happening here. Sorry guys. I wish I had caught it in the act. High chaparal...
pullo — 2013-01-22T02:16:34-05:00 — #8
Sounds bizarre, but all's well that ends well, eh?
Glad you got it sorted in the end.
Thanks for taking the time to report back.