[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sc-dev] p tags in docs



Hiho,

On Friday 19 December 2008 19:48:37 Scott Wilson wrote:
> Okay, this is not entirely without issues. Altered margins seem to get
> lost on wrap. Suggestions?

The question is, is it worse than other users having to deal with this 
difference?

To me the changed marging is less serious a drawback, then having things be 
spaced all the time. (see sinosc.jpg for a comparison of the two example 
files, and see pitchshift2.jpg of how serious the problem can be with the 
double spacing). Pitchshift would look a lot better with the div tags instead 
of the p tags.

If you look at the source code of the HTML (see the snippet below), there is 
nothing which sets in the css that sets the margin, so also in another 
browser, this is not done. (see pitchshift.jpg).

There is no set way of how to visually interpret p tags. They are markup for 
indicating a new paragraph (where adding a empty line makes sense, especially 
in a text based browser), so using them to indicate a certain visual style is 
a hack.

sincerely,
Marije


<style type="text/css">
p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Helvetica}
p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; font: 18.0px Helvetica; min-height: 
22.0px}
p.p3 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica}
p.p4 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; min-height: 
14.0px}
p.p5 {margin: 0.0px 0.0px 0.0px 0.0px; font: 9.0px Monaco}
p.p6 {margin: 0.0px 0.0px 0.0px 0.0px; font: 9.0px Monaco; min-height: 12.0px}
p.p7 {margin: 0.0px 0.0px 0.0px 0.0px; font: 9.0px Monaco; color: #9d1c12}
p.p8 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Monaco; min-height: 
16.0px}
span.s1 {font: 18.0px Helvetica}
span.s2 {color: #0026b4}
span.Apple-tab-span {white-space:pre}
</style>

Attachment: sinosc.jpg
Description: JPEG image

Attachment: pitchshift.jpg
Description: JPEG image

Attachment: pitchshift2.jpg
Description: JPEG image