Re: HTML/CSS issues

Joel Palmius <[email protected]>
Newsgroups gmane.comp.apache.mod-survey.general
Message-ID <[email protected]>
Spinning along on discussion concerning alternatives... It's in the middle 
of the night and I haven't tested this, but perhaps

   <div id="mdscomponent" class="CHOICEcb">..</div>

.. could be replaced with

   <div class="mdscomponent><div class="CHOICEcb">..</div></div>

which looks rather cumbersome, but might work. It annoys me though. There 
must be some good way to inherit between definitions in CSS.

My purpose with the id/class thing was that all components should have a 
common set of properties, and that each component type should only need to 
add/override what was strictly needed, in the best of worlds nothing.

Concerning implications on stable release.. I haven't decided for certain, 
but I think I'll go ahead and do a stable release tomorrow anyway, and let 
the fix for this show up in 3.2.1 or similar. The current setup works for 
me in IE and mozilla, and there are certainly a lot of other glitches 
around which I won't bother fixing until a later release.

   // Joel

On Fri, 13 Aug 2004, Todd Slater wrote:

> Using 3.2 rc1 I am glad to see that there are more div's in the HTML
> that Mod_survey generates to give designers more control over a survey's
> look. Unfortunately, the use of "id=mds[component|caption|question]" in
> each question is not valid. The id tag must be unique, so the surveys will not
> validate. I've been going through the files in Survey and
> Survey/Components and removing the references to id=*. I am using an old
> stylesheet I made for a previous release and I just had to change a
> couple of things in it to get it to display as expected, but I imagine
> for the rest of you it would break the css examples included.
>
> I'm not great with CVS but I have a feeling I should be working on
> it--assuming things have already changed since the release I'm working
> on. I've not been following the list recently so if I'm off let me know.
>
> Todd
>
> --
> Either you repeat the same conventional doctrines everybody is saying,
> or else you say something true, and it will sound like it's
> from Neptune. -Noam Chomsky
> Skickat av Todd Slater <[email protected]>
> till survey-discussion
>
Skickat av Joel Palmius <[email protected]>
till survey-discussion
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.