what is a replaced element?

John Fitzgibbon jfitzgibbon at Galwaylibrary.ie
Wed Jan 19 07:52:05 EST 2005


Hi,

My understanding is that a replaced element is an empty element that
occupies space like a button on a form or an image. It is also an inline
element (an element that does not force the next element onto a new
line).

Is this correct or is it just a coincidence that all the examples of
replaced elements that I know about happen to be empty (no text between
the start tag and end tag)?

What is the significance of replaced elements? All other inline
elements, eg a and em, occupy a space which is determined by the content
(the text between the start tag and end tag) of the element.

Is the space occupied by a replaced element treated differently in some
way? Is there a good resource on the web pointing out these differences?
I have read the O'Reilly book on CSS but I don't feel that I have fully
understood what replaced elements are all about.

Any ideas would be much appreciated.

John Fitzgibbon

Galway Public Library
Island House
Cathedral Square
Galway
Ireland

p: 00 353 91 562471
f: 00 353 91 565039
w: http://www.galwaylibrary.ie 

******************************************************************* 
Tá eolas atá príobháideach agus rúnda sa ríomhphost seo 
agus aon iatán a ghabhann leis agus is leis an duine/na daoine
sin amháin a bhfuil siad seolta chucu a bhaineann siad. 
Mura seolaí thú, níl tú údaraithe an ríomhphost nó aon iatán 
a ghabhann leis a léamh, a chóipáil ná a úsáid. 
Má tá an ríomhphost seo faighte agat trí dhearmad, 
cuir an seoltóir ar an eolas thrí aischur ríomhphoist 
agus scrios ansin é le do thoil. 

This e-mail and any attachment contains information which is 
private and confidential and is intended for the addressee 
only. If you are not an addressee, you are not authorised 
to read, copy or use the e-mail or any attachment. 
If you have received this e-mail in error, please notify 
the sender by return e-mail and then destroy it. 
*********************************************************************




More information about the Web4lib mailing list