how can i draw a horizontal straight line in a page?

how can i draw a horizontal straight line in a page?

uhm, this is prob not what

krisvannest - October 28, 2007 - 11:19

uhm, this is prob not what ya mean 'cause it's kinda simple, but are you looking for the "" tag via HTML or something more elaborate?

I'm unsure what they want

mjmalloy - October 28, 2007 - 11:54

I'm unsure what they want too. And I think you mean the <hr /> tag.
--------------------------------------------------
Martin - Pedigree Music - Drupal Powered Music Blog

A couple approaches

nevets - October 28, 2007 - 14:20

You can add a <hr /> tag as mentioned above, This could go in the approriate template (page.tpl.php, node.tpl.php, etc) and could go directly in a nodes content (body).

I generally prefer to use CSS and the border style. For example if you hace an area that is represented by a div with a class of content you could add a border on top with

div.content {
  border-top: 1px solid black;
}

This would go in style.css and allows you to control the width, type and color. You can also use border (for a box), border-bottom, border-left and border-right.

 
 

Drupal is a registered trademark of Dries Buytaert.