HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


Quirky global.css selector

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#103881 (In Topic #20308)
Avatar

Well-settled

Incorrect bullet positioning for spaced-list items

Greetings, 

Hardly a major issue, this one, but one that's baffling me, and I'd much appreciate anybody's tips on how to resolve it!

In the default theme (and my customization of it), the square bullets applied to list-items within the "spaced list" format display as expected for items whose text spans one line or less, but if the item's text extends to two or more lines, the bullet gets incorrectly displayed at the start of its bottom line.

The fault can be resolved via the .fractional_edit, .fractional_edit_nonover selector, by changing the display property's value from inline-block to block. But that causes the side-effect of adding underlining to the list items, which, while the items are admittedly hyperlinks, are by default displayed with undecorated text. For aesthetic reasons it would be good to retain the undecorated styling, but I'm at a loss to find any selector impacting directly on the styling of spaced lists that I could modify to remove the underlining. Very possibly I'd be needing to add a new rule to the existing stylesheet - but my quandary there is, which existing selectors would be combined in its declaration?

I've a hunch I'd be able to resolve this myself if only I understood what operations are implied by the terms "fractional edit" and "nonover" - can anyone fill me in thereto?

Thanks for reading!

Richard 
Back to the top
 
Posted
Rating:
#103883
Avatar

fractional_edit is basically for staff. You can remove the styles if they're causing you problems.
Removing them would show you what others see anyway. If it's underlined, that's probably how it normally is anyway, and fractional_edit (OTTOMH) may disable that as by default it puts dotted lines around it all (indicating you can do inline editing of that text).


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#104006
Avatar

Well-settled

Many thanks, Chris, for the information - and sincere apologies for such a seriously long delay replying (away on holiday, etc.).

I still haven't figured out why merely changing the display property from inline-block to block would invoke the underlining (or, perhaps more pertinently, why the converse would suppress it), but no matter - I'm settling for the underlined style for now.

Kind regards,
Richard.
Back to the top
 
There are too many online users to list.
Control functions:

Quick reply   Contract

Your name:
Your message: