Aldro (
aldro) wrote in
style_system2011-05-17 01:18 pm
![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
![[community profile]](https://www.dreamwidth.org/img/silk/identity/community.png)
Entry tags:
Line in Entries
I sometimes post a line (code is <hr>) in my entries to seperate topics and I noticed that the line doesn't spread out over the entire lenght of my entry holder, like it should and does in some of my friend's posts. I don't know if that's due to some code in my CSS or if there's another reason for this. However, I would like to change it. Does anybody know how?
P.S. I don't have an example image, but I can make one if necessary. Thanks in advance!
P.S. I don't have an example image, but I can make one if necessary. Thanks in advance!
no subject
.entry-content hr,
.comment-content hr {
display: block;
margin: 1em 10%;
}
You can input the edited css here: http://www.dreamwidth.org/customize/options?group=customcss - I assume this would work:
.entry-content hr,
.comment-content hr {
margin: 0;
}
I'm not actually sure what
display: block
does for a horizontal line, but I'm sure someone else does.no subject
no subject
no subject
no subject
At any rate, I was unable to persuade an hr element to allow any content to its left or right by putting { display:inline; } in its styling, but that may be peculiar to IE7. I'll try later when I have access to Chrome.
no subject
no subject
no subject
display: inline-block
, which makes it horizontal, but inline. So it ... may have been doing something at some point to explicitly declaredisplay: block
, but who knows.no subject
My guess: it separates it presentation-wise from the rest of the style elements. So it doesn't wrap into sentences above and below it, for example. And so you can set margins for it so it won't hang right under the last sentence and right over the next one (because the point of hr is to put lots of space between your last set of thoughts and your next, within one post - to change the subject entirely, in other words).