View Single Post
  #1 (permalink)  
Old February 16th, 2007, 06:03 AM
sinkalanick sinkalanick is offline
Registered User
 
Join Date: Feb 2007
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default How can I stop <DIV> tag wrapping

Hi,

I am using the <DIV> tag to create a triangle-shaped image. I want this triangle and the text before it to be on the same line. How can I stop this wrapping? See the HTML code that is doing this:

Thanks,
Niq.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
    <title>Untitled</title>
</head>
<body>
<table>
<tr align="center" valign="top">
   <td width="100%" valign="bottom">THE TRIANGLE BELOW NEED TO BE ON THE SAME LINE AS THIS TEXT<div style="border-bottom: 12px solid #006600;border-left: 7px solid #ffffff;border-right:7px solid #ffffff;font-size: 0px; line-height: 0%; width: 0px;"</div></td>
</tr>
</table>
</body>
</html>


Reply With Quote