You are here: Re: <!DOCTYPE> and CSS Scroll bar « HTML « IT news, forums, messages
Re: <!DOCTYPE> and CSS Scroll bar

Posted by Stephen Poley on 03/26/06 09:38

On 25 Mar 2006 14:19:33 -0800, "The Numerator" <alvin4jesus@gmail.com>
wrote:

>Here's the dilemma:
>
><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
>"http://www.w3.org/TR/html4/loose.dtd">
><head>
><title>Text</title>
><link href="styles/default.css" rel="stylesheet" type="text/css">
></head>
><body>
><p>text</p>
></body>
></html>
>
>And in "styles/default.css", I have this:
>
>body {
> scrollbar-face-color: #123456
> // more scrollbar properties
> // ...
>}
>
>But, the scrollbar doesn't work. Then I took the DOCTYPE off, and it
>worked, but the body was all messed up...

I don't think I've met any browser that could mess up <p>text</p>
And what size window are you using that this produces a scroll-bar?

> Could someone tell me whats
>going on

You're (a) using Internet Explorer and (b) doing something else you
haven't told us.

>and a offer a possible alternative?

Two: (1) Opera (2) Firefox.

Oh, and don't bother trying to style scrollbars.

--
Stephen Poley

http://www.xs4all.nl/~sbpoley/webmatters/

 

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

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