theeverdream (
theeverdream) wrote2011-03-24 07:26 pm
Erm.
Anybody know how people get those nice narrow columns of text in the normal (unformatted) lj entry style? CSS doesn't work in the entry of course, and preformatted font with a width value thing isn't working.
Is it inline CSS? Margin or something? Does inline CSS even work in lj (not in the journal styles, I mean, but in the actual entries)? Or maybe tables? Or maybe I've dreamed up the whole thing. Hmm.
ETA: Answered!
wintermute_lj is fantastic!!
Is it inline CSS? Margin or something? Does inline CSS even work in lj (not in the journal styles, I mean, but in the actual entries)? Or maybe tables? Or maybe I've dreamed up the whole thing. Hmm.
ETA: Answered!

no subject
no subject
Like... in this entry, instead of the text going across the whole screen, it goes across 50% of the screen or whatever. Does that make sense?
no subject
Hmm... well, it's either tables or inline css. I think inline CSS works, because some of the programming (like text color and styling) are done by inline CSS using the <span> tag. I mean, you can't use a div tag to create spaces because you're styling text, but you can define the margins I think, but you'd have to do it for every paragraph. The simpler method is just create a table, set the border and spacing to 0 then you won't see the lines.
no subject
no subject
<table width=## border=0 cellspacing=0 cellpadding=0 align=center>
<tr>
<td>
insert everything here
</td>
</tr>
</table>
you get more control with inline CSS + tables, if you were so inclined, but just inline CSS works equally well. But I think most people format their profile pages (bio section) using tables, it's easier to control .
no subject
no subject
it's weird that some styles have no stylesheets for the entry pages...
no subject
no subject
no subject
no subject
no subject
also! (http://pics.livejournal.com/theeverdream/pic/000dhqbp) :)
no subject
and thank you :D (and what kind of effect was that you used?)
no subject
You are very welcome - I am just so very pleased about the table, I'm gonna be smiling for a long time :)
no subject
lol... the table trick is something most people overlook when looking for solutions, but most of the time simple is best!
no subject
no subject