I have a text resizing issue. I changed all my code over to semantic h1, h2 etc instead of the individual divs for each thing, and I really like it.
I have some text on the top of my page that I do not want to get bigger when the person enlarges the text, as it is already really big…it’s a title. I found out by accident that I can keep text from enlarging in IE by assigning points vs ems as shown below. The “problem” arises in Firefox…the text grows up too big and wraps and looks bad. It works great in Opera though…
If anything I would have expected a problem in IE, but maybe it likes my bad coding…can someone tell me the right way to selectively allow text to be enlarged when someone uses control + ? CSS is inline for troubleshooting only. Thanks! ?
[CODE]<!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.01//EN” “http://www.w3.org/TR/html4/strict.dtd”>
<head><style type=”text/css”>
h1{
font: 38pt Arial, sans-serif;color:#e9c62a;
margin: 0 auto;background-color:#ffffff;
letter-spacing: 8px;text-align:center;padding-top:15px;
}
h2 {
font: 18pt Arial, sans-serif;color:#333;background-color:#ffffff;
letter-spacing: 0px;margin: 0 auto;text-align:center;padding-bottom:15px;
}
h3 {
font:.9em Arial, sans-serif;font-weight:bold;color:#faa71b;
background-color:#ffffff;text-align:left;margin-left:210px;margin-right:80px; margin-bottom:0px;
}
</style></head><body>
<h1>I don’t want These<span style=”color: #faa71b”>Words</span></h1>
<h2>to expand in Firefox…but they do.</h2>
<h3>I do want this text to get bigger (cntrl-+)…and it does so correctly.</h3>
</body></html>