Will S wrote:
> "Roy Schestowitz" <newsgroups@schestowitz.com> wrote in message
> d9l4rv$2926$1@godfrey.mcc.ac.uk">news:d9l4rv$2926$1@godfrey.mcc.ac.uk...
>> Lauri Raittila wrote:
>>
>>> in alt.html, Will S wrote:
>>>> I am just starting to use CSS and have H1 as centre style.
>>>
>>> I don't understand this sentence.
>>>
>>>> Now I am cheating by inserting graphics in the heading
>>>>
>>>> ie. <H1> graphics file </H1>
>>>
>>> [Subject:] Is this illegal
>>> No, it is best way to do it, if you have your heading in image. Of
>>> course, it would be better to not have text on images.
>>
>>
>> I think that the original poster knows very well that he does not comply
>> with standards. He cannot be assured that his pages will get rendered
>> correctly in all browsers. Moreover, he demands more tolerance from the
>> browser, which he should not do.
>
> No I dont know. I havn't played with HTML since last century . I am using
> an older version of Homesite and the document validates,
I didn't mean to be critical, but I definitely wouldn't encourage structures
like <h1><img src="foo"></h1>. It looks too organic and prone to breakage.
It also poorly conveys the structure of the document, which may become
crucial if you exported it to HTML into PDF, LaTeX or just copied it
elsewhere.
What I suggest you do is this:
-Go to: http://www.csszengarden.com/
-View the source of the document
-Now have a look at: http://www.csszengarden.com/zengarden-sample.css
-Note the way they combine header images and actual text in a very compliant
and elegant way.
Roy
--
Roy S. Schestowitz
http://Schestowitz.com
|
|