User talk:Edokter
Add topicHello Edokter, welcome to Wikisource! Thanks for your interest in the project; we hope you'll enjoy the community and your work here.
You'll find an (incomplete) index of our works listed at Wikisource:Works, although for very broad categories like poetry you may wish to look at the categories like Category:Poems instead.
Please take a glance at our help pages (especially Adding texts and Wikisource's style guide). Most questions and discussions about the community are held at the Scriptorium.
The Community Portal lists tasks you can help with if you wish. If you have any questions, feel free to contact me on my talk page! John Vandenberg (chat) 12:26, 26 October 2008 (UTC)
Fiddle with another bit of CSS?
[edit]Hi, and thanks. I've seen your username over on en:wp maintaining style sheets. Care to look at something else here? See {{float-center}} and the discussion about it at User talk:Jack Merridew#float:center! and User talk:Jayvdb#You'll like this trick (and no, there's no actual float:center; involved). Cheers, Jack Merridew 12:54, 26 October 2008 (UTC)
- Hmm, I'd need to know what the intended effect is, and what it is supposed to do as opposed to float:center. — Edokter • Talk • 15:04, 26 October 2008 (UTC)
- There is no true float:center;[1] — this is trying to imitate what you'd expect a float:center; to do. I'll explain further tomorrow; it's late on my side of the planet. Cheers, Jack Merridew 16:17, 26 October 2008 (UTC)
- My bad... I was thinking about the 'center' attribute for images. It outputs a center-alligned div with auto-margins and 100% width... May be worth looking into? — Edokter • Talk • 15:13, 27 October 2008 (UTC)
- The intent here is to center a block, a poem in this case, while having the text in it left-aligned. My first stab at this used a table and the subsequent efforts have really been about ditching the table for ideological reasons. In this rather overly messy template, I'm using float:left; to shrink-wrap to the width of the content and relative positioning to move it to where I want. There are lots of issues though, as described mostly on John's page. The name of this template was probably a poor choice as a really proper implementation would flow text around both side of a center-floated block. That's quite a complex thing and no mere template and css is going to go there. Cheers, Jack Merridew 06:12, 27 October 2008 (UTC)