You are here: Re: Is this illegal « HTML « IT news, forums, messages
Re: Is this illegal

Posted by Will S on 06/28/05 13:11

"Dan" <dan@tobias.name> wrote in message
news:1119893917.010450.75890@g47g2000cwa.googlegroups.com...
> Will S wrote:
>> Now I am putting images instead of txt ie <H1> Image file</H1>
>>
>> Is this legal ?
>
> You won't be sent to jail for doing it. It won't even stop your HTML
> from validating, if your image element has the required ALT attribute.
> However, it may or may not be good logical structure, depending on
> whether the content of the image (and its ALT attribute value) is
> actually a first-level header for your document. If your intent is
> merely to cause the images to be centered, but they're not headers,
> then you'd be better off defining a class for that purpose in your
> stylesheet, and then using a class attribute in a div element
> surrounding the content you wish to center.
>

I am new to style sheets. So I give all the images that I want centred the
same ID and then put that ID in style sheets as centred ?

 

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

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