Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Jul 2007
    Location
    Portland, OR
    Posts
    65
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Trouble with text

    Please view this order page that I'm building from a template.
    http://www.portlandwinegear.com/order.html

    The last item has h4 tags that I would like to get rid of to make the text size the same as the other items. But when I take the h4 tags out, the whole white background disappears. I can't see what causing this problem. Can anyone help me correct this?

    Also: how to move images to the right to use space better?

    Thanks

  • #2
    Regular Coder mic2100's Avatar
    Join Date
    Feb 2006
    Location
    Scunthorpe
    Posts
    562
    Thanks
    15
    Thanked 28 Times in 27 Posts
    hi,

    i have looked over you code and found the following problem...

    Code:
    	<div class="item">
        <h3>
             Clingy Thingy Wine Labels $7.95
           </h3>
           <h4> <!-- H4 start tag in a different div tag --->
         <div class="tnail">
      <a href="images/Clingythingy.jpg"><img src="images/Clingythingy_thumbnail.png" width="139" height="95" alt="clingy thing" /></a>
           
         </div>
         <div class="description">
           
           <p>
           With ClingyThingy Labels you can forget about memorizing which wine is which.
    These little labels help you match what is in your glass to the bottle from whence it came.
    So the next time you host a wine-tasting party or event, try this uniquely stylish way to adorn your glass.
    Simply apply these labels to any clean, dry surface and remove before washing. They won't leave any sticky residue!</p>
             </h4> <!-- H4 end tag in a different div tag --->
           
         </div>
    the start H4 tag is in a different Div tag the the closing tag this could be causing your problem. if you remove them like this...

    Code:
    	<div class="item">
        <h3>
             Clingy Thingy Wine Labels $7.95
           </h3>
         <div class="tnail">
      <a href="images/Clingythingy.jpg"><img src="images/Clingythingy_thumbnail.png" width="139" height="95" alt="clingy thing" /></a>
           
         </div>
         <div class="description">
           
           <p>
           With ClingyThingy Labels you can forget about memorizing which wine is which.
    These little labels help you match what is in your glass to the bottle from whence it came.
    So the next time you host a wine-tasting party or event, try this uniquely stylish way to adorn your glass.
    Simply apply these labels to any clean, dry surface and remove before washing. They won't leave any sticky residue!</p>
           
         </div>
    then you shouldn't have that problem any more.

    i hope this helps...

  • #3
    New Coder
    Join Date
    Jul 2007
    Location
    Portland, OR
    Posts
    65
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thanks, but that didn't do it. there are more styles involved and I'll have to keep trying to get it right.

    ...I started over and it looks better: http://www.portlandwinegear.com/order2.html
    Last edited by vinoman; 09-13-2007 at 12:30 AM.


  •  

    Posting Permissions

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