Topic: Circle or Square? Pages that link to <a href="https://ozoneasylum.com/backlink?for=27716" title="Pages that link to Topic: Circle or Square?" rel="nofollow" >Topic: Circle or Square?\

 
Author Thread
hotentodt
Obsessive-Compulsive (I) Inmate

From:
Insane since: Mar 2006

IP logged posted posted 04-01-2006 16:13 Edit Quote
code:
<hr noshade style="height:50px;width:50px;border:1px solid #FF0000;background:#FF0000;color:#FF0000" />



Discuss.

TwoD
Bipolar (III) Inmate

From: Sweden
Insane since: Aug 2004

IP logged posted posted 04-01-2006 23:51 Edit Quote

Well, nobody specified rounded corners... so I guess it should default back to the simplest shape, which would be a square. Would be neat with an option for rounded corners though.

/TwoD

Skaarjj
Maniac (V) Mad Scientist

From: :morF
Insane since: May 2000

IP logged posted posted 04-02-2006 08:04 Edit Quote

What, precisely, is the point of this? I get the feeling that the more semantically correct element to use would be a <div> not a <hr>


Justice 4 Pat Richard

DL-44
Lunatic (VI) Inmate

From: under the bed
Insane since: Feb 2000

IP logged posted posted 04-02-2006 13:52 Edit Quote
quote:

Skaarjj said:
I get the feeling
that the more semantically correct element to use would be a
<div> not a &lt;hr&gt;


Kinda hard to say that without any context

The point, I would say, is that (as coded) Firefox will render a circle, and IE will render a square.

Not much to discuss......

poi
Paranoid (IV) Inmate

From: Norway
Insane since: Jun 2002

IP logged posted posted 04-02-2006 14:22 Edit Quote

Whatever, the noshade attribute is deprecated.

The specs says nothing about the exact presentation of the HR tags. So it's up to the User Agent vendors to implement it how they think is best. As of today, if you want full control of the HR style, you have to rely on some image replacement technique.

Skaarj: I second you. I'm not sure about the semantical meaning of a HR. What is the use case of a horizontal rule ? To me it sounds like a P or section separator, hence it brings no meaning that we don't already get by the sibling P/DIV.

hotentodt
Obsessive-Compulsive (I) Inmate

From:
Insane since: Mar 2006

IP logged posted posted 04-05-2006 22:08 Edit Quote

Yes, it was merely to point out that it renders as a circle in Firefox, which I thought was odd/interesting. Without 'noshade' in there, however, it renders as a square in Firefox. I can't imagine why that is the case, unless it's just a quirk of their rendering engine.

Anywa, while one can't expect it to be that way forever, it might be fun to use the quirk in a art project type webpage.



Post Reply
 
Your User Name:
Your Password:
Login Options:
 
Your Text:
Loading...
Options:


« BackwardsOnwards »

Show Forum Drop Down Menu