Recently, I’ve been doing quite a lot of JavaScript development, part of which involved equalising heights of a group of similar elements on the page. I thought this would be very simple and indeed it was but it threw up a JavaScript quirk which I have seen several times before. The solution is simple, but More >
browser,
browser cache,
browser stores,
container element,
container elements,
correct dimensions,
dimen,
DOM,
dom tree,
element,
height,
image,
Javascript,
Mac,
Mac OSX,
meta data,
modern browsers,
opera,
opera mac,
page,
parent container,
quirk,
tag attributes
A simple example of the time-saving element.morph() Mootools method which allows you to morph HTML elements from one property set to another.
A really quick post detailing the main differences between the very useful Mootools Javascript element.getChildren() and element.getElements() methods.
bit,
child elements,
DOM,
element,
element methods,
first glance,
fragment,
function,
fundamental difference,
getChildren,
item,
Javascript,
list,
MooTools,
one lt,
situation,
sub
Posted by Neil Craig in CSS
CSS outline and border are at a glance very similar but have a few important differences: Outline is effectively overlaid over the top of the element it is applied to and therefore outline does not add to the element width whereas border does add to the element width Outline (according to the official W3C specification More >
This is my personal collection of FireFox extensions that I just can’t live without whilst developing websites.
element,
element type,
FireFox,
HTML,
html validation,
Measureit,
opera version,
page,
recent discoveries,
source code viewer,
Web,
X Marks