Template talk:Timeline: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Chris Day
No edit summary
imported>Robert W King
No edit summary
 
(One intermediate revision by the same user not shown)
Line 4: Line 4:


So i should restrict the width of the timeline events so that the word wrapping does not cause the the length to change with varying browser width? [[User:Chris Day|Chris Day]] 22:16, 10 April 2008 (CDT)
So i should restrict the width of the timeline events so that the word wrapping does not cause the the length to change with varying browser width? [[User:Chris Day|Chris Day]] 22:16, 10 April 2008 (CDT)
:That's right.  You can specify percents or static widths.  I had the sense to think ahead on this one. --[[User:Robert W King|Robert W King]] 22:17, 10 April 2008 (CDT)

Latest revision as of 22:18, 10 April 2008

Robert, i noticed a couple of things when using this on the DNA timeline. First, the title option seems to be obsolete did you intend to axe it from the template? Second, i noticed that the vertical line on the left is fixed length rather than accommodating for different browser widths (i.e. word wrapping causes the timeline to have different lengths depending on the width of the browser). Is there a way to fix that? Chris Day 22:04, 10 April 2008 (CDT)

The title will eventually go in there, but I have to take the time to figure out how it should look, how to draw it, where to put it, and how to make it look right, which is why I left a lot of blank space at the top. It shouldn't matter much due to the width variable of each block, but if it does I think you can specify it in pixel width. --Robert W King 22:10, 10 April 2008 (CDT)
See Template:Timeline/Sample, and doing it by tables was impossibly difficult. I wasted about two days trying to get it right that way. CSS divs was the way to go here. --Robert W King 22:15, 10 April 2008 (CDT)

So i should restrict the width of the timeline events so that the word wrapping does not cause the the length to change with varying browser width? Chris Day 22:16, 10 April 2008 (CDT)

That's right. You can specify percents or static widths. I had the sense to think ahead on this one. --Robert W King 22:17, 10 April 2008 (CDT)