GreyIOutcast's avatar
Are you talking about block display type?

If you mean to have it so it would be like:

_______
| border |
| | Text ||
| |Text_||
|______|

Like that?

That is done by the "display" property. Value can either be Inline, or Block. Block is the thing shown above. Inline is just part of the text.
drachenmagier's avatar
Uhm... I have the same question as Traconian but I don't think I understood that explenation. Could you repeat it for me please? I was looking for a posibility to create a lighter textfield in the middle of the journal with the "normal" bg all around it. Like :icondamntorren: did it with hers (just as example. I don't want to copy hers)
GreyIOutcast's avatar
Okay, so to make like a separate text box, like one with its own border and padding and everything, have a <div> tag around the text and make sure to set the display property to block. So it should look like...


.textbox {
display: block;
}


And any other properties, positioning, and whatever, you can include as you wish. OH, and if you are going to use positioning, be prepared to realize that absolute will put it in the upper-left portion of the ENTIRE page, so use relative instead.
drachenmagier's avatar
Tnx. Hm... I just tried around a bit more... Everything works fine except that there is no border around the part I wanted a border around... I toyed around with my first journal ever. No one's going to see that ever again anyway. ;) I tried to putt the third paragraph into a box that is clearly visible on the bg but the only thing I get is that this part of the text is slightly farther on the inside and there is a broader part with no text on the upper and lower part (darn, it's hard to write such things in a foreign language! °A° Buuuut, I think it works. ^^ )

I'll leave it like that for a moment so maybe you can take a look to show you what I ment in the stuff I just wrote... Not pretty clear, what I typed here... Sry. Sorry to bother you so much with it. I hope it's not too much trouble.

Here's the journal: [link]
GreyIOutcast's avatar
Well, there are 3 forms of borders, really. Theres the padding, the border, and the margin. And if you put a border around an INLINE thing, then it should go around only the text within the <div> tag, I'm pretty sure. I must experiment with that sometime tomorrow in Web Design. Well, good luck!
drachenmagier's avatar
Nope, not working. The only thing I get that way is that it's like the third paragraph in the journal, just a bit farther on the inside and with that absolutely not what I was trying to do... :/
GreyIOutcast's avatar
Well, sometimes stuff can be figured out by playing around. But if you're still stumped, I recommened [link]

Well, once again, good luck mate!
drachenmagier's avatar
Thank you and sorry that I bothered you with my non-knowledge. ^^'''' I tend to be too curious for my own good. Thank you very much for your patience! And all the info of course. *nod*
View all replies
IamBrohkai's avatar
little late reply ^^; already figured it out, but thanks ^^;
GreyIOutcast's avatar
Haha, yeah, I don't read the news on here too often. Every once and awhile I'll check up, but not often. xD
IamBrohkai's avatar
XD
well it's understandable lol