Welcome to WebmasterWorld Guest from 54.196.232.162

Forum Moderators: open

Message Too Old, No Replies

H1 tag bug in Opera

Faulty rendering with text-transform: capitalize;

     
2:56 pm on Sep 26, 2002 (gmt 0)

Preferred Member

10+ Year Member

joined:Nov 22, 2000
posts:384
votes: 0


<head>
<style>
h1 { text-transform: capitalize; }
h2 { text-transform: capitalize; }
</style></head>
<body>
<h1 class="caps">first word is not capital</h1>
<h2 class="caps2">works fine</h2>
</body>

When displayed in the browser, the first word of the H1 tag is not capitalized. Kinda breaks half my pages...

Is this consistent with all operating systems? Do you Mac users see this too?

The above actuall does work, just not on the page in profile.

--------------------------
Opera Version

Version
6.05

Build
1140

Platform
Win32

System
Windows XP

Java
Sun Java Runtime Environment 1.3

3:58 am on Sept 27, 2002 (gmt 0)

Senior Member

WebmasterWorld Senior Member tedster is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:May 26, 2000
posts:37301
votes: 0


Works fine for me.

Version
6.03

Build
1107

Platform
Win32

System
Windows 98

Is this an XP thing? Did you install SP1?

3:34 am on Sept 28, 2002 (gmt 0)

Preferred Member

10+ Year Member

joined:Nov 22, 2000
posts:384
votes: 0


Thanks for looking Ted...

but is the 's' in "Stage Lighting and Power..." [lightdevelopmentconcepts.com] in caps on your monitor? Not on my machine....?

3:41 am on Sept 28, 2002 (gmt 0)

Senior Member

WebmasterWorld Senior Member topr8 is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Apr 19, 2002
posts:3171
votes: 8


but is the 's' in "Stage Lighting and Power..." in caps on your monitor?

no not on mine... opera 6.04 win2k

3:49 am on Sept 28, 2002 (gmt 0)

Junior Member

10+ Year Member

joined:Aug 29, 2002
posts:64
votes: 0


I see lower case "s".
Version 6.04
Build 1135
Windows 98
3:52 am on Sept 28, 2002 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Mar 10, 2001
posts:748
votes: 0


Not on mine either, This is the first 6.0, Win2K.

line-height: .9;

I know that's not the problem, but shouldn't there be a unit?

The above actuall does work, just not on the page in profile.

What happens if you leave the statement as is:

h1 { text-transform: capitalize; }
and gradually add your other attributes? (I'm just wondering if the bug is a combination of something else).
11:09 am on Sept 28, 2002 (gmt 0)

Preferred Member

10+ Year Member

joined:Nov 22, 2000
posts:384
votes: 0



Good idea Bob...

Same result with any combo of attribs - but, I found...

this works -

...your needs in </span><h1>stage lighting...

this does not -

...your needs in</span><h1>stage lighting...

apparently Opera thinks 'instage' is the word I meant...

something new everyday... whitespace does matter sometimes.