if you are trying to make something like a <hr> then you can put a border-bottom or border-top style to it.
div is also a block element so you could adjust the line height. <p style="border-top: 5px solid #000;">hello world</p> div is a block element so you could adjust the line height to make it smaller. On 8/12/05, Ryan Everhart <[EMAIL PROTECTED]> wrote: > Hey All, > I'm trying to make a DIV that is basically just a line that is 5 px > high, however the following code does not work... it looks like maybe > 20 or 25px is a small as the height can go. Any thoughts? > > <div style="height:5px; width:700px; background-color:#CCCCCC;"></div> > > -- > Ryan Everhart > [EMAIL PROTECTED] > ---------------------------------------------------------- > To post, send email to [email protected] > To unsubscribe: > http://www.dfwcfug.org/form_MemberUnsubscribe.cfm > To subscribe: > http://www.dfwcfug.org/form_MemberRegistration.cfm > > > ---------------------------------------------------------- To post, send email to [email protected] To unsubscribe: http://www.dfwcfug.org/form_MemberUnsubscribe.cfm To subscribe: http://www.dfwcfug.org/form_MemberRegistration.cfm
