Go Back   SitePoint Forums > Forum Index > Design Your Site > Web Page Design > Accessibility and Usability
Newsletter FAQ Members List Calendar Mark Forums Read

New to SitePoint Forums? Register here for free!

SitePoint Sponsor
 
View Poll Results: Which type of formatting is (more) appropriate ??
to use the colon char before the closing tag 13 86.67%
to use the colon char after the closing tag 2 13.33%
Voters: 15. You may not vote on this poll

Reply
 
Thread Tools Display Modes
Old Sep 28, 2006, 19:25   #1
satyr
SitePoint Enthusiast
 
Join Date: May 2006
Location: Ljubljana, Slovenija, Europe
Posts: 34
Exclamation A formatting question that may sound strange to you

Well, I really don't know if this is the right section, but I couldn't find a better one. Anyways, I must also confess that this thread is most probably the "result" of my obsessive pedantry, and the result of me being a kind of a "formatting maniac" ...


For instance, consider my software.html page. As you can see, in all cases where I link to some program's website, I use the colon character after the "strong" closing/ending tag. But the thing is that on the very same page, I also use it the other way, i.e. use the colon char before the closing tag so that it's itself bold too.


The example of one such program's link:

Code:
... <strong>BartPE</strong>: <a href="http://www.nu2.nu/pebuilder" onclick="target='_blank';">http://www.nu2.nu/pebuilder</a> ...
The example of one such navigational text:

Code:
<strong>My various blogs:</strong>
Code:
<strong>TinyURL:</strong>
Code:
<strong>Disclaimer 1:</strong>
So since I am a "formatting maniac" (i.e. I like things to be "consistent" through the whole site/page), I've decided to use the same formatting in both cases (i.e. in case of programs and these navigational etc. texts), therefore I am curious: by various written or un-written design standards, which option from the two is better, and which one would you prefer personally.


thanks in advance, satyr
satyr is offline   Reply With Quote
Old Sep 28, 2006, 20:40   #2
BPartch
Is in total shock!!!!!
 
BPartch's Avatar
 
Join Date: Jul 2003
Location: Texas
Posts: 6,597
I voted before the closing tag. It seems more appropriate than after to me and that is my personal taste. I am not sure if one way is more correct than the other.
BPartch is online now   Reply With Quote
Old Sep 28, 2006, 22:00   #3
Tyssen
SitePoint Wizard
 
Tyssen's Avatar
 
Join Date: Oct 2005
Location: Brisbane, QLD
Posts: 4,008
I think from a semantic point of view it should be after the tag as the bit you're emphasising is the text, not the fact that there's a separation between one part of the sentence and the next (unless you think the separation itself is worth emphasising, but even then my opinion would be that it's a different sort of emphasis to the one placed on the text itself).
However, from a visual point of view, I think the colon looks better if it is in bold due to the fact that there's no space between the bold text and the colon but there is between the colon and the non-bold text.
Tyssen is offline   Reply With Quote
Old Sep 29, 2006, 02:37   #4
C. Ankerstjerne
SitePoint Wizard
 
C. Ankerstjerne's Avatar
 
Join Date: Jan 2004
Location: The Kingdom of Denmark
Posts: 2,177
I voted 'before'. The reason is, that the colon substitutes a period. If a sentence was bold, and contained a period, the period should be bold as well, since it's a part of the sentence.
C. Ankerstjerne is online now   Reply With Quote
Old Sep 29, 2006, 05:49   #5
satyr
SitePoint Enthusiast
 
Join Date: May 2006
Location: Ljubljana, Slovenija, Europe
Posts: 34
Thanks much all for your replies !!


satyr
satyr is offline   Reply With Quote
Old Sep 29, 2006, 06:02   #6
zcorpan
 
Join Date: Dec 2004
Location: Sweden
Posts: 2,423
Quote:
Originally Posted by C. Ankerstjerne
I voted 'before'. The reason is, that the colon substitutes a period. If a sentence was bold, and contained a period, the period should be bold as well, since it's a part of the sentence.
+1.
zcorpan is offline   Reply With Quote
Old Sep 29, 2006, 06:09   #7
sonjay
SitePoint Addict
 
Join Date: Jan 2002
Location: Southwest Florida
Posts: 382
It sounds like you've got a good consensus, but I just wanted to add that in conventional typography, the rule has always been that (with few exceptions) punctuation following text that's bolded, italicized, etc., takes the formatting of the text preceeding it.

I disremember the few exceptions, but it's a pretty safe rule of thumb: an italic word followed by a comma -- the comma is italic. Bold word followed by a period -- the period is bold. And so forth.
sonjay is offline   Reply With Quote
Old Sep 29, 2006, 06:40   #8
Dan Schulz
In memoriam
SitePoint Award Recipient
 
Dan Schulz's Avatar
 
Join Date: May 2006
Location: Aurora, Illinois
Posts: 15,648
Quote:
Originally Posted by sonjay
It sounds like you've got a good consensus, but I just wanted to add that in conventional typography, the rule has always been that (with few exceptions) punctuation following text that's bolded, italicized, etc., takes the formatting of the text preceeding it.

I disremember the few exceptions, but it's a pretty safe rule of thumb: an italic word followed by a comma -- the comma is italic. Bold word followed by a period -- the period is bold. And so forth.
That's what I do as well.
Dan Schulz is offline   Reply With Quote
Old Sep 29, 2006, 12:56   #9
satyr
SitePoint Enthusiast
 
Join Date: May 2006
Location: Ljubljana, Slovenija, Europe
Posts: 34
Well, and now I got so many different opinions that I am even more confused, lol ...


greetings, satyr
satyr is offline   Reply With Quote
Old Sep 29, 2006, 13:28   #10
sonjay
SitePoint Addict
 
Join Date: Jan 2002
Location: Southwest Florida
Posts: 382
No no ... we're all (well, almost all) saying the same thing! The punctuation -- the colon, in this case -- "belongs to" the preceeding text, therefore it should take on the same style as the preceeding text.
sonjay is offline   Reply With Quote
Old Sep 29, 2006, 17:35   #11
Dan Schulz
In memoriam
SitePoint Award Recipient
 
Dan Schulz's Avatar
 
Join Date: May 2006
Location: Aurora, Illinois
Posts: 15,648
Four out of five people agree that <strong>text:</strong> is the proper usage here.

Last edited by Paul O'B; Oct 1, 2006 at 09:22.
Dan Schulz is offline   Reply With Quote
Old Sep 29, 2006, 17:57   #12
satyr
SitePoint Enthusiast
 
Join Date: May 2006
Location: Ljubljana, Slovenija, Europe
Posts: 34
By the way guys, this particular NogDog's post on the WebDeveloper forums is very interesting, i.e. he pasted some related "formatting rules" from the Chicago Manual of Style, as stated on the linked page, they are "The bible of the publishing and research ...".


satyr

Last edited by satyr; Sep 29, 2006 at 19:33. Reason: a minor fix
satyr is offline   Reply With Quote
Old Sep 29, 2006, 18:31   #13
satyr
SitePoint Enthusiast
 
Join Date: May 2006
Location: Ljubljana, Slovenija, Europe
Posts: 34
Lightbulb

Quote:
Originally Posted by sonjay
No no ... we're all (well, almost all) saying the same thing! The punctuation -- the colon, in this case -- "belongs to" the preceeding text, therefore it should take on the same style as the preceeding text.
Oh you know, I meant also on other forums where I asked this particular question, to get as much different opinions as possible !!


satyr

Last edited by satyr; Sep 29, 2006 at 19:35. Reason: minor fix
satyr is offline   Reply With Quote
Old Sep 29, 2006, 21:18   #14
sonjay
SitePoint Addict
 
Join Date: Jan 2002
Location: Southwest Florida
Posts: 382
The Chicago Manual section is what I was (vaguely) remembering in my earlier post. As that excerpt shows, it explicitly states "periods, commas, colons, and semicolons should appear in the same font as the word, letter, character, or symbol immediately preceding them if different from that of the main or surrounding text." You can't get much clearer than that.
sonjay is offline   Reply With Quote
Old Sep 30, 2006, 07:22   #15
C. Ankerstjerne
SitePoint Wizard
 
C. Ankerstjerne's Avatar
 
Join Date: Jan 2004
Location: The Kingdom of Denmark
Posts: 2,177
Don't listen to what they say at other forums. This forum is better
C. Ankerstjerne is online now   Reply With Quote
Old Sep 30, 2006, 20:38   #16
satyr
SitePoint Enthusiast
 
Join Date: May 2006
Location: Ljubljana, Slovenija, Europe
Posts: 34
Exclamation

Quote:
Originally Posted by sonjay
The Chicago Manual section is what I was (vaguely) remembering in my earlier post. As that excerpt shows, it explicitly states "periods, commas, colons, and semicolons should appear in the same font as the word, letter, character, or symbol immediately preceding them if different from that of the main or surrounding text." You can't get much clearer than that.
Well, as you can see from this particular NogDog's reply in a same thread that I opened on WebDeveloper forums, it seems that the linked "Chicago Manual" article isn't so certain about which form is "correct", or more "appropriate".


satyr
satyr is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread | Next Thread »

Thread Tools
Display Modes

 
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 Off
Sponsored Links
 
Forum Jump


All times are GMT -7. The time now is 16:45.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright 1998-2009, SitePoint Pty Ltd. All Rights Reserved