View Full Version : margins, sort of


weird girl
01-17-2004, 11:57 PM
This is kinda complicated to explain but how do you get a pargraph to be like for instance 5 in on the left and 5 in on the right but only one paragraph?

kittycat
01-18-2004, 12:17 AM
In CSS:

.indent {
padding-left: 5px;
padding-right: 5px;
}

HTML:

<p class="indent">text here</p>

Try that.

weird girl
01-18-2004, 12:23 AM
it didn't work :crying: Let me see if I can show you what I mean:

>>>>>>>>>>words, more words blah de blah de blah and yeah>>>>>>>>>>
>>>>>>>>>>and here we have even more words blah blah>>>>>>>>>>
>>>>>>>>>>blah... and now this is the end of the blah de blah>>>>>>>>>>

like that, without the >>>'s and only one paragraph.

MaGiCSuN
01-18-2004, 12:25 AM
what kittycat means is that you have to put the paragraph you want to look like that between those <p> and </p> tags, and the rest outside of it :)

Love,
Mirna

weird girl
01-18-2004, 12:27 AM
what kittycat means is that you have to put the paragraph you want to look like that between those <p> and </p> tags, and the rest outside of it :)

Love,
Mirna

I did that but it didn't work :( and besides I think that only does that to the very first line.....

My browser seems to have something against the <p> tags

MaGiCSuN
01-18-2004, 12:34 AM
then try :

.indent {
padding-left: 5px;
padding-right: 5px;
}

<span class="indent">text here</span>

instead :) I'm not sure if it will work, just see

Love,
Mirna

weird girl
01-18-2004, 12:43 AM
nope didn't work :( unless there's some special place that the
.indent {
padding-left: 5px;
padding-right: 5px;
}
has to go...

starlet
01-18-2004, 12:57 AM
That goes between the head tags..with the css stuff...

weird girl
01-18-2004, 01:09 AM
Ahh I finally got the thing to do what I want.... with tables :)

pb&j
01-18-2004, 03:43 AM
just as an alternative,
perhaps this may achieve the effect you (or someone future) may want...

<blockquote>
text stuff here.
</blockquote>