You are not logged in.

Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

Tuur

Sage

  • "Tuur" started this thread

Posts: 3,128

Location: Netherlands

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

  • Send private message

1

Monday, September 12th 2011, 2:32pm

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:

Source code

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*
http://www.virtualtuur.com
Skype:studiotuur

2

Wednesday, September 14th 2011, 5:50pm

Hi,

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

Quoted

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

Similar threads