Closed (duplicate)
Project:
Collapse Text
Version:
6.x-2.x-dev
Component:
Theme
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
7 Apr 2011 at 20:21 UTC
Updated:
12 May 2015 at 08:43 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
pukku commentedHi! I would actually suggest that instead of this, it would be better to use the
class=parameter.In your CSS file, create a class:
And then use the collapse tag as:
(Note that I haven't tested this, so you may need to change the css a little bit.)
Ricky
Comment #2
AlexisWilke commentedHmmm... Well... that means I'd need such a class for each theme I have and since I run many websites.
But I agree that is a neat solution too. Let me check to see whether I can make it work.
Thank you for the fast response! 8-)
Alexis
Comment #3
AlexisWilke commentedRicky,
Okay, the class="name" does not work with FCKeditor.
The quotes (") are transformed in ". There are two ways to fix this:
1) accept the class without quotes (I tried that doesn't work)
2) accept the " by transforming it back to " (any entry with " at the extremities must be a " that was transformed by a WYSIWYG editor anyway.)
I think (2) is best and there is a fix for all entries to get the proper quotes at once:
See patch also. 8-)
Also, setting the width of the fieldset doesn't work. You have to force the width of the div below instead:
Thank you.
Alexis Wilke
update: added working CSS code.
working sample: http://linux.m2osw.com/bind_errors
Comment #4
pukku commentedThe problem with forcing all `"` to change into quotes is that if a quote is desired in the title, then there is no way to supply it.
I will need to think more about this.
Comment #5
dydave commentedVery old issue.
Moved the work from #4 to #2487193: Support double quotes in the title attribute.
Changing component to Theme for the initial problem: using CSS to Support for width="123px", just in case some would be looking for more theme related information in the tracker.