Prev | Current Page 450 | Next

Craig Grannell

"The Essential Guide to CSS and HTML Web Design"


Solution: As explained in the focus point within the ???Creating flanking sidebars??? exercise,
rounding errors can be dealt with by reducing one of the percentage values of a column
by as little as 0.0001%, although sometimes this reduction needs to be increased.
THE ESSENTIAL GUIDE TO CSS AND HTML WEB DESIGN
358
Alt text overriding title text
Problem: If you have an image with alt text nested inside a link that has a title element,
the title element will be overridden. This is largely due to Internet Explorer wrongly displaying
the content of the alt attribute as a tooltip.
Solution: The only way around this problem is to duplicate the title attribute and place a
copy of it within the img element. This is superfluous markup, but it fixes the issue in
Internet Explorer and does not adversely affect other web browsers.
?? title="Sunset in Reykjavík" src="sunset.jpg" alt="Sunset in
?? Reykjavík" width="400" height="300" />

Common fixes for Internet Explorer 5.x
A few major problems are known to affect Internet Explorer 5.x specifically, and were fixed
in versions 6 and above. When using any of the fixes from the following Solution sections,
add them to an IE 5??“specific style sheet (see the conditional comment earlier that begins