Sie sind nicht angemeldet.

Tuur

Erleuchteter

  • »Tuur« ist der Autor dieses Themas

Beiträge: 3 839

Wohnort: Netherlands

Beruf: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer

  • Nachricht senden

1

Montag, 12. September 2011, 14:32

changing textstyle in div for ipad..

Hi,

maybe a simple question but i like to change the font size and weight in the div..

i have:

Quellcode

1
2
3
4
5
6
7
8
9
10
11
<action name="line-up_text" >
set(plugin[line-up].html,[div style='color:#6A79A4;width:100%;height:100%;
		font:bold 24px Verdana;text-align:left;']Cool Dawn | Line-up
		[br][br]
		[span style='font:normal 12px ;']
		
		ilove krpano
		
		
		[/span][/div]);	
		</action>


so, i like the i love krpano text to go regular and size 12..

What willl be the right syntax for that?

Thanx

Tuur *thumbsup*

2

Mittwoch, 14. September 2011, 17:50

Hi,

regarding to the CSS font docs here:
http://www.w3schools.com/cssref/pr_font_font.asp

Zitat

The font shorthand property sets all the font properties in one declaration.
The properties that can be set, are (in order): "font-style font-variant font-weight font-size/line-height font-family"
The font-size and font-family values are required. If one of the other values are missing, the default values will be inserted, if any.
the font-family value would be missing,

best regards,
klaus

Ähnliche Themen