<hr>

windows

Guest
im a rather advanced webdesigner but i was just wondering. Can you color a line? They always turn out blue when i try.<!--content--><hr color="#ff0000"><br />
<br />
<br />
just like addressing a font color<br />
chris<pixelmonkey>:monkey:<!--content-->it doesn't work for me. Ive posted private, and geocities, and tripod. you try it.<!--content-->On tripod it's working on my site.<br />
<br />
Three times in Arachno:<br />
<br />
<hr color="#ff0000"> <br />
<br />
<hr width="95%" align=center><br />
<hr width="95%" align=center color="#ff0000"></hr><br />
<br />
The last one is the new code.<br />
In the new code there is always a start and end tag.<!--content-->Also, you might try<br />
<HR COLOR="#ff0000" NOSHADE="noshade"><br />
This could solve your problem<br />
<br />
If not, use<br />
<HR STYLE="color: #ff0000" NOSHADE="noshade"><br />
<br />
Then it shouldn't depend on your host.<br />
<br />
-aslefo<br />
<br />
btw, petervazed:<br />
Are you serious about having to add </HR>?<br />
What's the purpose?<!--content-->There is a new doctype coming.<br />
Look in every html page on top:<br />
<!doctype html public "-//w3c//dtd html 3.2//en"><br />
and you can see what type is used.<br />
<br />
<!-- m --><a class="postlink" href="http://www.notetab.com">http://www.notetab.com</a><!-- m --> easy to create and validate html.<br />
-------------<br />
NoteTab makes the popular "The HTML Reference Library" (by Stephen Le Hunte) available from the Help menu. If you have HTMLib version 3.0 or older, you can install the package in the same directory as NoteTab. Another method that works with all versions is to create a shortcut* to the HTMLib.exe file in the NoteTab directory. The highly recommended "HTML Reference Library" is available from:<br />
<br />
<!-- m --><a class="postlink" href="http://www.htmlib.com/">http://www.htmlib.com/</a><!-- m --><br />
-----------<br />
Just had a look at this site:<br />
<!-- m --><a class="postlink" href="http://www.w3.org/TR/REC-html40/index/elements.html">http://www.w3.org/TR/REC-html40/index/elements.html</a><!-- m --><br />
The end tag in hr is forbidden in HTML4<br />
But in the new HTML5 it will have a end tag.<!--content-->aslefo <br />
i am pretty sure the NOSHADE="noshade"isn't required.....<br />
:( <HR STYLE="color: #ff0000" NOSHADE="noshade"> <br />
<br />
Try the code below, works with geo and private, i also had it up on homestead at one stage, i haven't tried it with tripod yet!<br />
<hr noshade color="#1EAC9E" align="center" width="90%"><br />
<br />
And yes, soon the </hr> tag will be needed.....oh no, more typing!! <br />
hehehehhehe :p<br />
later all!<br />
gatty<!--content-->actually when no end tag is needed you type it like so:<br />
<br />
<br /><br />
<hr attributes /><!--content-->Well, it may be so, but I think it is a good rule of thumb to always define a value for each attribute. <br />
Correct me if I'm wrong, but html-validators will probably report an undefined attribute as an error.<!--content-->
 
Back
Top