[EMAIL PROTECTED] wrote:
> Hello,
>
> Having some problems here:
>
> http://www.linkhomes2000.co.uk/trials/tryagain-index-3.php
>
>
> Firstly must state I have <div class="nav" id="nav4"> now both of these
> contain elements with position:absolute.
>
> the class places the div in and absolute position, while the id places the
> <li><ul> in position:absolute.
>
> But he id seems to be totally impervious to the class, it just ignores it?
>
> I set width:75% on class then width 100% in id should place the id in it's
> correct position, but in fact it just extends to 100% 0f the screen,
> ignoring the fact it has an containing div?
I'm not *exactly* sure what you're going for, but you have width 75% on
your .nav in main-2.css then you have this is menus.css:
#nav4, #nav4 ul { /* all lists */
width:75%;
padding: 0;
margin: 0;
list-style: none;
background-color:#000000;
word-spacing:normal;
letter-spacing:normal;
}
If you delete the width here your menu will go all the way to the right
side in FF2 & IE6 if that's what you want...
Your class and id are being obeyed according to what you've written as
far as I can tell.
AC
--
Audra Coldiron
Rock-n-Roll Design & Hosting
http://rock-n-roll-design.com
KarmaCMS ( http://karmawizard.com ) - the ultimate CSS styled CMS.
Pre-made designs, designer tools, and reseller program available!
______________________________________________________________________
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/