Help - Search - Members - Calendar
Full Version: Spaces between sections
Hydrogenaudio Forums > Knowledgebase Project > Wiki Discussion
pepoluan
I see that some HA Wiki pages don't have space between sections. I added some downloads for FLAC in the downloads page and it also runs into the next section.

See the main page. The "Audio Formats" section runs into the "Container Formats" section. Yet the "Container Formats" section does not run into the "Audio Hardware & CD Ripping".

How to make space between sections?

Jan S.
2 blank lines before the heading.
See the main page now.
pepoluan
Ah, I see. Thanks. Now I can reformat the downloads page smile.gif
Synthetic Soul
I'm surprised that the headings used are the same level/style as the page heading. This gives the impression, for example, that "Introduction & User Guides" is at the same level as "Main Page".

In my user page, and that of Tag.exe and Wapet I used lower level headings to distinguish the page heading/title from any subheadings.

I have an urge to start adding to the wiki myself, so this small matter interests me.

Edit: I see, from looking at the source, that the page heading is classed, i.e.: h1.firstHeading. Perhaps firstHeading could be defined so that there was some distinction between the page header/title and a heading?

Just me being my usual anal self...

NB: Once you have answered, either way, I will amend the pages I created to follow the norm.
HotshotGG
QUOTE
I have an urge to start adding to the wiki myself, so this small matter interests me.


Then what in the name of Highwater are you waiting for! it's bad enough people don't bother to go search through it to find answers to some of the their questions, instead they wind up creating a post bitching about the same topics over and over again. biggrin.gif. The wiki is a little disorganized right now, but it's getting there. When you are writing articles it's best to use a reference or source and to make sure everything make sense. Dibrom should have kept it so that the site opens to wiki rather than the main page. Appearently too many people were "inconvienced" by that though and it was changed back for some reason. Anyway at all costs just focus on the content of the articles for now wink.gif.
Synthetic Soul
I've just spent my lunchtime beginning a page regarding Par2.

However, I would like to clear up this formatting question so that I don't have to revisit pages.

I totally agree that the wiki is underused, and that more effort should be made populating the wiki and continually and unerringly pointing users to the wiki, rather than re-answering the same question over and over in the forum.

That is why I would like to start adding to the wiki - my first point of call being explanations of some of the archiving tools in use, like REACT, WACK, MAREO, FLACAttack, PAR2, etc.

NB: Not being used to case-sensitivity (being a Windows man) I have wrongly created my page as Par2, not PAR2. Can us mere mortals create redirect pages - so I could copy the content to PAR2 and then turn Par2 into a redirect, or visa-versa?
Jan S.
do redirects as here: http://wiki.hydrogenaudio.org/index.php?ti...OGG&redirect=no

About the heading... Wouldn't it be easier to just start with == as the main heading instead of =?
Anyway I won't do anything about this before my exams are over as I think it is a very minor issue...
Synthetic Soul
Thanks for the redirect tip Jan.

It is a minor issue.

I personally think it would be easiest (less work for all) to implement by amending the stylesheet, so that the style for current h1 was set as h1.firstHeading; the style for current h2 was set as h1, etc. - i.e.:

h1 > h1.firstHeading
h2 > h1
h3 > h2
h4 > h3
etc.

Then using =Heading= would get you what you currently get using ==Heading==, and users couldn't accidentally create a heading that looked at the same level as the page title.

New CSS code:

CODE
h1.firstHeading { font-size: 188%; }
h1 { font-size: 150%; }
h2, h3, h4, h5 {
   border-bottom: none;
   font-weight: bold;
}
h2 { font-size: 132%; }
h3 { font-size: 116%; }
h4 { font-size: 100%; }
h5 { font-size: 80%;  }


Either that, or amend the wiki PHP to map =Heading= to <h2> instead of <h1>; ==Heading== to <h3> instead of <h2>; etc. You shouldn't really have two <h1> headings on one page anyway.
Jan S.
Yes I will look into that when I have time... Won't promise anything right now due to exams.
Synthetic Soul
Sure, of course. I meant to say in my last post: Good luck!
Jan S.
Ok I just applied your recommendation and updated the wiki to latest version. Let me know if you like it better now.
Synthetic Soul
Thanks Jan. Looks a lot better to me. smile.gif

It makes sense for the page title to be distinct.

I have updated the Topic Index page to reflect the changes (and also implemented a consistent 2 space gap between all headers).

pepoluan
The 2 space gap is good kludge, but I really think styles is where the gap should be defined.

If someone edits a section, the 2 space gap between the section and the next section disappears, causing an ugly run-in.

Of course, same behavior does not happen if the whole wiki page is edited.
Synthetic Soul
QUOTE(pepoluan @ Jan 30 2006, 09:02 AM)
If someone edits a section, the 2 space gap between the section and the next section disappears, causing an ugly run-in.
Yes, I soon discovered this.

QUOTE(pepoluan @ Jan 30 2006, 09:02 AM)
The 2 space gap is good kludge, but I really think styles is where the gap should be defined.
True, very true. This may do:

CODE
h1.firstHeading { font-size: 188%; margin-top: 0px; }
h1 { font-size: 150%; margin-top: 1.5em; }

Jan S.
wouldn't the margin have to be set for all hX not just h1 or was that intentional?
Synthetic Soul
I guess it depends on whether you want to enforce a little more spacing for other headings. I think H2 could do with some. Here is an example of a few in a row, and they are a tad crowded.

I only quoted H1 as it was the only one I've seen stipulated.

I've done a little test and

CODE
h2 { font-size: 132%;  margin-top: 0.5em; }

... looks nice to me.
pepoluan
Scroll down on that page and see a very strange formatting:

The Subsection title "Container formats" is nearer to the text of the previous subsection than the text of the subsection itself.

I do believe this is not by design tongue.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.