Reply to Re: troubles with CSS positioning in different browsers

Your name:

Reply:


Posted by Beauregard T. Shagnasty on 10/11/07 12:36

Milan Krejci wrote:

> hello, could you look at the following link?
> http://www.petrucci.cz/_pic_ostatni/PND/pnd.html
> have you got any ideas how to position all elements properly?

Remove this line:
<!-- saved from url=(0022)http://internet.e-mail -->

as it drives IE into Quirks Mode,
and switch to Strict doctype:

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">

Beyond that, I can't answer because you didn't say what is "proper".

> another thing - why does A:hover not work?

You have your CSS assignments in the wrong order.
"LVHA" (mnemonic: Las Vegas Has Animals)

a:link { color: blue; }
a:visited { color: yellow; }
a:hover { color: red; }
a:active { <some other color> }

--
-bts
-Motorcycles defy gravity; cars just suck

[Back to original 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

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