I suspect the answer will be pretty simple and I'll feel stupid, but I don't manage to make a darktable float right. A small darktable, of course. Here you have it, for the example:
|
Official Userbox of the site
|
I want that to appear in the right part of the page, and not in the left, as it does right now.
Also, if someone has tips on how to write the code better (I want to add "subtitles" to the template, in order to be able to show it in an article, like if it was an image with a comment below) please tell me.
Thanks.--Lon-ami (talk) 20:08, October 5, 2009 (UTC)
- Just add
style="float: right"
after "darktable".
Sssssssssssssssssssssssss
For Pony! (Sssss/Slithered) 20:48, October 5, 2009 (UTC)
- Ok, thank you very much. But now I have another problem. I want it to appear down of another table, but if I put the text under that other table's text, it appears right to the table, when it should be under it. And, when I manage to put the userbox table under the other table, the text goes down. Help, please. Yeah, I know I'm such a noob with the code
. Example:
- I want it to appear down of it, instead of right.--Lon-ami (talk) 10:53, October 6, 2009 (UTC)
- Just add
clear:right
in the code, at least on the second one. The first line should look like: {|class="darktable" style="float: right; clear: right"
.
Sssssssssssssssssssssssss
For Pony! (Sssss/Slithered) 20:54, October 7, 2009 (UTC)
You could also just put <br clear="right"/>
between the two tables. --
Beware the sneaky smile! Fandyllic (talk · contr) 11:57 PM PST 7 Oct 2009
- Thanks. I really couldn't fond this in any of the help pages, and it's something I wanted to do since long ago in many pages. See the result here.
- Anyway,
<br clear="right"/>
moves the text outside the tables? I really hope not, but I think it does, unless I'm using it wrong.
- Thanks again
.--Lon-ami (talk) 15:15, October 8, 2009 (UTC)
Are you using it like this?
{|class="darktable" style="float: right;"
|{{User SoL}}
|-
|I'm on top.
|}
<br clear="right"/>
{|class="darktable" style="float: right;"
|{{User SoL}}
|-
|I'm right below you.
|}
Don't put the <br clear="right"/>
in the table. --
Beware the sneaky smile! Fandyllic (talk · contr) 6:28 PM PST 8 Oct 2009
- Looking at your page, using CSS (
clear:right;
) is better than using <br clear="right"/>
, anyway. --
Beware the sneaky smile! Fandyllic (talk · contr) 6:30 PM PST 8 Oct 2009
- Ah, great, that makes sense now. Thanks a lot, works fine now, and although I won't need it right now, I'll use it in future editions.
- Also, I'm going to use (
clear:right;
) with tables, and use <br clear="right"/>
to separate templates I cannot edit. After all, I've included the User SoL in a table, but if I had not, I should have used <br clear="right"/>
instead of (clear:right;
).
- Anyway, to end the topic, is there any page on these functions? Would save time from asking you, more than anything.
- Thanks again and again :).--Lon-ami (talk) 18:35, October 8, 2009 (UTC)
- Unfortunately as a help topic, these kind of questions are really best just asked here (on the forums) or on someone's talk page. CSS and HTML questions are really out of the scope of a wiki help page.
- I don't think you should worry about asking these kind of questions here. Even if they aren't really wiki specific, they are pertinent to creating content on the wiki. Feel free to keep asking. --
Beware the sneaky smile! Fandyllic (talk · contr) 12:03 AM PST 9 Oct 2009
- Thanks for the help. Anyway, decided to create a new topic for the next question, since it has nothing to do with this; partially.--Lon-ami (talk) 19:48, October 11, 2009 (UTC)