pdf style question

Hi,

Trying to get an acrobat text field to have the same style as adjacent text. Tried in line and tried applying a style without luck, the text is taking on a .navlink style from another html item on the page regardless.
Any suggestions ?

using freeway Pro 4.4.2

seoras


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

I assume you are inserting the action into a run of text.

Quite often Freeway requires you to put a space before and after the action/inline item and then select these adjacent spaces and the text before applying the style.

Give that a go.

David


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Thanks for replying Deltadave,

I’m adding it at the end of a few words.
Basically there are just two html items on the page, one for the navigation and the other quite separate with three words (full curriculum vitae) then the acrobat action. I’ve also tried putting a styled ‘.’ after the action to see if that works, still no joy.
Probably something simple I’m overlooking but I’m blind to it.

regards,

seoras


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Why not try changing the text to read something like

If you “click here (the action)” you can download my full cv

And then apply styling.

David


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Dave,

Partly sorted it out - I had a page level link style applied - :-o

However I still cannot apply a style to the acrobat action text when the link to the pdf is made.

It seems the only way going by a previous post is to add a page markup. Which is not very Freeway.

seoras


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Just to go through this again.

Action in run of text with spaces either side.

Select text - including spaces - apply no style.

Select text again - including spaces - apply desired style.

If this doesn’t work let us have a link to the page so that we can have a look at the code.

David


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Sometime around 17/1/08 (at 16:57 -0500) seoras said:

I still cannot apply a style to the acrobat action text when the
link to the pdf is made.

It seems the only way going by a previous post is to add a page
markup. Which is not very Freeway.

Make sure there is a space character both BEFORE and AFTER the
PDF/Acrobat action item. Other text will do as well, but if you want
the action’s output to be on its own line with nothing extra, this is
what you need to do.

Here’s the reason why this is required:
Text styling is normally applied using tags wrapped around text. The
Acrobat download action inserts a link, but this doesn’t
automatically get treated as text and included in the styling
process. If it comes before any text in a new paragraph then it
will come before the things that identify and style that text. The
same happens if it sits at the end of a paragraph; it is placed
outside the text tags, and isn’t styled.
If you make sure there’s at least a space character either side of
the action item, and make sure you select all that text when applying
the text style, that will ensure that the code the action creates
falls within the bounds of the styling instructions. And because
browsers disregard both multiple spaces and spaces at the beginning
of lines, the space before the action item will be ignored by the
browser as it is rendering the layout; it won’t affect the layout.
It is a simple thing once you know! :slight_smile:

k


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Dave and Keith,

Thanks for your time. This one is driving me nuts.

This is the situation - removed everything from the page, there was only a few items anyway.

I use Camino as default browser - the text appears styled but purple as opposed to the styled white. It appears as it should if the parameter (the link to the pdf) is not applied.

In all other browsers the style is as it should be but the ‘download’ has an underline.

I’ve done umpteen sites before with pdf/acrobat actions without any problems.

One thing I did notice in the code is that the text style appears thus with ‘f-lp’ at the end, not sure if that is normal

I’ll upload page if no other thoughts.

regards,

seoras


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

On 18 Jan. 2008, 10:19 am, seoras wrote:

One thing I did notice in the code is that the text style appears thus with ‘f-lp’ at the end, not sure if that is normal

This f-lp style is something that Freeway adds to counter the normal “space-after” of the paragraph it’s applied to. It programmatically adds this second classname to the last paragraph in any given container (div/td). Without it, you would notice (if your design included a background color or border on that container) that your text would never reach the bottom, but would remain whatever distance you set as the inter-paragraph spacing away from that container.

You can have as many classes as you like applied to any object on the page, and as long as you aren’t trying to create padding-bottom or margin-bottom within your mainbodytext2 style you should be fine.

Walter


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Thanks Walter,

That clears that up - mmm I think. Anyway still to resolve the problem I’m encountering.
This is the link: http://www.larkphoto.co.uk/test.html
You might note that on the main site I’ve used the download action and though I’m stuck with an underline at least its the same color :frowning:

regards,

seoras


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Well of course I figured it out myself eventually.
For those in the future who might have a similar problem:
I had a set of page navigation .navlink, .navhover etc set for the main page navigation. Wrong. I eventually resolved the situation by changing the main navigation to use the ‘link styles’ action and used the page links style (.navlink etc) for the pdf download only instead.

regards,

seoras


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options