Template talk:Timeline

From Citizendium
Revision as of 21:17, 10 April 2008 by imported>Robert W King
Jump to navigation Jump to search

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. --Robert W King 22:17, 10 April 2008 (CDT)