Fix for Fix for chipt4's views block problem

  1. This is the HTML generated by Views [1.x-dev on D5] for my block:
  2.  
  3. <div id="block-views-newreleases" class="block block-views region-even odd region-count-2 count-5 collapsiblock-processed">
  4. <div class="block-top"/>
  5. <div class="block-inner">
  6. <h2 class="title">New Releases</h2>
  7. <div class="content">
  8. <div class="view view-newreleases">
  9. <div class="view-content view-content-newreleases">
  10. <div class="item-list">
  11. <ul>
  12. <li>
  13. <div class="view-item view-item-newreleases">
  14. <div class="view-field view-data-node-title">
  15. <a href="/book/local-history/secret-life-and-brutal-death-mamie-thurman">The Secret Life and Brutal Death of Mamie Thurman</a>
  16. </div>
  17. </div>
  18. </li>
  19. <li>
  20. <div class="view-item view-item-newreleases">
  21. <div class="view-field view-data-node-title">
  22. <a class="active" href="/book/local-history/feuding-hatfields-and-mccoys">The Feuding Hatfields and McCoys</a>
  23. </div>
  24. </div>
  25. </li>
  26. <li>
  27. <div class="view-item view-item-newreleases">
  28. <div class="view-field view-data-node-title">
  29. <a href="/book/paranormal/legends-mountain-state">Legends of the Mountain State</a>
  30. </div>
  31. </div>
  32. </li>
  33. <li>
  34. <div class="view-item view-item-newreleases">
  35. <div class="view-field view-data-node-title">
  36. <a href="/book/paranormal/legends-mountain-state-2">Legends of the Mountain State 2</a>
  37. </div>
  38. </div>
  39. </li>
  40. </ul>
  41. </div>
  42. </div>
  43. </div>
  44. </div>
  45. <div class="edit">
  46. <a class="block-config" title="configure this block" href="/admin/build/block/configure/views/newreleases?destination=node%2F7">
  47. </a>
  48. <a class="block-edit-view" title="edit the view that defines this block" href="/admin/build/views/newreleases/edit?destination=node%2F7#edit-block">
  49. </a>
  50. </div>
  51. </div>
  52. <div class="block-bottom"/>
  53. </div>
  54.  
  55. This is the CSS that applies to the link that behaves correctly:
  56.  
  57. wp.css (line 1183)
  58. .block-views a:hover {
  59. text-decoration:underline;
  60. }
  61.  
  62. wp.css (line 1097)
  63. .block .view-field a, .block .view-field a:active, .block .view-field a:visited {
  64. color:#333333;
  65. font-size:1.1em;
  66. text-decoration:none;
  67. }
  68.  
  69. This is the CSS that applies to the links that behave incorrectly:
  70.  
  71. wp.css (line 1097)
  72. .block .view-field a, .block .view-field a:active, .block .view-field a:visited {
  73. color:#333333;
  74. font-size:1.1em;
  75. text-decoration:none;
  76. }

Submit Fix

Any tags you'd like to associate with your code, delimitered by commas (example: Views, CCK, Module, etc).
Select the syntax highlighting mode to use.