[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] New Wiki Front Page

From: Bart Mermuys
Subject: Re: [Discuss-gnuradio] New Wiki Front Page
Date: Fri, 6 Apr 2007 16:25:44 +0200


----- Original Message ----- From: "Johnathan Corgan" <address@hidden>
To: "gnuradio mailing list" <address@hidden>
Cc: "Eric Blossom" <address@hidden>
Sent: Friday, April 06, 2007 3:38 AM
Subject: [Discuss-gnuradio] New Wiki Front Page

The front page to the GNU Radio wiki has been updated to a simpler and
hopefully more easily navigable format.  Thanks go to Trond Danielsen
for creating the new look and linked pages.


Thanks, but there seems to be a render problem, at least with ie6sp2 & ie7. The words "Content" and "News" do not show correctly. The first letter isn't visible and the second letter is half-visible looking cutoff.

I had a look at the page source, css and noticed the following:

The html page has a table with two td's, like so:

<!-- <div class="wikipage" >
<tr  >
<td valign="top" width="48%" >
  <h2 id="Content">Content</h2>
<td valign="top" width="48%" >
 <h2 id="News">News</h2>

And the trac css file has this:

.wikipage { padding-left: 18px }
.wikipage h1, .wikipage h2, .wikipage h3 { margin-left: -18px}

The wikipage class is inherited by all elements under the div, but according to css rules padding and margin styles aren't inherited. So the td has no padding-left, but the h2 inside it does has margin-left because the style is targetted directly at the h2. Since now h2 has a negative margin and td does not have padding, i assume that's why the first letter isn't shown correctly.

Not sure about the fix, you could :
- apply the wikipage class explicitly to the td's, making them use the padding-left (it's not inherited anymore),
<td valign="top" width="48%"  class="wikipage" >

- change the css:
.wikipage, .wikipage td { padding-left: 18px }

- not use h1, h2, h3 inside td


Thanks and hope this helps,

Johnathan Corgan
Corgan Enterprises LLC

Discuss-gnuradio mailing list

reply via email to

[Prev in Thread] Current Thread [Next in Thread]