How do I get the <div class="textheading"> Jose > to stretch to the right side of the containing div <div id="Content"> so that the green background stretches all the way to the right side of the containg div?
Here is the code.
Thank you.
Here is the code.
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <!-- Created with the CoffeeCup HTML Editor 2006 --> <!-- http://www.coffeecup.com/ --> <!-- Brewed on 9/28/2006 3:55:03 PM --> <head> <title></title> <style type="text/css" > #Content { width:500px; border: 1px solid gray; text-indent:0px; font-size:12px; background:transparent; margin:0px; padding:0px; } .face { clear: left; float: left; width: 100px; } n { font-size:16px; font-weight:900; padding-top:10px; } .textheading { float:left; right:100%; background:#C5EB10; padding-right: ; margin-right:0px; } </style> </head> <body> <div id="Content"> The Family. <br> <div class="face"><img alt="The Family" src="images/faceplaceholder.jpg" /> </div> <div class="textheading"> Jose </div> <br> </div> </body> </html>

Comment