Virtual Mechanics: Community Forums and FAQs
Virtual Mechanics: Community Forums and FAQs
Report Suspected Bugs
No CSS Positioning|
Go
![]() |
New
![]() |
Find
![]() |
Notify
![]() |
Tools
![]() |
Reply
![]() |
|
|
Guru 'Geezer' Mechanic |
The Object Editor "No CSS Positioing" option takes off more than just the CSS positioning. It also removes the <div> tags and id names.
The option should only be removing the position and z-order information. By taking away the HTML <div> tag and id name, there is no way to reference the object and apply other CSS code without using the remaining HTML tags which are global to the entire page (i.e., <font>, <img>, etc.). I can understand losing the outer object div tag, but the inner geometry div tag should remain. |
||
|
VM Staff![]() |
Have passed this on to QA.
- Derry |
|||
|
VM Staff![]() |
OK, here's the word. That is not actually a bug. Although the name may be a bit misleading. It is intended to remove the entire wrapper so that things, like code objects, can be unencumbered. That also lets you group objects together without <div>'s between them.
The new WebEngine beta uses id's in the inner object so you could use those to alter the css. - Derry |
|||
|
|
Guru 'Geezer' Mechanic |
Actually it appears to be using a class name and not an id name. And it also seems to be using the same class name ("txt0") which is not very useful. Example: I have two text objects containing lists which I want to appear different on my page. Trying to alter the list's style via CSS and using the new generated class name of "txt0" would result in the same style being applied to both lists. I obviously would need to have two different class or id names. Also, has anyone there tried embedding a <div> tag inside one of these new text objects? I get a formatting error. |
|||
|
VM Staff![]() |
Hi Larry,
Just to clarify what happens with the new WE beta: Stripping away the wrapper leaves different things on the various object types. On titles or shapes you will get <img id="xxx"> </img>. On code objects, nothing will remain but the code. On text objects, as you saw, only the formatting spans will remain. If the span uses a font format that is not the page's default, it will be given a class. That class will be used for all text on the page that has the same format. So, if you want to modify the css for a specific bits of text anywhere on the page, give that text a unique format and then modify its class. If you want to modify a single text object, use the page's default font for its text (to prevent a class from being added) and, with css positioning left on, modify the id for that text object. Does that work for what you are trying to do? If not let us know exactly what you are attempting. |
|||
|
| Powered by Eve Community |
| Please Wait. Your request is being processed... |
|

