Implementing a html template

Post any questions you have about using the Verj.io Studio, including client and server-side programming with Javascript or FPL, and integration with databases, web services etc.

Moderators: Jon, Steve, Ian, Dave

kotinkarwak
Ebase User
Posts: 109
Joined: Mon Sep 21, 2015 9:55 pm

Implementing a html template

#1

Postby kotinkarwak » Wed Dec 30, 2015 7:47 pm

Hi,
Not sure how to phrase my query but think the pictures will explain.
Using a html template and trying to implement it in ebase by building up the content using div's and html controls on top of the settings that are needed in the project properties where I have added the css, javascript and meta data content.

What I have been trying to work out is why there is a mismatch in the font style in the ebase version.
The following image is from the template .html file opened locally highlighting why is expected.
http://screencast.com/t/NfJjk7MlXYE0

The following is the xbase based project file.
http://screencast.com/t/sxwM8x7ewr

Thanks.
0 x
ebasetech v5

Skype: mateso08
Location: Kenya

Jon
Moderator
Moderator
Posts: 1342
Joined: Wed Sep 12, 2007 12:49 pm

#2

Postby Jon » Thu Dec 31, 2015 9:46 am

The font attributes inherit downwards so they are probably specified somewhere higher on the page - possibly on the Page Control. To debug these problems, I generally use Firebug - right click on a piece of text and select Inspect Element with Firebug. It will then show you the various CSS attributes that are being applied and where they are coming from.

Another piece of information: a Panel Control with no layout is equivalent to a <div>. It's usually easier to use one of these than an HTML Control.
0 x


Who is online

Users browsing this forum: No registered users and 12 guests