NAV LIST UL or HTML jumping?

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
foolevil
Posts: 20
Joined: Wed 7. Oct 2009, 18:37

NAV LIST UL or HTML jumping?

Post by foolevil »

Hello.

I´ve tried using {NAV_LIST_UL:F,0,1,act_path,active}
and I put it inside div like:

#homm {
position:absolute;
left:366px;
top:56px;
width:34px;
height:14px;
font-weight: bold;
}

I render it in main:

<div id="homm">
{NAV_LIST_UL:F,0,1,act_path,active}
</div>

BUT when I put simple text into this div:

<div id="homm">
Home/Koti
</div>

It doesnt appear on the same place, it appears 12 pix to top.

I can manage them with another div with different top, +12 (dangerous...)
and they match ok .... but not in IE7 and IE6.

I use {RANDOM:rnd/bakery} random pics inside container in main before that, is that the reason.
Only thing I havent tried takin out.

???? Im just totally out of it.
User avatar
pSouper
Posts: 1552
Joined: Tue 11. Nov 2003, 15:45
Location: London
Contact:

Re: NAV LIST UL or HTML jumping?

Post by pSouper »

Hi, not sure what you are trying to do here but you should add the id's and classes to list elements like so... #homm ul & #homm ul li & #homm ul li a etc.

ul & li have margins and padding etc - this is probably where your offsets are and should be fixed.

hope it helps - if not, let us know for about the specific problem you have - with a demo page if possible.
Post Reply