Log in   Register a New Account

Accessify Forum - Discuss Website Accessibility

New to the forum?

Only an email address is required.

Register Here

Already registered? Log In

Currently Online

No registered users are online.

Vertical centering in CSS

Reply with quote Actually, as my first question was answered so well, what about quirks mode sites? Is there a solution as neat as the 'dead centre' code?

Smile

(before you ask - I won't be responsible for the quirksiness of the sites in question)

creator of Talklets
Talklets ,
Reply with quote
Phil Teare wrote:
Actually, as my first question was answered so well, what about quirks mode sites? Is there a solution as neat as the 'dead centre' code?

Smile

(before you ask - I won't be responsible for the quirksiness of the sites in question)


If the sites in question suddenly want to go from a standard, flowing layout to a dead-centered one, then a significant rewrite of the code is probably in order. That being the case, it shouldn't be an issue to add a Strict doctype (triggering compliant mode) along with the new layout CSS.

If the owner of a standard, flowing site suddenly wants to shoehorn their existing markup into a dead-centered layout, then it behoves you, as the professional, to question their motives and challenge them to back up their decision to show that they're doing it for reasons which will ultimately benefit their users and, consequently, the site owner - as opposed to it being a pointless and potentially counter-productive 'style makeover' brought about by the site owner's recent seduction by a dead-centered website (which was probably built from the ground up with that layout in mind).

As the professional, it's not your role simply to (attempt to) realise whatever stupid ideas they come up with for the site without question, but to advise them on the implications of their choices and to advise them of better solutions and approaches, when they exist.
Reply with quote Agree with the above points. Dead center sites are rare and I only really used for brochure sites and splash pages.

Bill Posters wrote:
Why wouldn't you be using standards-compliant mode in the first place?
The original source used non-standard doc type and I was working from their file Razz

Johan De Silva / Portfolio
Reply with quote
Johan007 wrote:
Agree with the above points. Dead center sites are rare and I only really used for brochure sites and splash pages.

Bill Posters wrote:
Why wouldn't you be using standards-compliant mode in the first place?
The original source used non-standard doc type and I was working from their file Razz

Then perhaps you could use the appropriate doctype to trigger compliant mode and then alter/append the existing CSS accordingly.

If a job's worth doing…
Reply with quote I repeat:

Quote:
(before you ask - I won't be responsible for the quirksiness of the sites in question)


I agree with everything you're both saying, but the world is not perfect place. Now behove your self. Wink

Is there a quirksmode solution?

creator of Talklets
Talklets ,

Display posts from previous:   

Page 2 of 2

Goto page Previous  1, 2

All times are GMT

  • Reply to topic
  • Post new topic