4
1

Generally I quite like OSQA's HTML structure, but the searchBar and tab bar (the section across the top of each page containing the questions, tags etc tabs) are defined in tables. This severely limits the CSS trickery that can be applied to refine the layout. I can sort of see why it would be done with the tab bar to position the logo, but this can simply be done with two divs. Even more puzzlingly the search bar only contains one cell, so the table is adding nothing as far as I can tell.

What is the rationale for this and would it not make more sense to implement the layout with divs?

asked 16 May '10, 16:39

Rich%20Seller's gravatar image

Rich Seller
1.8k154047
accept rate: 23%

I would have to agree with you on this one +1

(16 May '10, 16:40) debug

We inherited most of the structure from the original CNProg project. As at almost everything in the original project, we are reworking that too. We were kind of postponing this for last but currently there's a new contributor Tomislav which is converting all the structure to the 960 grid structure. Kudos for him :-)

link

answered 16 May '10, 16:45

Hernani%20Cerqueira's gravatar image

Hernani Cerq... ♦♦
16.8k65975
accept rate: 52%

edited 16 May '10, 16:51

Rich%20Seller's gravatar image

Rich Seller
1.8k154047

2

Any idea where we are on these template changes?

I have a fix ready that removes the tables from the header, but hesitates to push that upstream if someone else is working on incorporating Grid960 (great idea) or removing the tables themselves.

(18 Jul '10, 10:53) sghael

I supplied a patch to replace the tables used in the header.html file

see: http://jira.osqa.net/browse/OSQA-420

link

answered 19 Jul '10, 14:38

sghael's gravatar image

sghael
76137
accept rate: 0%

edited 19 Jul '10, 14:38

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:

×23
×16
×3

Asked: 16 May '10, 16:39

Seen: 678 times

Last updated: 19 Jul '10, 14:38

powered by OSQA