4 replies [Last post]
chadbobb
Offline
newbie
Last seen: 15 years 42 weeks ago
Joined: 2004-10-14
Posts: 3
Points: 0

Hi i am new to this board.

I don't hardly anything about css. But i have been editing phpbb's css file and i am have a hard time getting text to fit how i want it.

I figured out most of what i want but what my main problem is i can't get some text to have small enough lines. Above my text there is like 12pixles that i don't want. I want to make the text closer to together.

I would really apreciate any help

Thanks

obsidian
Offline
Enthusiast
South Carolina
Last seen: 13 years 41 weeks ago
South Carolina
Joined: 2004-08-15
Posts: 136
Points: 0

I need to close up lines

well, there is usually a pretty easy solution to spacing problems. first thing you need to do is check the css for the tags the text is in. if it is <p> tags, you may need to add a "margin-top: 0; padding-top: 0;" to your css. then, you can change the 0 to however many pixels you want for space if you care to. otherwise, you may need to check how many pixels your table cell has for spacing. if your <td> tag is the culprit, you may need to adjust that css accordingly instead.

hope this helps!

You can't win, you can't lose, you can't break even. You can't even get out of the game!

chadbobb
Offline
newbie
Last seen: 15 years 42 weeks ago
Joined: 2004-10-14
Posts: 3
Points: 0

I need to close up lines

That didn't work.

Do you mean if it is a <p> tag in the html file?

co2
co2's picture
Offline
Leader
UK
Last seen: 12 years 16 weeks ago
UK
Joined: 2003-09-17
Posts: 721
Points: 0

I need to close up lines

Just to expand on what obsidian is suggesting, rather than just removing the margin from the top, first of all zero it all, with margin: 0; on the offending element.

Also, do the same with the padding of container elements (as obsidian also suggests).

The next sentence is true. The previous sentence is false. Discuss...

chadbobb
Offline
newbie
Last seen: 15 years 42 weeks ago
Joined: 2004-10-14
Posts: 3
Points: 0

I need to close up lines

thanks. I finally got it to work when i read what he said reallly really slowly i noticed i could mess with the td commands because they were already in the css file. So i added them to the link stuff (because they were links) and with a little more tweaking of the text size i got it to fit just right. Thanks maybe ill stick around here for a while Laughing out loud