|
Posted by Corey Walker on October 21, 2007, 6:37 pm
Please log in for more thread options
John Hosking wrote:
> Corey Walker wrote:
>>
>> This is the page: http://www.reaps.org/walker_html/publications.html .
>> I'm not sure why the different paragraphs all have different fonts,
>> when I can't even see a <font> tag.
>
> The short, simple answer is that the span with class "c1" covers the
> first three paragrpahs (even though they're not marked up as paragraphs)
> and ends before the fourth paragraph. Span.c1 asks for font-family:
> Arial, Helvetica, sans-serif, which is apparently different from the
> default font your browser is set to use (I'm betting you see Times New
> Roman on that last graph). That's just the short, immediate answer, but
> it won't improve your life significantly.
>
> Read the posts by André and Jonathan, and heed what they say (although
> Jonathan berates you a little much for markup you've apparently only
> inherited). The fact that their posts are long point to the tragic
> condition of your site. Diving in to learn HTML and CSS would be the
> best thing you could do, while second choice is probably finding
> *another* "professional website designer" (a good one this time), who
> will redo the site for free. Good luck with that. ;-)
>
> BTW, two weeks ago I suggested defining a background color, but your
> site still lacks such a definition. Something like this in the CSS:
>
> body { color:black; background-color:white; }
>
>
>> I have no idea what the <span> tag does). And since I can't find our
>> O'Reilly HTML book around here, I'm hoping somebody can take a look at
>> the source code, and let me know what I've done wrong, and how I can
>> fix it.
>
> The W3C has resources online, and references for HTML and CSS abound.
> http://www.w3.org/TR/html401/struct/global.html#h-7.5.4 is the HTML 4.01
> version of the text about <span>, but I believe XHTML's is no different,
> and anyway, you shouldn't be attempting to use XHTML right now.
> HTML 4.01: http://www.w3.org/TR/html401/
> CSS 2.1: http://www.w3.org/TR/CSS21/
> Tutorials as mentioned by the others or as found via a search engine.
>
Thanks for all the feedback people. Actually, most of the CSS stuff was
added by HTML Tidy, believe it or not. The site looked fine before I
"fixed" it with Tidy. But this guy did overuse his span and table tags.
I've created nice looking pages before without nesting everything in
tables and <span> tags.
We had a professional designer work on our site before, and it wasn't
quite as fancy, but it was clean, simple, professional and nice. I had
no problem working with her code, because it was all straightforward.
You see, I originally designed a basic site on GeoCities, and then I've
steadily improved and enhanced it. I stepped down for awhile, and a
professional lady took over, and did a beautiful job. Then, she no
longer had time to volunteer her services, so I came back in and
continued working on the site.
Having the site redesigned like this, was not my idea at all. I was told
we were going to get the front page redesigned and that was it. Imagine
my shock when I visited the site one day and found that half the site
had been changed. I think for me now, the simplest thing would be to
scrap his code entirely and write my own. I'll just use his code for the
links table on the left and bottom and the banner at top, which I
actually hate.
John H: I had forgotten about your suggestion to define the background.
I will implement that suggestion, starting with this page. I'll do the
other pages as time permits.
Corey
|