Help with border-bottom positioning (Full Version)

All Forums >> [Web Development] >> Cascading Style Sheets



Message


jango -> Help with border-bottom positioning (7/30/2007 11:48:49)

I am trying to not use HR because it isn't displaying correctly in different browsers or in Dreamweaver 8 design mode. So I would like to have a line just above my footer navigation bar. I have tried using div styles and CSS, but it is not positiong where I want it or it doesn't show up at all. I am new at CSS. Could I get a little help on writing the code for this?

I want just a solid 1px line with color #999999 that is centered over my navigation bar at the bottom of the page.

The page can be veiwed below but the line that is there is not working right for me.

www.barnesgroup.info User ID: CFS Password: cfs2005 (you have to login in to view it since we don't want our clients to see it yet)

Thanks




Tailslide -> RE: Help with border-bottom positioning (7/30/2007 11:55:01)

See if this works for a <hr />

hr {height: 1px;background-color: #999;color: #999;border: none;padding: 0;margin: 1em 0;}


This works for me pretty well cross-browser

For any more help you'll have to provide source code that we can read without having to de-encrypt it!





Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.046875