I want it to look like this instead (no right border on link 4):
link one | link two | link three | link four
...how can I do this?
EDIT: can NOT be done reliably in a autonav because with the variable widths of the navigation (driven by the anchor text length), the last item could be the end of row one or it maybe at the start of row two, etc.
EDIT: can NOT be done reliably in a autonav because with the variable widths of the navigation (driven by the anchor text length), the last item could be the end of row one or it maybe at the start of row two, etc.
Thanks, Hompimpa, but that doesn't work because each link is within a separate LI. So the last-child of the LI is also the first.
IE:
< UL> < LI >< a >link< /a >< /LI > < LI >< a >link< /a >< /LI > < LI >< a >link< /a >< /LI > < /UL >
EDIT: can NOT be done reliably in a autonav because with the variable widths of the navigation (driven by the anchor text length), the last item could be the end of row one or it maybe at the start of row two, etc.
Good thinking, Hopimpa... but, then, will I have the same problem on lines 2 and 3 on the left side rather than the right side? It seems like this new code would just move the | to the left side at the beginning of new lines (except for the first line, of course).
EDIT: can NOT be done reliably in a autonav because with the variable widths of the navigation (driven by the anchor text length), the last item could be the end of row one or it maybe at the start of row two, etc.
link one | link two | link three | link four |
I want it to look like this instead (no right border on link 4):
link one | link two | link three | link four
...how can I do this?
EDIT: can NOT be done reliably in a autonav because with the variable widths of the navigation (driven by the anchor text length), the last item could be the end of row one or it maybe at the start of row two, etc.
Apply a special class (perhaps 'last') to that list item which removes the border.
Another is to use 'last-of-type'.
The actual UL goes to multiple lines because it is auto-generated. Is there a way to target the end of each line, not just the last element of the UL?
The workaround is very simple though! Seeing as first child IS supported in IE, simply do the reverse.
IE:
< UL>
< LI >< a >link< /a >< /LI >
< LI >< a >link< /a >< /LI >
< LI >< a >link< /a >< /LI >
< /UL >
EDIT: can NOT be done reliably in a autonav because with the variable widths of the navigation (driven by the anchor text length), the last item could be the end of row one or it maybe at the start of row two, etc.
How about this:
EDIT: can NOT be done reliably in a autonav because with the variable widths of the navigation (driven by the anchor text length), the last item could be the end of row one or it maybe at the start of row two, etc.