browser homepage - work in html?
Brian Burger
blurdesign at gmail.com
Sun Jan 22 02:03:27 UTC 2006
On 1/21/06, Matthew East <mdke at ubuntu.com> wrote:
>
> On Sat, 2006-01-21 at 11:37 +0000, Matthew East wrote:
> > Hi list,
> >
> > It occurred to me that the (new, shorter) firefox homepage might benefit
> > from being edited directly in html. This would enable us to remove the
> > problematic title and play around with the formatting a bit more easily.
> >
> > Any opinions?
>
> I've added this to trunk/ubuntu/browser-startpage, but if in the end the
> group doesn't like the idea, we can easily remove it.
If it's going to be served used as the browser startpage, it should probably
be HTML from the beginning. (Is start.ubuntu.com going to be running before
Dapper Final? Is this page also envisioned as the basis of the
start.u.chomepage?)
I haven't had a chance to view it in an actual browser yet, but the code
commit looks OK - one thing that caught my eye is the point where there are
**three** nested divs to contain a single piece of information:
+ <div class="sect1" lang="C" xml:lang="C">
+ <div class="titlepage">
+ <div>
+ <div>
+ <h2 class="title" style="clear: both"><a id="id2489079"
+ name="id2489079"></a>Getting Help with Ubuntu</h2>
+ </div>
+ </div>
+ </div>
Of the four opening div tags at the top of this fragment, I can't see why
the 3rd & 4th exist at all - they have no class or id, no styles, nothing.
If this was auto-converted from XML by something (Tidy?) I'm guessing it's
some quirk of the translator/converter.
Given that you can also apply styles to headers (the h2 in this case) we
might be able to strip the code down even further to just a simple h2.
Gah, I hate being away from my own machine & setup - I'm housesitting right
now and have no access to my own Ubuntu box... I'll see what I can do about
looking into this HTML sometime this week, though.
Brian/Madpilot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-doc/attachments/20060122/f8b2892b/attachment.html>
More information about the ubuntu-doc
mailing list