1. This website uses cookies. By continuing to use this website you are giving consent to cookies being used.
    For information on cookies and how you can disable them visit our Cookie Usage page.
    Dismiss Notice

HTML PROBLEM WITH CODING!!!

Discussion in 'Web Development' started by Jamie Lynn, Mar 11, 2012.

  1. Jamie Lynn

    Jamie Lynn New Member

    So, I used one of the templates and I am trying to do "http://maughters.com/blog.html" and that STUPID LINE is across the top. here's my coding. How do I move it but keep the rest of that page completely the same.

    <div class="content">
    <div class="blog">
    <div><div class="stats">
    <div class="date"><span>May 13</span>
    <div class="share">
    <a href="http://twitter.com/maughters" id="tweets"></a>
    <a href="#" id="heart"></a>
    <a href="http://facebook.com/maughters" id="likes"></a></div></div>


    </div>
    <div><h2>Welcome to Maughters!</h2>
    <div><p>text text text. text text text. text text text. text text text. text text text. text text text. text text text. text text text. text text text. text text text. text text text. text text text. text text text. text text text. text text text. text text text. text text text. text text text. text text text. text text text. text text text. text text text. </p></div>


    <div><div class="paging">
    <a href="#">previous</a>
    <div>
    <ul>
    <li class="selected"><a href="blog.html">1</a></li>

    </ul>
    <a href="#">next</a>
    </div>
    </div>
    </div></div>

    <div><div><div class="article">
    <div class="first">
    <h3>Please Read</h3>
    <p>This website template has been designed by <a href="https://freewebsitetemplates.com/">Free Website Templates</a> for you, for free. You can replace all this text with your own text.
    You can remove any link to our website from this website template, you're free to use this website template without linking back to us.
    If you're having problems editing this website template, then don't hesitate to ask for help on the <a href="https://freewebsitetemplates.com/forums/">Forum</a>.</p>
    <h4>Address</h4>
    <p>18th Floor, Lorem ipsum dolor</br>
    Adipiscing Bldg., Quesqui vestibulum Avenue</br>
    Samar Loop St., Business Park</br>
    Quisque vestibulum, 6029</br>
    +32-819-4560</p>
    </div>
    <div>
    <h3>Sed Elementum</h3>
    <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque vestibulum nibh eget justo dapibus eu porttitor purus hendrerit.</p>
    <a href="https://freewebsitetemplates.com">www.freewebsitetemplates.com</a>
    <a href="https://freewebsitetemplates.com/forums/">www.freewebsitetemplates.com/forum</a>

    <div class="connect">
    <h2>Follow us</h2>
    <a href="http://facebook.com/freewebsitetemplates" id="facebook">Facebook</a>
    <a href="http://twitter.com/fwtemplates" id="twitter">Twitter</a>
    <a href="#" id="comments">Comments</a>
    <a href="http://www.flickr.com/freewebsitetemplates/" id="flickr">Flickr</a>
    </center>


    </body>
    </html>
     
  2. Geoff Tyrer

    Geoff Tyrer Member

    Which stupid line? I'd be happy to help but you haven't described the problem very well - not in my view anyway...
     
  3. ishkey

    ishkey Moderator, Logos, Sports Crests Staff Member Verified Member

    In addition to what Geoff Tyrer said, posting the template name and link, goes a long way in getting help.
     
  4. tomw

    tomw Member

    Are we talking about this stupid line?
    line.jpg

    If that is what we are talking about then take a look the code at this page again:
     
  5. Jamie Lynn

    Jamie Lynn New Member

    Sorry. I was so frustrated yesterday I didn't write much. We are talking about the stupid line across the "Maughters.com/blog.html" page. The problem is when I look at the coding of the other page (the untouched coding) when I change one thing, it messes something else up. It's the "herdesigns" template. It's on the main page of the homepage. I believe this wrong coding will have something to do with the <div>s .
     
  6. tomw

    tomw Member

    Very often we try to do things quickly and overlook the important stuff. The best way to use this or any templates is to copy it as is and then replace the parts with your own contents.

    Here is what I did with that template:

    HTML:
    <!DOCTYPE html>
    <!-- Website template by freewebsitetemplates.com -->
    <html>
    <head>
       <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
       <title>Her Designs</title>
       <link rel="stylesheet" href="css/style.css" type="text/css" />
       <!--[if IE 6]>
       <link rel="stylesheet" href="css/ie6.css" type="text/css" />
       <![endif]-->
       <!--[if IE 7]>
       <link rel="stylesheet" href="css/ie7.css" type="text/css" />
       <![endif]-->
    </head>
    <body>
    <div class="header">
       <div>
          <a href="index.html" id="logo"><img src="images/logo.gif" alt="logo"/></a>
          <div class="navigation">
         <ul class="first">
            <li class="first"><a href="jewelry.html">ON SALE</a></li>
            <li><a href="accessories.html">BEST SELLERS</a></li>
            <li class="selected"><a href="blog.html">THE BLOG</a></li>
         </ul>
         <ul>
            <li><a href="about.html">About us</a></li>
            <li><a href="shoes.html">My Collection</a></li>
            <li><a href="#">Login</a></li>
         </ul>
          </div>
          <form action="" class="search">
         <input type="text" value="search" onblur="this.value=!this.value?'search':this.value;" onfocus="this.select()" onclick="this.value='';"/>
         <input type="submit" id="submit" value=""/>
          </form>
       </div>
       <div id="navigation">
          <ul>
         <li><a href="index.html">Home</a></li>
         <li><a href="new_arrival.html">New Arrival</a></li>
         <li><a href="apparel.html">Apparel</a></li>
         <li><a href="beauty_care.html">Beauty Care</a></li>
         <li><a href="shoes.html">Shoes</a></li>
         <li><a href="accessories.html">Accessories</a></li>
         <li><a href="jewelry.html">Jewelry</a></li>
          </ul>
       </div>
    </div> 
    <div class="body">
       <div class="sidebar">
          <div class="first">
         <h2><a href="#">Archives</a></h2>
         <ul class="archives">
            <li>
            <a href="#">(archives)</a>
            <span>(60)</span>
            <ul>
               <li><a href="#">November</a><span>(11)</span></li>
            </ul>
            </li>
            <li><a href="#">2010</a></li>
            <li><a href="#">2009</a></li>
         </ul>
          </div>
       </div>
       <div class="content">
          <div class="blog">
         <div>
            <div class="stats">
               <div class="date"><span>(stats)(date)</span></div>
               <div class="share">
              (share)
               </div>
            </div>
            <div>
               <h1>(Headline 1)</h1>
               <h2>(Headline 2)</h2>
               <p>text text text. text text text. text text text.
              text text text. text text text. text text text.
              text text text. text text text. text text text.
              text text text. text text text. text text text.
              text text text. text text text. text text text.
              text text text. text text text. text text text.
              text text text. text text text. text text text.
              text text text.</p>
               </p>
            </div>
         </div>
         <div>
            <div class="stats">
               <div class="date"><span>(stats)(date)</span></div>
               <div class="share">
              (share)
               </div>
            </div>
            <div>
               <h1>(Headline 1)</h1>
               <h2>(Headline 2)</h2>
               <p>text text text. text text text. text text text.
              text text text. text text text. text text text.
              text text text. text text text. text text text.
              text text text. text text text. text text text.
              text text text. text text text. text text text.
              text text text. text text text. text text text.
              text text text. text text text. text text text.
              text text text.</p>
            </div>
         </div>
         <div>
            <div class="stats">
               <div class="date"><span>(stats)(date)</span></div>
               <div class="share">
              (share)
               </div>
            </div>
            <div>
               <h4>Address</h4>
               <p>18th Floor, Lorem ipsum dolor<br/>
              Adipiscing Bldg., Quesqui vestibulum Avenue<br/>
              Samar Loop St., Business Park<br/>
              Quisque vestibulum, 6029<br/>
              +32-819-4560
               </p>
            </div>
         </div>
         <div class="paging">
            <a href="#">(paging) previous</a>
            <div>
               <ul>
              <li class="selected"><a href="#">1</a></li>
              <li><a href="#">2</a></li>
              <li><a href="#">3</a></li>
              <li><a href="#">4</a></li>
              <li><a href="#">5</a></li>
              <li><a href="#">6</a></li>
              <li><a href="#">7</a></li>
              <li><a href="#">8</a></li>
              <li>...</li>
              <li><a href="#">34</a></li>                            
               </ul>
               <a href="#">(paging) next</a>
            </div>
         </div>
          </div>
       </div>
       <div class="article">
          <div class="first">
         <p>(article) (first) text text text. text text text. text text text.
              text text text. text text text. text text text.
              text text text. text text text. text text text.
              text text text. text text text. text text text.
              text text text. text text text. text text text.
              text text text. text text text. text text text.
              text text text. text text text. text text text.
              text text text.</p>
          </div>
          <div class="connect">
         <h2>{headline 2)</h2>
         (connect)
          </div>
       </div>
    </div>
    <div class="footer">
       <p>&#169; 2011 Herdesigns. All Rights Reserved.</p>
    </div>
    </body>
    </html>
    This is how the page would look like.
     
  7. Jamie Lynn

    Jamie Lynn New Member

    The problem is , when I went to edit so I JUST HAD ONE LITTLE SECTION OF WRITING instead of three, each time I take it out, it screws up the page !! I just want one little section like where it says "May 19th" "Welcome to Maughters" then just "text text text." Everytime I try to do that, it screws up the page.
     
  8. ishkey

    ishkey Moderator, Logos, Sports Crests Staff Member Verified Member

    Maybe this will help you Jamie. If you look at the code I "commented"out the sections you do not require.
    A comment looks like <!-- some code -->
    I find it is easer to work this way, you can see your success/failure. When you have it to your liking you can go back and delete the "commented code" Another thing you have to learn when it comes to coding is everything followed by the next item. Kinda like stacking blocks, everything touches something.

    <!DOCTYPE html>
    <!-- Website template by freewebsitetemplates.com -->
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>Her Designs</title>
    <link rel="stylesheet" href="css/style.css" type="text/css" />
    <!--[if IE 6]>
    <link rel="stylesheet" href="css/ie6.css" type="text/css" />
    <![endif]-->
    <!--[if IE 7]>
    <link rel="stylesheet" href="css/ie7.css" type="text/css" />
    <![endif]-->
    </head>
    <body>
    <div class="header">
    <div>
    <a href="index.html" id="logo"><img src="images/logo.gif" alt="logo"/></a>
    <div class="navigation">
    <ul class="first">
    <li class="first"><a href="jewelry.html">ON SALE</a></li>
    <li><a href="accessories.html">BEST SELLERS</a></li>
    <li class="selected"><a href="blog.html">THE BLOG</a></li>
    </ul>
    <ul>
    <li><a href="about.html">About us</a></li>
    <li><a href="shoes.html">My Collection</a></li>
    <li><a href="#">Login</a></li>
    </ul>
    </div>
    <form action="" class="search">
    <input type="text" value="search" onblur="this.value=!this.value?'search':this.value;" onfocus="this.select()" onclick="this.value='';"/>
    <input type="submit" id="submit" value=""/>
    </form>
    </div>
    <div id="navigation">
    <ul>
    <li><a href="index.html">Home</a></li>
    <li><a href="new_arrival.html">New Arrival</a></li>
    <li><a href="apparel.html">Apparel</a></li>
    <li><a href="beauty_care.html">Beauty Care</a></li>
    <li><a href="shoes.html">Shoes</a></li>
    <li><a href="accessories.html">Accessories</a></li>
    <li><a href="jewelry.html">Jewelry</a></li>
    </ul>
    </div>
    </div>
    <div class="body">
    <div class="sidebar">
    <div class="first">
    <h2><a href="#">Archives (1)</a></h2>
    <ul class="archives">
    <li>
    <a href="#">May</a>
    <span>(1)</span>
    <ul>
    <!-- <li><a href="#">November</a><span>(11)</span></li>
    <li><a href="#">Octover</a><span>(3)</span></li>
    <li><a href="#">September</a><span>(8)</span></li>
    <li><a href="#">August</a><span>(3)</span></li>
    <li><a href="#">July</a><span>(2)</span></li>
    <li><a href="#">June</a></li>
    <li><a href="#">May</a><span>(8)</span></li>
    <li><a href="#">April</a><span>(7)</span></li>
    <li><a href="#">March</a><span>(7)</span></li>
    <li><a href="#">February</a><span>(10)</span></li>
    <li><a href="#">January</a><span>(1)</span></li> -->
    </ul>
    </li>
    <!-- <li><a href="#">2010</a></li>
    <li><a href="#">2009</a></li> -->
    </ul>
    </div>
    </div>
    <div class="content">
    <div class="blog">
    <div>
    <div class="stats">
    <div class="date"><span>Nov 09</span></div>
    <div class="share">
    <a href="http://twitter.com/fwtemplates" id="tweets"></a>
    <a href="#" id="heart"></a>
    <a href="http://facebook.com/freewebsitetemplates" id="likes"></a>
    </div>
    </div>
    <div>
    <h1>Newest Styles in HerDesigns</h1>
    <h2>Check out the latest designs</h2>
    <p>Mirum est notare quam littera gothica, quam nunc putamus parum claram, anteposuerit litterarum formas
    humanitatis per seacula quarta decima et quinta decima. Eodem anitatis per seacula quarta decima et quinta decima.</p>
    <h2>New Fashion</h2>
    <p>Mirum est notare quam littera gothica, quam nunc putamus parum claram, anteposuerit litterarum formas humanitatis
    per seacula quarta decima et quinta decima. Eodem anitatis per seacula quarta decima et quinta decima</p>
    <p>Aenean quis viverra neque. Nulla facilisi. In hac habitasse platea dictumst. Curabitur lorem velit, suscipit a convallis
    vel, lobortis sit amet risus. Duis luctus aliquet pharetra. Donec suscipit nisl et sem scelerisque faucibus tempus dolor
    sodales. Nunc sodales nisl a quam egestas pretium non a leo.</p>
    </div>
    </div>
    <div>
    <div class="stats">
    <div class="date"><span><!-- Nov 03 --></span></div>
    <div class="share">
    <!-- <a href="http://twitter.com/fwtemplates" id="tweets"></a>
    <a href="#" id="heart"></a>
    <a href="http://facebook.com/freewebsitetemplates" id="likes"></a> -->
    </div>
    </div>
    <!-- <div>
    <h1>Christmas is coming!</h1>
    <h2>How about Avail our Christmas Sale</h2>
    <p>Aenean nec velit nec justo malesuada fermentum. Class aptent taciti sociosqu ad litora torquent per conubia nostra,
    per inceptos himenaeos. Donec eget nisl lobortis nisi congue ornare eu at nulla. In in ipsum nisi, quis luctus enim. Fusce
    fringilla molestie purus sed convallis.</p>
    </div>
    </div>
    <div>
    <div class="stats">
    <div class="date"><span>Oct 25</span></div>
    <div class="share">
    <a href="http://twitter.com/fwtemplates" id="tweets"></a>
    <a href="#" id="heart"></a>
    <a href="http://facebook.com/freewebsitetemplates" id="likes"></a>
    </div>
    </div>
    <div>
    <h1>Shopping?</h1>
    <h2>Try it online</h2>
    <p>Aenean nec velit nec justo malesuada fermentum. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per
    inceptos himenaeos. Donec eget nisl lobortis nisi congue ornare eu at nulla. In in ipsum nisi, quis luctus enim. Fusce fringilla
    molestie purus sed convallis. Aliquam nibh neque, placerat id.</p>
    </div> -->
    </div>
    <!-- <div class="paging">
    <a href="#">previous</a>
    <div>
    <ul>
    <li class="selected"><a href="#">1</a></li>
    <li><a href="#">2</a></li>
    <li><a href="#">3</a></li>
    <li><a href="#">4</a></li>
    <li><a href="#">5</a></li>
    <li><a href="#">6</a></li>
    <li><a href="#">7</a></li>
    <li><a href="#">8</a></li>
    <li>...</li>
    <li><a href="#">34</a></li>
    </ul>
    <a href="#">next</a>
    </div>
    </div> -->
    </div>
    </div>
    <div class="article">
    <div class="first">
    <p>This website template has been designed by <a href="https://freewebsitetemplates.com/">Free Website Templates</a> for you, for free. You can replace all this text with your own text.
    You can remove any link to our website from this website template, you're free to use this website template without linking back to us.
    If you're having problems editing this website template, then don't hesitate to ask for help on the <a href="https://freewebsitetemplates.com/forums/">Forum</a>.</p>
    </div>
    <div class="connect">
    <h2>Follow us</h2>
    <a href="http://facebook.com/freewebsitetemplates" id="facebook">Facebook</a>
    <a href="http://twitter.com/fwtemplates" id="twitter">Twitter</a>
    <a href="#" id="comments">Comments</a>
    <a href="http://www.flickr.com/freewebsitetemplates/" id="flickr">Flickr</a>
    </div>
    </div>
    </div>
    <div class="footer">
    <p>© 2011 Herdesigns. All Rights Reserved.</p>
    </div>
    </body>
    </html>







    Until your coding skills improve you will be stuck with the bottom arrow and dashed line.




    getridof.jpg
     
  9. tomw

    tomw Member

    Ishkey gave you a very good suggestion. You could also just physically remove those sections you do not need like what I did here:
    HTML:
    <!DOCTYPE html>
    <!-- Website template by freewebsitetemplates.com -->
    <html>
    <head>
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
      <title>Her Designs</title>
      <link rel="stylesheet" href="css/style.css" type="text/css" />
      <!--[if IE 6]>
      <link rel="stylesheet" href="css/ie6.css" type="text/css" />
      <![endif]-->
      <!--[if IE 7]>
      <link rel="stylesheet" href="css/ie7.css" type="text/css" />
      <![endif]-->
    </head>
    <body>
    <div class="header">
      <div>
          <a href="index.html" id="logo"><img src="images/logo.gif" alt="logo"/></a>
          <div class="navigation">
        <ul class="first">
            <li class="first"><a href="jewelry.html">ON SALE</a></li>
            <li><a href="accessories.html">BEST SELLERS</a></li>
            <li class="selected"><a href="blog.html">THE BLOG</a></li>
        </ul>
        <ul>
            <li><a href="about.html">About us</a></li>
            <li><a href="shoes.html">My Collection</a></li>
            <li><a href="#">Login</a></li>
        </ul>
          </div>
          <form action="" class="search">
        <input type="text" value="search" onblur="this.value=!this.value?'search':this.value;" onfocus="this.select()" onclick="this.value='';"/>
        <input type="submit" id="submit" value=""/>
          </form>
      </div>
      <div id="navigation">
          <ul>
        <li><a href="index.html">Home</a></li>
        <li><a href="new_arrival.html">New Arrival</a></li>
        <li><a href="apparel.html">Apparel</a></li>
        <li><a href="beauty_care.html">Beauty Care</a></li>
        <li><a href="shoes.html">Shoes</a></li>
        <li><a href="accessories.html">Accessories</a></li>
        <li><a href="jewelry.html">Jewelry</a></li>
          </ul>
      </div>
    </div>
     
    <div class="body">
     
      <div class="sidebar">
          <div class="first">
        <h2><a href="#">Archives</a></h2>
        <ul class="archives">
            <li>
            <a href="#">2011</a>
            <span>(60)</span>
            <ul>
              <li><a href="#">November</a><span>(11)</span></li>
            </ul>
            </li>
            <li><a href="#">2010</a></li>
            <li><a href="#">2009</a></li>
        </ul>
          </div>
      </div>
     
      <div class="content">
          <div class="blog">
        <div>
            <div class="stats">
              <div class="date"><span>Month day</span></div>
              <div class="share">
              <a href="#" id="tweets">tweets</a>
              <a href="#" id="heart">heart</a>
              <a href="#" id="likes">facebook</a>
              </div>
            </div>
            <div>
              <h1>(Headline 1)</h1>
              <h2>(Headline 2)</h2>
              <p>text text text. text text text. text text text.
              text text text. text text text. text text text.
              text text text. text text text. text text text.
              text text text. text text text. text text text.
              text text text. text text text. text text text.
              text text text. text text text. text text text.
              text text text. text text text. text text text.
              text text text.</p>
            </div>
        </div>
     
        <div class="paging">
            <div>
            </div>
        </div>
          </div>
      </div>
     
      <div class="article">
          <div class="first">
        <p>This website template has been designed by <a href="http://www.freewebsitetemplates.com/">Free Website Templates</a> for you, for free. You can replace all this text with your own text.
            You can remove any link to our website from this website template, you're free to use this website template without linking back to us.
            If you're having problems editing this website template, then don't hesitate to ask for help on the <a href="http://www.freewebsitetemplates.com/forums/">Forum</a>.</p>
          </div>
          <div class="connect">
        <h2>Follow us</h2>
        <a href="http://facebook.com/freewebsitetemplates" id="facebook">Facebook</a>
        <a href="http://twitter.com/fwtemplates" id="twitter">Twitter</a>
        <a href="#" id="comments">Comments</a>
        <a href="http://www.flickr.com/freewebsitetemplates/" id="flickr">Flickr</a>
          </div>
      </div>
    </div>
     
    <div class="footer">
      <p>&#169; 2011 Herdesigns. All Rights Reserved.</p>
    </div>
     
    </body>
    </html>
    Here is how it looks like.