Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 09-12-2007, 05:25 PM   PM User | #1
vinoman
New Coder

 
Join Date: Jul 2007
Location: Portland, OR
Posts: 65
Thanks: 0
Thanked 0 Times in 0 Posts
vinoman is an unknown quantity at this point
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
vinoman is offline   Reply With Quote
Old 09-12-2007, 06:08 PM   PM User | #2
mic2100
Regular Coder

 
mic2100's Avatar
 
Join Date: Feb 2006
Location: Scunthorpe
Posts: 562
Thanks: 15
Thanked 28 Times in 27 Posts
mic2100 is on a distinguished road
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...
mic2100 is offline   Reply With Quote
Old 09-12-2007, 08:10 PM   PM User | #3
vinoman
New Coder

 
Join Date: Jul 2007
Location: Portland, OR
Posts: 65
Thanks: 0
Thanked 0 Times in 0 Posts
vinoman is an unknown quantity at this point
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..
vinoman is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 10:05 PM.


Advertisement
Log in to turn off these ads.