Trimming a breadcrumb

classact

New Member
I'm currently struggling with the problem of trimming a breadcrumb navigation so it doesn't destroy my site's design.The problem is the following: The breadcrumb navigation has a fixed width (let's say 900px) - So, if the user navigates to an item whose location results in a breadcrumb that is larger than 900px I'd have to trim it to fit into the design.So, the part where I'm stuck is this: How can I decide how much to trim and where to trim? I figured out that I could just trim the overflow of text in the middle of the breadcrumb, so it would result in\[quote\] Some > Navigation > That > ... > is > too > long\[/quote\]But how can I decide where to cut? And how will I be able to preserve the anchors of the elements from being trimmed?!I'm really stuck on this, is there any accepted way to deal with such issues?!
 
Back
Top