View Full Version : "Justify" Text Certain Width, One Line of Text


designgURL
04-04-2003, 04:26 AM
I want to "justify" my text, just one line, as wide as the image is above it, I put it in a table with the same width and have justify text in my css. What else can I do?

(I don't know if you can justify text that's one line but you can fit text into a table, right? So why won't one line do it.)

I'm thinking something with div but I don't know how to search for it cuz I'd need to know what to call it.

I didn't see anything like this on lissa's site.

To see what I want my page is at: spice.zinespot.net/issues/08/index.html

Also I don't even know if my justify thing worked here's what I have in my stylesheet for tables and just text:
text-align:justify

I saw that on a site. I never used justify like that before, though.

If you need more info, ask.

Oh and another thing I put the center tag inside my table before the image but it made the line of text have a space between it and the image instead of just regular br line break.

PS. I just added two extra ='s (you'll have to click to understand) so it almost aligns but i want it perfect.

Xiphias
04-04-2003, 12:04 PM
could you post a link to the page you're experimenting with?

designgURL
04-04-2003, 02:04 PM
Sorry there just wasnt a http:// but you could have copied and pasted. Here: http://spice.zinespot.net/issues/08/

And that url is now frames but you'll see the page anyway, here'sthe new specific page:
http://spice.zinespot.net/issues/08/cover.html



Grr this was hard, when I'm on webpages lately and typing in them, it skips some letters. It did like 6 this time. (Have to retype)

Xiphias
04-04-2003, 09:29 PM
oops, didn't even notice that line in your post, sorry... well if you just want the text justified in the one cell, add style="text-align: justify;" to the cells begginer code... Like this:

<td style="text-align: justify;">

designgURL
04-04-2003, 11:24 PM
ahh well it's all in a table and i want it all justified.. i'll see what if that changes anything tho.

there will be more text but i hvaen't written it yet.. but it won't be right with that text, like a p line break later.