Serverguide HTML not centered
Bug #1159171 reported by
Doug Smythies
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Server Guide |
Fix Released
|
Undecided
|
Doug Smythies |
Bug Description
The serverguide HTML is not centered on the web page, and therefore is inconsistent with all other Ubuntu official help web pages.
It is on the left of the page. I thought is might be related to differences between C.css (used by the dekstop help) and en.css (used by the serverguide), but so far haven't been able to figure it out.
The older "brown" theme (changed about a year ago) was centered.
Any hints as to where to look?
Related branches
Changed in serverguide: | |
assignee: | nobody → Doug Smythies (dsmythies) |
status: | New → In Progress |
Changed in serverguide: | |
status: | In Progress → Fix Committed |
Changed in serverguide: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
The web pages that are properly centered start with these lines:
<!DOCTYPE html> "Content- Type" content="text/html; charset=UTF-8">
<html lang=en>
<head>
<meta http-equiv=
The serverguide html pages start with these lines:
<html> "Content- Type" content="text/html; charset=UTF-8">
<head>
<meta http-equiv=
If I manually add the line:
<!DOCTYPE html>
to the start of a serverguide HTML page, then it centers properly, both for a new load and a refresh type load.
However, if I then take that line back out, loading the page via refresh will stay centered whereas a new load will go back to uncentered and to the left. (???)
I have yet to figure out the root location that leads to what is written here. The desktop ubuntu.xsl and serverguide ubuntu.xsl are identical in the <html> area.
Possibly, rendering and interpretation of <!DOCTYPE> is brwoser dependent.