You are here: Re: Image displaying in Firefox « HTML « IT news, forums, messages
Re: Image displaying in Firefox

Posted by dorayme on 11/11/07 23:32

In article <fh827o$54a$1@aioe.org>, "Ubi" <ubimmc93@libero.it>
wrote:

> > Look at your html and fix it up... you should not put in
> >
> > <style type="text/css">
> > ...
> > </style>
> >
> > in the body. Go to http://htmldog.com/ and see what are the main
> > requirements about the structure: Head, Title, Body and so on.
>
>
> Hi Dorayme
>
> The html I produced is to embed somewhere else.

Why are you saying this, what is it relevant to?

> The main reason why I used a separate style definition is because I don't
> know how to define the :hover behaviour of an anchor using the style
> attribute of an <a> tag.

You have the styles in the wrong place. Either move them off the
file and link, or put them in the head.

> I have been thinking it's possible to definite :hover :active :visited
> anchor behaviours only by defining a class within a <style> tag. Am I wrong?
>

This is not right. You do not have to class anything to style a
web page. If you style an a or an a: or whatever, then the styles
apply to these. You class things to distinguish them from other
like things. An anchor is different enough all on its own from a
paragraph not to need classing. But one link might be wanted to
be one way, another another way, and then it can be helpful to
class them differently (there are other ways too).

As I recommended, study the tutorial link I gave.

--
dorayme

 

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

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