Loading ...
Sorry, an error occurred while loading the content.

7386Re: [NH] CSS: negative margins using in Hx

Expand Messages
  • Mike Breiding - Morgantown WV
    May 2 5:43 AM
      On 5/2/2014 8:21 AM, Margaret Peloquin wrote:
      > If I understand correctly, you are trying to bring the content below the
      > header closer to the header. Since what you have done doesn't seem to
      > work, could you try applying a style to the content below the header
      > instead. For example:
      >
      > <h1>Some header ..</h1>
      > <p style="margin-top:-10px">content goes here</p>

      Hi Margaret,
      I tried this and no change.
      I am starting to get suspicious something else is going on.

      <h2 style="margin-bottom:-30px";>His Writings, Photos and Memorabilia</h2>

      <h3 style="margin-top:-30px";>Southeastern U.S.<br />

      -Mike

      >
      >
      > On Fri, May 2, 2014 at 6:29 AM, Mike Breiding - Morgantown WV
      > <mike@... <mailto:mike@...>> wrote:
      >
      > __
      >
      > Greetings,
      > I am trying to close the gap between H2 and H3 content.
      > I have tried changing the CSS file but have not been successful.
      > I tried using negative margin in-line and nothing changes.
      >
      > Any suggestions appreciated.
      > -mb
      > ~~~~~~~~~~~~~~~~~
      > HTML
      > http://epicroadtrips.us/dad/journals/travel/usa/1981-Southeastern-US/index.php
      >
      > CSS
      > http://epicroadtrips.us/dad/journals/travel/usa/1981-Southeastern-US/ert_index_style.css
      >
      > Header CSS:
      >
      > h1{color:#ddd;margin:0px;padding:10px 0 0 0;font-size:180%;}
      >
      > h2{background:transparent;font: 150% "Times New Roman", Times,
      > serif;color:#FFF;margin:10px 0 -10px 0;padding:0;}
      >
      > h3{text-align:center;background:transparent;color:#330000;font-size:120%;font-weight:200;margin:-30px
      >
      > 0px 0px 0px;padding:0px 0 15px 0;clear:both;}
      >
      > Inline style:
      > <h2 style="margin-bottom:-30px";>His Writings, Photos and
      > Memorabilia</h2>

      ---
      This email is free from viruses and malware because avast! Antivirus protection is active.
      http://www.avast.com
    • Show all 14 messages in this topic