Go Back   PCMech Forums > Help & Discussion > Internet, Web Applications, & The Cloud

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 10-30-2000, 03:44 PM   #1
Member (10 bit)
 
Join Date: Mar 1999
Location: Random
Posts: 997
Unhappy

Here is the code I am using.

<-p style="text-align:justify; line-height:200%; text-indent:25">"Paragraph text goes here.<-/p>
<-p>Next paragraph goes here.<-/p>
etc (of course without the dashes).


The problem is, when it regurgitates it back, it does so correctly inside each paragraph. The problem is the exta space BETWEEN the paragraphs which is driving me nuts. It looks like this:



Here is my first paragraph. Every line is justified as it should be. Every line within the paragraph is double spaced as it should be. I have no complaints about this. In fact I am happy about this. It took me a little while to work out all the problems between Netscape and MS browsers. The problem comes when I make a new paragraph, as you will hopefully see.


This is what it looks like. I can not figure out how to control the spaces between paragraphs. Is there something I am missing, or is it a missuse of tags, or something more sinister that requires changing.


Here is another paragraph just for fun.



Any suggestions?

Respectfully,

Demosthenes
Demosthenes is offline   Reply With Quote
Old 10-30-2000, 08:57 PM   #2
Computer Tool
 
K A Hall's Avatar
 
Join Date: May 1999
Location: Springfield, Missouri
Posts: 1,536
I think this will work for you.
<p style="text-indent: 25px; line-height: 200%; text-align: justify; margin-top: 0; margin-bottom: 0">paragraph goes here</p>
__________________
Breitbart is here: War! on Twitter @kirkahall
K A Hall is offline   Reply With Quote
Old 11-03-2000, 04:21 PM   #3
Member (10 bit)
 
Join Date: Mar 1999
Location: Random
Posts: 997
That did it, at least for IE. Netscape does not like the margin-top or margin-bottom stuff. I can not think offhand what Netscape will take, but I can easily find that out. Thanks.

Respectfully,

Demosthenes
Demosthenes is offline   Reply With Quote
Old 11-03-2000, 07:48 PM   #4
Member (10 bit)
 
Join Date: Mar 1999
Location: Random
Posts: 997
All right, new problem.

The paragraphs created using the margin-top:0 and margin-bottom:0 in CSS work fine with Microsoft Internet Explorer. But, that is only half of my battle. I also want them to match up with Netscape.

When using Microsoft Internet Explorer, the code is recognized and it puts a margin of 0 in for the top and bottom of every paragraph. Netscape however has its own agenda.

While it recognizes the zero margin, it still has adds space between the paragraphs. This can be remedied, however, by using a negative margin for the top and bottom. But, while Netscape recognizes this, IE (which already removes the space) crams the paragraphs together, so they overlap.

This means that this either works for Netscape, or IE, but not both. What is that something besides the margins that Netscape keeps adding to the top and bottom of the paragraphs? Is it a border? Or something like that?


Here is the same stuff, but using a negative border.


The paragraphs created using the margin-top:0 and margin-bottom:0 in CSS work fine with Microsoft Internet Explorer. But, that is only half of my battle. I also want them to match up with Netscape.

When using Microsoft Internet Explorer, the code is recognized and it puts a margin of 0 in for the top and bottom of every paragraph. Netscape however has its own agenda.

While it recognizes the zero margin, it still has adds space between the paragraphs. This can be remedied, however, by using a negative margin for the top and bottom. But, while Netscape recognizes this, IE (which already removes the space) crams the paragraphs together, so they overlap.

This means that this either works for Netscape, or IE, but not both. What is that something besides the margins that Netscape keeps adding to the top and bottom of the paragraphs? Is it a border? Or something like that?



Try viewing this in IE and Netscape. It is different (hopefully, it is not just me). The first looks right in IE, the second is correct in Netscape. I am trying to iron out differences in CSS.

Respectfully,

Demosthenes

[Edited by Demosthenes on 11-03-2000 at 09:50 PM]

Demosthenes is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 04:15 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2