You are here: Re: horizontal rule and border colour « HTML « IT news, forums, messages
Re: horizontal rule and border colour

Posted by dorayme on 09/04/06 00:55

In article <uuKKg.22604$rP1.3005@news-server.bigpond.net.au>,
"Wombatwal" <bartsimpson@hotmail.com> wrote:

> G'day all
> I have this on one of my pages of my small web site, not yet published.
>
> <HR noshade color="#008000" size="5" width="100%" align="center">
>
> <table border="4" bordercolor="#008000">
>
> How can I express these two values in a "proper" way. It is only a small web
> site so prefer something simple, this also goes with my HTML knowledge.

Which two values? The table ones? Perhaps closest to what you
want is <table style="border: 4px #008000 solid">

Further still but tidier is to collect all the styles for your
page in the head of the html:

<style type="text/css" title="text/css">

table {border: etc}
hr {color:etc...}

</style>

And tidier still is to hive off all the styles to separate sheet
and link it via a statement in the head section:

<link rel="stylesheet" type="text/css" href="myStyles.css">

And then in the body, you need only have things like

<table>

and

<hr>

--
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

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