WebSite X5Help Center

 
R S.
R S.
User

Layer in html code  de

Autor: R S.
Visitado 1072, Seguidores 1, Compartilhado 0  

Hi. I installed v. 10 and imported the first file. origin it was designed in one of the first versions. At this time i used some layers for the design. sometimes the position was minus. so i could overlap some other objects. the definition of the wide and high was also made in the html code. now in v.10 the programm is ignoring this code. example: div id="layer1" style="width:180px; height:180px; position:absolute; left:-100px; top:-100px;" img src="/files/hg_left_1.png" /div so what can i do to solve my problem.

Publicado em
11 RESPOSTAS - 1 CORRIGIR
Incomedia
Claudio D.
Incomedia

Hello R.,

In Version 10 the div names probably changed and you need to change the div name according to the new one used in the last Version. Is the project online to see it?

Many thanks!

Ler mais
Publicado em de Claudio D.
R S.
R S.
User
Autor

the problem is ofcourse not the name. i try again. in version 9. used the html box to place a pic. the name of the pic is hg_left_1.png. and i put the pic on the webserver sith filezilla. the src was linked to the position on the server. at the end it was possible to position the pic anywhere on the website. also the size of the box was defined in the html-box. in v. 10 it is not possible to use negativ positions. so i cant get out of the borders from the page content. just try to place a pic in a layer which is on the home page and position it to absolut position which overlap the header.

Ler mais
Publicado em de R S.
R S.
R S.
User
Autor

so. you can see what i mean on this link: http://test.sklenka.com/index.html

this page is made with v8.

and you can see how it looks like in v.10 anc i guess v.9 also at this link : www.sklenka.com. can you please hurry, because a had to delet the pic on the original page www. sklenka. com

thx for your help.

Ler mais
Publicado em de R S.
Incomedia
Claudio D.
Incomedia

Hello R,

You can add negative numbers but you need to declare the tag correctly because top or left without margin- will not work. Add as example margin-top and then yuou can use the negative numbers. Unfortunately I cannot help you with the use of custom code but it is probably related to the z-index value.

Many thanks!

Ler mais
Publicado em de Claudio D.
R S.
R S.
User
Autor

i allready tried margin instead of  absolut position. didn´t work.- and why did it work in v8?  - code is in the attached image. can you please teell me, what you have changed in the programm.

it looks like, there is no absolut positioning possible anymore. btw. thats what layers made for.

Ler mais
Publicado em de R S.
R S.
R S.
User
Autor

i tried the margin again. i can`t use negative numbers. it works only with positive number. It could not be related to z index because there is only one layer i try to positioning.

Ler mais
Publicado em de R S.
R S.
R S.
User
Autor

AND: I can´t even use borders in the html-layer. so what happened to this programm. Do I have to go back to v8. And never buy upgrades anymore? It seems, things are not going better with newer versions.

Ler mais
Publicado em de R S.
Incomedia
Claudio D.
Incomedia

Hello R.,

With the HTML5 Standard writing only left and top will not work and you need to define if its margin or padding. What you need is margin-top: and margin-left: and then you can use negative values. Your code has to follow the HTML5 standards since the pages created with this Version uses this standard.

Many thanks!

Ler mais
Publicado em de Claudio D.
R S.
R S.
User
Autor

it´s not working. i tried many times.

it´s not possible to positioning a layer anywhere on the website. thats it. not even with margin or z-index or what else..

so please don´t tell the costumers, they are to stuppid if you make the mistaks.

but. no matter there  are other solutions. i go back to v.5 an never by another update from website x5.

also many thanks and good by.

Ler mais
Publicado em de R S.
R S.
R S.
User
Autor

btw. is there a webpage where the free positioning is working. made with v.10. ?

Ler mais
Publicado em de R S.
Incomedia
Claudio D.
Incomedia

Hello R.,

If you want to move the div in the page then you can add the code directly in step 2 by selecting the page and then opening the Properties. In the properties open the Expert Tab and then add the code in the Section "Before closing the Body Tag".

In this way you can move the div freely in the whole page.

Many thanks!

Ler mais
Publicado em de Claudio D.