An HR element is effectively presentation markup. It's a *visual* break in the page. This means that if you are working towards proper semantic markup, you shouldn't be using the HR element.
Styling a DIV is just fine. The DIV can be used to semantically indicate a section of text and may contain several P tags, for example. Then you could style to DIV by adding a border. Now the structure is semantic, and the visual effect (the horizontal line) is in the CSS where it belongs. Lucien. On 19/2/07 4:44 PM, "Dwain Alford" <[EMAIL PROTECTED]> wrote: > after following several threads, i have converted my site to html 4.01. > what i want to do is section the parts of my page with hrs. i can't figure > out why the styling of the hr does not work in ff or opera. > > currently i am using borders on divs to achieve this effect, but to my > understanding the hr would be semantically correct to separate the page into > sections rather than use borders on divs as presentation. the last two hrs > on the test page separate a side note from the rest of the content. i guess > i could live with the presentational effect of the border that is currently > being used at the top of the page. > > i have not removed the borders from the css, but you can see the faint line > of the hr and its initial placement. > > what say you of my reasoning and what would be the best practice; and if > it's for the hr, how do i make it black? > > http://www.studiokdd.com/sandbox/alaskan-dream.html > > http://www.studiokdd.com/sandbox/css/kddindipix.css > > dwain -- Lucien Stals Web Developer Academic Development and Support Phone +61 3 9214 4474 Email [EMAIL PROTECTED] Education is only the beginning. Let's get on with it. Swinburne University of Technology CRICOS Provider Code: 00111D NOTICE This e-mail and any attachments are confidential and intended only for the use of the addressee. They may contain information that is privileged or protected by copyright. If you are not the intended recipient, any dissemination, distribution, printing, copying or use is strictly prohibited. The University does not warrant that this e-mail and any attachments are secure and there is also a risk that it may be corrupted in transmission. It is your responsibility to check any attachments for viruses or defects before opening them. If you have received this transmission in error, please contact us on +61 3 9214 8000 and delete it immediately from your system. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. Please consider the environment before printing this email. ******************************************************************* List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] *******************************************************************