You are here: Re: newbie very frustrated with simple CSS « HTML « IT news, forums, messages
Re: newbie very frustrated with simple CSS

Posted by John Hosking on 12/13/06 09:16

Hello, Slick (great name for a self-described newbie ;-) )

Please don't top-post. It's confusing. I've fixed it for you this time.

Slick50 wrote:
> "Jonathan N. Little" <lws4art@centralva.net> wrote in message
> news:8722e$457f9732$40cba7b0$19541@NAXS.COM...
>
>>Slick50 wrote:
>>
>>>http://messiah.scojul.homedns.org
>>>
>>>Two problems:
>>>1) UL does not display below header DIV in FF, looks OK in IE6
>>>2) UL list items will not center in FF or IE.

>>
>>Don't see a list at URL, but if you want a list "UL" centered you must 1)
>>give it a width and 2) set margins left and right to auto.
>>
>><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
>> "http://www.w3.org/TR/html4/strict.dtd">
>><html>
>><head>
>> <titleCentered List</title>

Should be <title>Centered List</title>

[other helpfulness snipped]

> I actually think I resolved both my problems by using the CSS Validator and
> another post. From the post, I tried clear: both, which put the UL (the
> horizontal text) below the header - just as I wanted. The CSS Validator
> indicated an invalid value for text-align (I was using "middle" instead of
> "center". So both of those problems have been fixed.
>
> However...
>
> I seem to have introduced another problem. The header background color won't
> display in FF. ????
>
>
> I don't know how anyone can get good at this. I've spent three weeks trying
> to get this stupid simple header to display properly and am getting
> absolutely nowhere...
>
Newbie questions should be easy to help solve. But you don't seem to
have any lists at the URL you provided, and you don't have any
clear:both at the URL you provided, and I don't see any attempt to
specify a background at the URL you provided. (And what other post might
you be talking about?) So, do you have another URL? (Or should we stop
trying to help? You don't sound happy yet.)

BTW, what *is* at the URL you provided contains this rule:
font-family: "Comic Sans MS" "Veranda" sans-serif;

1) font alternatives are supposed to be comma-separated; and
2) By "Veranda", do you mean "Verdana"?
3) The use of Verdana isn't always your best choice, but for now, it's
not your biggest problem. (But pay attention over time to discussions
about font choices, so you can decide for yourself).

HTH
--
John

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация