www.webdeveloper.com
Recent Articles
  • Finding Slow Running Queries in ASE 15
  • A More Advanced Pie Chart for Analysis Services Data
  • Adobe AIR Programming Unleashed: Working with Windows
  • Performance Testing SQL Server 2008's Change Data Capture Functionality
  • The ABC's of PHP: Introduction to PHP
  • How to Migrate from BasicFiles to SecureFiles Storage
  • Why the Twitter Haters Are Wrong
  • User Personalization with PHP: Beginning the Application
  • Whats in an Oracle Schema?
  • Lighting Enhancement in Photoshop
  •  

    Go Back   WebDeveloper.com > Client-Side Development > General

    General Discussion and support for your general issues associated with web design.

    View Poll Results: Which type of formatting is better ??
    using the colon after the closing tag 1 100.00%
    using the colon before the closing tag 0 0%
    Voters: 1. You may not vote on this poll

    Reply
     
    Thread Tools Search this Thread Rate Thread Display Modes
      #1  
    Old 09-28-2006, 05:46 PM
    tayiper's Avatar
    tayiper tayiper is offline
    self-taught web-developer
     
    Join Date: May 2006
    Location: Ljubljana, Slovenia, Europe
    Posts: 70
    Question A question on formatting that may sound very strange to you

    Yeah it's true, this thread is more or less the result of me being obsessively overly pedant, and additionally 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.


    An 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> ...
    An example of one such navigational text:

    Code:
    <strong>My various blogs:</strong>
    Code:
    <strong>TinyURL:</strong>
    Code:
    <strong>Disclaimer 1:</strong>
    So since, as mentioned, I am a "formatting maniac" (and therefore I like things being consistent through the 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 is better, and which one would you prefer personally.


    thanks in advance, tayiper
    __________________
    If you want, please check out my main site: http://tadej-ivan.50webs.com/ (XHTML/CSS, W3C-valid), and enjoy reading my computing-related discoveries, hints, principles, and rules ...

    Last edited by tayiper; 09-28-2006 at 05:55 PM. Reason: a minor formatting fix
    Reply With Quote
      #2  
    Old 09-28-2006, 05:59 PM
    House of Haus's Avatar
    House of Haus House of Haus is offline
    Registered User
     
    Join Date: Sep 2006
    Location: St. Louis, MO
    Posts: 30
    In one of my sites, I use
    Code:
    <em>something</em>;
    a lot, and I always put the semicolon after the closing tag.
    Reply With Quote
      #3  
    Old 09-28-2006, 06:05 PM
    tayiper's Avatar
    tayiper tayiper is offline
    self-taught web-developer
     
    Join Date: May 2006
    Location: Ljubljana, Slovenia, Europe
    Posts: 70
    OK, thanks much for sharing your experiences/choices ...


    tayiper
    __________________
    If you want, please check out my main site: http://tadej-ivan.50webs.com/ (XHTML/CSS, W3C-valid), and enjoy reading my computing-related discoveries, hints, principles, and rules ...
    Reply With Quote
      #4  
    Old 09-28-2006, 07:18 PM
    toicontien's Avatar
    toicontien toicontien is offline
    er, I mean toicantien
     
    Join Date: Feb 2003
    Location: Chicago Area, IL
    Posts: 5,434
    If you want screen readers to read the colon in the "stronger emphasis" or "emphasis" voice, place it inside the STRONG or EM tags. Otherwise, you normally can't see a difference in how they look, save for large text sizes maybe. I mix and match.
    Reply With Quote
      #5  
    Old 09-28-2006, 08:17 PM
    NogDog's Avatar
    NogDog NogDog is offline
    High Energy Magic Dept.
     
    Join Date: Aug 2004
    Location: Ankh-Morpork
    Posts: 13,640
    For what it's worth, all the print style guides I've dealt with in the past would specify that the colon should have the same type style/weight as the word that it adjoins, so in the above examples it would be included within the 'strong' elements.
    __________________
    "That's what the gods are! An answer that will do! Because there's food to be caught and babies to be born and life to be lived and so there is not time for big, complicated, and worrying answers! Please give us a simple answer, so that we don't have to think, because if we think, we might find answers that don't fit the way we want the world to be." -- from Nation, by Terry Pratchett
    freelancer.internet.com
    Email me
    Reply With Quote
      #6  
    Old 09-29-2006, 02:48 PM
    tayiper's Avatar
    tayiper tayiper is offline
    self-taught web-developer
     
    Join Date: May 2006
    Location: Ljubljana, Slovenia, Europe
    Posts: 70
    Ehmm, now I got so many different opinions (also on other forums) that I am even more confused than previously, lol ...


    tayiper
    __________________
    If you want, please check out my main site: http://tadej-ivan.50webs.com/ (XHTML/CSS, W3C-valid), and enjoy reading my computing-related discoveries, hints, principles, and rules ...
    Reply With Quote
      #7  
    Old 09-29-2006, 05:05 PM
    NogDog's Avatar
    NogDog NogDog is offline
    High Energy Magic Dept.
     
    Join Date: Aug 2004
    Location: Ankh-Morpork
    Posts: 13,640
    If it makes you feel any better, even the Chicago Manual of Style is kind of wishy-washy about it:
    Quote:
    6.3 Punctuation and font: primary system

    All punctuation marks should appear in the same font—roman or italic—as the main or surrounding text, except for punctuation that belongs to a title or an exclamation in a different font. This departure from Chicago’s former usage serves both simplicity and logic.

    Smith played the title role in Hamlet, Macbeth, and King Lear; after his final performance, during which many in the audience wept, he announced his retirement.
    Many editors admire Wired Style: it is both elegant and easy to use.
    An Apache Life-way: The Economic, Social, and Religious Institutions of the Chiricahua Indians
    Are you saying the wound was self-inflicted?
    She is the author of What Next?
    For light entertainment he reads King Lear!
    The manual Online! is always at my elbow.
    We heard his cries of “Help!
    Quote:
    6.5 Punctuation and font: alternative system

    According to a more traditional system, 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. In the first example in 6.3, the first two commas and the semicolon would be italic. Question marks and exclamation points, however, should appear in the same font as the immediately preceding word only if they belong to a title or an exclamation (see examples in 6.3).
    __________________
    "That's what the gods are! An answer that will do! Because there's food to be caught and babies to be born and life to be lived and so there is not time for big, complicated, and worrying answers! Please give us a simple answer, so that we don't have to think, because if we think, we might find answers that don't fit the way we want the world to be." -- from Nation, by Terry Pratchett
    freelancer.internet.com
    Email me
    Reply With Quote
      #8  
    Old 09-29-2006, 08:14 PM
    tayiper's Avatar
    tayiper tayiper is offline
    self-taught web-developer
     
    Join Date: May 2006
    Location: Ljubljana, Slovenia, Europe
    Posts: 70
    Thanks much "NogDog" for the link and pasted text !!


    tayiper
    __________________
    If you want, please check out my main site: http://tadej-ivan.50webs.com/ (XHTML/CSS, W3C-valid), and enjoy reading my computing-related discoveries, hints, principles, and rules ...
    Reply With Quote
    Reply

    Bookmarks


    Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
     
    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 Off
    HTML code is Off
    Forum Jump


    All times are GMT -5. The time now is 10:23 PM.



    Acceptable Use Policy

    internet.comMediabistrojusttechjobs.comGraphics.com

    WebMediaBrands Corporate Info


    Advertise | Newsletters | Feedback | Submit News

    Legal Notices | Licensing | Permissions | Privacy Policy

    Powered by vBulletin® Version 3.7.3
    Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.