CSS-d

I have a <ul> list that has a border on top only. I'd like the border to 
cover only 70% of the distance across the top, which I've achieved with:

ul
{
border-top: thin solid #000000;
width:70%;
}

But the border is fixed on the left hand side, so that as I shorten it, 
it simply has more open space appear on the right hand side.

Is there a way I can get the border to be centered above the <ul> list, 
so that if I have it set to be 70% wide, then it starts at 15% in from 
the left hand side and ends 15% from the right hand side?

Thanks for any information or advice.

--
Dave M G
Ubuntu 6.10 Edgy Eft
Kernel 2.6.17.7
Pentium D Dual Core Processor
PHP 5, MySQL 5, Apache 2

______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to