Images and absolute positioning problem

User 1939076 Photo


Guest
2 posts

Well.... I"m sorry if I didn't search well enough but I am having the problem that the editor itself puts in this absolute positioning - undesirable to serve different browser sizes.

Is this an option I can turn off so I can have relative positioning?

We want to use this at an office with a newbie but are holding off buying until we'v e got some of these issues resolved. Thank you so muc h.
User 1939076 Photo


Guest
2 posts

Sorry I forgot to mention that it uses absolute positioning when inserting images and I don't think that's going to work because we're using old files and updating them - not creating from scratch. Can't wait to hear how to turn this off. Thank you.
User 355448 Photo


Ambassador
3,144 posts

Laura,

I moved your messages out of the archives so they could get more people looking at them. That will help solve the problem.

Are you using the most recent version of the HTML Editor or are you using the Visual Site Designer?

Placing objects such as images in position using a visual method is done with absolute positioning. If you are using the HTML Editor, you can use the code window and use relative positioning or just write the code to position everything in the flow of the code.

Are you trying to edit an existing site, or are you creating a new site?

Please do specify what editor you are using.
User 59433 Photo


Registered User
1 post

I have the same issue, using latest CoffeeCup HTML Editor 2008, when inserting image, I get:

<p><img style="Z-INDEX: 100; POSITION: absolute" height="242" alt="" src="myimage.jpg" width="200" border="0"></p>

Why is the editor forcing: style="Z-INDEX: 100; POSITION: absolute ??? Any way of disabling this feature?
User 629005 Photo


Ambassador
2,174 posts

Not sure but I think this thread is related to this issue... check it out and see if it helps ya out.

http://www.coffeecup.com/forums/our-design-software/html-editors-visual-editor-code-changes
Living the dream, stocking the cream :D
User 355448 Photo


Ambassador
3,144 posts

Jacek,

Are you using the visual editor tab in the HTML Editor? If so, that is the way visual editors work. If you drag an object to a specific location on your design, the only way for the visual design program to make sure it is placed where you placed it is to use absolute positioning.

If you are using the HTML tab, you can position things the way you want them using CSS, and putting the code for the object in the correct location to use the natural flow of the code.

I don't know how the z-index works with visual editors, but I would expect them to use a starting point, and if you put something on top of that, give it a higher z-index.

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.