WebSite X5Help Center

 
Marvin S.
Marvin S.
User

Scrollbar is hitting the words and need space between them  en

Autor: Marvin S.
Visitado 2252, Followers 1, Compartido 0  

The scrollbar in the text column is hitting the text when selecting the Justify mode.  I Need to know how to add padding / space between the scrollbar and text so the words are not hitting the scrollbar.

Publicado en
6 RESPUESTAS - 1 ÚTIL
Esahc ..
Esahc ..
Moderator

Marvin, how have you created the page. Is the text generated by html or perhaps embedded from another site?

In a normal text cell, the cell grows as required to fit the text and the user scrolls the site to read it if it is too long for the display.

Can you provide a link to the page?

Leer más
Publicado en de Esahc ..
Marvin S.
Marvin S.
User
Autor

Hi there Esahc..Moderator, I have the following link of the website for you to view.

I am the developer and the client says that the scrollbar needs to be further away from the wording.  The wording is developed through the website content.

I have tried to use HTML, CSS, and JavaScript to override the website program paramaters to change the scrollbar location but I am having no luck.

The link to the page is:

http://phoenixthepower.com/biography.html

Thanks for the support

Leer más
Publicado en de Marvin S.
Esahc ..
Esahc ..
Moderator

Marvin

I am not competent at writing code, so your problem is beyond my abilities sorry.

However, I did play around and found that when using a showbox or an html cell, I could not control the proximity of the scroll bar to the text in fully justified mode

https://www.w3schools.com/cssref/css3_pr_text-justify.asp

https://www.w3schools.com/cssref/pr_margin-right.asp

When using left justified text this was not an issue.

If there is a solution to your existing technique, then maybe someone here has the answer, or perhaps we just need to frame the correct question to google.

But my question remains.

Why not simply use a text cell in WX5 and apply full justification plus whatever other formatting you wish. The text will then fill the page and the user can use the browser scroll bar which will be outside of the text box.

If the text is being generated by code embedded within the site, then why not simply make the cell long enough to accomodate all the text without the need for an internal scroll bar?

PS Incomedia cannot assist on this occasion because support for V10 has now ceased and they do not get involved in fault finding 3rd party code in any case. Irrespective, I would like to highly recommend moving to V13 and taking advantage of the ability to create a responsive website.

Good luck - please let us know if you resolve the problem (& how).

Leer más
Publicado en de Esahc ..
John S.
John S.
User

Hello Marvin

You could use an iframe and in here specify the marginwidth.

I have made an example here : http://www.energifremtiden.dk/c4d/phoenix-test.html

I have simply clipped yout text and saved it as a html-file.

Then made an uframe where I specified a margin.

<iframe id="bild1" name="bild1" src="http://www.energifremtiden.dk/c4d/materiale/pdf/phoenix.htm" marginwidth="50"></iframe>

and the css(expert) for the frame : #bild1 { width:95%; height:650px; margin:1px; border-style:solid; border-width:0px; border-color:grey; }

I know it is another way to do it, but it seems to function.

I have a marginwidth of 50 - this is a big margin but you can make it as you wish.

If you use targets for the iframe you could put different pages in it - this way you can have different "tabs" for the text as you have it in V13.

Hope you can use this input.

Kind regatds

John S.

Leer más
Publicado en de John S.
John S.
John S.
User

Hello again Marvin

I came to think - if you need your customer to edit some text himself, you can have the page in the iframe come from another "site".

You could make a subfolder where you make some pages without the template and with dynamic content.

I have made a new test here : http://www.energifremtiden.dk/c4d/test2.html

This shows a page from another site ( could have been a subfolder or so ) and this page was created without template.

This iframe simply shows a page from X5. I think this would be the easiest way to make pages - even if you don't need dynamic content. This way you can use the X5 as a simple HTML-editor and make the layout for the content in the iframe as you like.

BUT I don't quite understand why you don't have a "normal" page ???

You should move to v13 - two month ago I would have told you : keep away from v. 13.

It was long a disaster and the Danish language that was in v12, we had to wait a year to get !!!!!

It seems the INCOMEDIA people have got it to function, and now I hope they will at last realize some of the good ideas we users have brought up - they should do this as : Excuse for the bad program it was at first.

Kind regards

John S.

Leer más
Publicado en de John S.
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator
Usuario del mes ESUsuario del mes PT

>> v.10 >> Step 2 - Map > The Page Properties window > Options in the Expert section | Custom Code | ▼Before closing the HEAD tag  >> >>

... Paste this code:

<style> #imTextObject_1_tab0 {height:auto !important;} </style>

... See provisional > clone(Ctrl+U > Line Nr. 21)

.

ciao (IT)

.

Leer más
Publicado en de  ‪ KolAsim ‪ ‪