Results 1 to 7 of 7

Thread: Inheritance Problem

  1. #1
    Join Date
    Apr 2012
    Location
    Central New Jersey
    Posts
    212
    Thanks
    77
    Thanked 3 Times in 3 Posts

    Default Inheritance Problem

    External CSS file has this code:

    Code:
    th.waitingTimes {
    	border-style: solid;
    	border-width: 2px;
    	border-color: blue;
    	margin: auto;
    }
    
    td.waitingTimes {
    	border-style: solid;
    	border-width: 2px;
    	border-color: blue;
    	margin: auto;
    }
    Related html code is:

    HTML Code:
    <a id="how-long"></a><p>Q17. How long must I wait before I can expunge my conviction?</p>
    
    <p>
    A.  All convictions require a waiting time before the court will let you expunge your record. Dismissals also will require a waiting time if the dismissal resulted from successful completion of a diversion.  These times are as follows:</p>
    <br />
    <table class="waitingTimes">
    <caption>Waiting Times in New Jersey Before Convictions and Some Dismissals Can Be Expunged<br /><br /></caption>
    <tr>
    <th>
    Nature of Conviction<br /><br />
    </th>
    <th>
    Waiting Time<br /><br />
    </th>
    </tr>
    <tr>
    <td>
    Crime (Felony)
    </td>
    <td>
    The full waiting period is ten years. However, the court will consider an application to expunge a felony conviction after five years. (The court refers to this as “early pathway.”) For early pathway, the court will require you to <a href="complexExpungements.php">show that granting the expungement is in the public interest</a>.
    </td>
    </tr>
    <tr>
    <td>
    Disorderly Persons Offense (Misdemeanor)
    </td>
    <td>
    The full waiting period is five years. However, the court will consider an application to expunge a disorderly persons conviction after three years. (The court refers to this as “early pathway.”) For early pathway, the court will require you to <a href="complexExpungements.php">show that granting the expungement is in the public interest</a> 
    </td>
    </tr>
    <tr>
    <td>
    Petty Disorderly Persons Offense (Misdemeanor)
    </td>
    <td>
    The full waiting period is five years.  However, the court will consider an application to expunge a petty disorderly persons conviction after three years. (The court refers to this as “early pathway.”) For early pathway, the court will require you to <a href="complexExpungements.php">show that granting the expungement is in the public interest</a>.
    </td>
    </tr>
    <tr>
    <td>
    Juvenile Adjudication
    </td>
    <td>
    Five years, or period for equivalent offense if committed by an adult, whichever is less.
    <br />
    <br />
    Note that <a href="sealing.php">a separate process exists</a> whereby records of juvenile adjudications that cannot be expunged may be “sealed.”  Sealing provides many of the same benefits that are obtained with expungement.  The waiting period to seal juvenile delinquency adjudications is two years.  For persons seeking entry into the United States Armed Forces, the two-year waiting period is waived.
    </td>
    </tr>
    <tr>
    <td>
    Municipal Ordinance
    </td>
    <td>
    Two years
    </td>
    </tr>
    <tr>
    <td>
    Young Drug Offender
    <br />(21 years of age or younger when offense was committed)&nbsp;&nbsp;&nbsp;
    </td>
    <td>
    One year
    </td>
    </tr>
    <tr>
    <td>
    Driving While Intoxicated (DWI/DUI)
    </td>
    <td>
    DWI/DUI arrests and convictions cannot be expunged under New Jersey law.  Please see Question 19, below, for more detailed information.
    </td>
    </tr>
    <tr>
    <td>
    Dismissal following successful completion of diversion (PTI, Conditional Discharge, or Conditional Dismissal)
    </td>
    <td>
    Six months
    </td>
    </tr>
    <tr>
    <td>
    Not guilty by reason of insanity, or not guilty for lack of mental capacity
    </td>
    <td>
    These dispositions cannot be expunged.  However, if there was a commitment to a mental health facility, it may be possible to <a href="mentalhealthrecords.php">expunge that commitment</a>.
    </td>
    </tr>
    <tr>
    <td>
    Final Restraining Order arising from domestic violence situation (“DVRO”)
    </td>
    <td>
    Records relating to restraining orders cannot be expunged because restraining orders are civil in nature, not criminal. <a href="http://www.marainlaw.com/page.php?here=dom_viol" target="_blank">Information about restraining orders</a> is available elsewhere.
    </td>
    </tr>
    <tr>
    <td>
    Dismissal, Other
    </td>
    <td>
    No waiting time at all.  Call us!
    </td>
    </tr>
    </table>
    The <th> and <td> elements are not presenting the borders that I seek. Other changes that I've made to the CSS file are duly reflected in the page presentation, so relating the external file to the page appears not to be the culprit. I suspect my error is "obvious," but I don't see it! Help anyone?

    (The malfunctioning display is at Question 17 on https://www.njexpungements.com/faq.php)

    A.
    Last edited by marain; 07-13-2018 at 04:35 PM. Reason: To mark "resolved"

  2. #2
    Join Date
    Nov 2014
    Location
    On A Scottish Island
    Posts
    482
    Thanks
    0
    Thanked 61 Times in 57 Posts

    Default

    The class "waitingTimes" is applied to the parent 'table' element and not to the 'th' and 'tr' elements. Try this:

    Code:
    table.waitingTimes th {
    	border-style: solid;
    	border-width: 2px;
    	border-color: blue;
    	margin: auto;
    }
    
    table.waitingTimes td {
    	border-style: solid;
    	border-width: 2px;
    	border-color: blue;
    	margin: auto;
    }

  3. #3
    Join Date
    Apr 2012
    Location
    Central New Jersey
    Posts
    212
    Thanks
    77
    Thanked 3 Times in 3 Posts

    Default

    No luck :-(

  4. #4
    Join Date
    Nov 2014
    Location
    On A Scottish Island
    Posts
    482
    Thanks
    0
    Thanked 61 Times in 57 Posts

    Default

    It works OK for me. You probably need to collapse the borders on the table.

    marain.html.txt

  5. The Following User Says Thank You to styxlawyer For This Useful Post:

    marain (07-13-2018)

  6. #5
    Join Date
    Jul 2018
    Location
    India
    Posts
    4
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default

    @marain I agree with code shared by @styxlawyer it works
    Check once more on your end

  7. The Following User Says Thank You to deepvyas For This Useful Post:

    marain (07-13-2018)

  8. #6
    Join Date
    Apr 2012
    Location
    Central New Jersey
    Posts
    212
    Thanks
    77
    Thanked 3 Times in 3 Posts

    Default

    Styxlawyer's text works on my end, too. When applied to the page in question, it does not work. So those who are saying that the problem lies elsewhere are correct, and I thank you.

    My original question was whether this was an inheritance problem. Y'all have demonstrated that it is not; the problem lies elsewhere. I have more work to do.

    Although the problem is not yet solved, your responses have been helpful: They are telling me where not to look ;-)

    A.

  9. #7
    Join Date
    Apr 2012
    Location
    Central New Jersey
    Posts
    212
    Thanks
    77
    Thanked 3 Times in 3 Posts

    Default

    I pasted Styxlawyer's text into my <head> section. The page now displays as desired!

    That solves the immediate problem. Figuring out why this works and my original code does not; and figuring out why Styxlawyer's text did not work when I pasted it into my css external file, well, I'll play with that as time permits (which may be not too soon).

    Thanks all. I'll mark my original question "resolved".

    A.

Similar Threads

  1. Inheritance in js(JavaScript) - prototype
    By lse123 in forum JavaScript
    Replies: 1
    Last Post: 11-13-2012, 11:03 PM
  2. Inheritance Program
    By SChaput in forum Java
    Replies: 1
    Last Post: 11-18-2008, 02:13 AM
  3. Inheritance Subtleties?
    By Trinithis in forum JavaScript
    Replies: 1
    Last Post: 07-07-2007, 11:36 AM
  4. Trouble with inheritance
    By craigtb in forum Java
    Replies: 2
    Last Post: 04-06-2007, 08:32 PM
  5. Replies: 2
    Last Post: 01-13-2006, 05:06 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •