Re: HTML/CSS issues

Todd Slater <[email protected]>
Newsgroups gmane.comp.apache.mod-survey.general
Message-ID <[email protected]>
On Mon, Aug 16, 2004 at 09:36:49PM +0200, Joel Palmius wrote:
> I know the id/class thing is not very beautiful, but it was the only way I 
> could think up in order to get inheritance. Before removing this, I'd like 
> to discuss alternatives.
> 
> Apart from being ugly and not passing through the w3c validator, does it 
> cause problems in any browser?

Joel, I think most browsers just ignore the id's and so should work
regardless. How about if I work up an example of different question
types without using id's and include the corresponding style sheet?
Better still, I'm not sure I understand why inheritance is needed--or,
what are you trying that can't be achieved with a class declaration?

Todd

> 
> 
> 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

-- 
Name that tune #11: If I were David Byrne, I'd go to galleries and not be
too concerned; and I would have a cup of coffee, and I'd find my 
surroundings quite amusing and people would ask me which were my favorite
paintings.
Skickat av Todd Slater <[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.