Hi folks, I've just been working on styling OSQA for our own website, but I'm noticing that OSQA is somewhat lacking in terms of use of semantic HTML. Is this something that's being worked on? I'd be happy to help in some way. For instance:

  • navigation elements are not UL/LIs, they're just a list of A tags
  • headers are not H1/H2 etc tags, they're just div's of particular classes
  • there's a bunch of inline script tags in the head (which should really appear towards the end of the <body> tag

It just makes it that little bit more difficult to easily style the page from another site template without going in and modifying the HTML. Especially when for things like the login hyperlinks, as they seem to come from the "header_links" registry already as html? (so you can't easily change the html around individual links).

Just my 2 cents :)

asked 06 Feb '11, 14:05

James%20Crowley's gravatar image

James Crowley
41171315
accept rate: 40%

edited 07 Feb '11, 07:11

rickross's gravatar image

rickross ♦♦
12.5k2914972

@James Crowley, I edited the title to have the form of a proper question. All postings at meta.osqa.net are required to have a clear, proper question in their title. Please keep this in mind for future postings. Thanks.

(07 Feb '11, 07:12) rickross ♦♦

In my opinion, we should. How about submitting a patch, @James? =)

link

answered 10 Feb '11, 00:19

Randell's gravatar image

Randell
2.0k479376
accept rate: 28%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×298
×26
×16
×1

Asked: 06 Feb '11, 14:05

Seen: 573 times

Last updated: 10 Feb '11, 00:19

powered by OSQA