[Typo3-dev] GTMENU
JoH
info at cybercraft.de
Wed Sep 7 12:36:57 CEST 2005
> Secondly, with respect to your headlines, I've done _almost_ the same
> thing in pure TS. Look at the (ugly) orange headlines at
> http://www.bedlamhost.com/ - I've just redefined lib.stdHeader in my
> main template to achieve this.
>
> Again, your solution is superior in that it places css in the head of
> the document instead of using inline styles, but I think that using TS
> is a fruitful avenue to explore for this kind of stuff.
FYI:
You don't have to use special CSS for IE5/mac if you assign the
overflow:hidden to the em inside the hx-tag and give it a line-height value
higher than the hx-tag's height.
Due to a bug in IE5/mac overflow:hidden is the same as display:none, for all
modern browsers it will work as expected.
The background image, width and height have to be assigned to the hx-tag.
Using inline styles it should be looking like this:
<h1 style="background:url(whatever) no-repeat; width:550px; height:30px;">
<em style="display:block;height:1px; line-height:90px;
overflow:hidden;">
Your headline here
</em>
</h1>
Would be nice if you guys could test it on different exotic browser/OS
combinations.
It seems to be working with IE5+/Win, Firefox/Win, Opera7+/Win, IE5/Mac
Joey
--
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your knob sometimes!)
Dieter Nuhr, German comedian
openBC: http://www.openbc.com/go/invuid/Jo_Hasenau
More information about the TYPO3-dev
mailing list