Viewing Positioning Text Relative to Browser Left
Positioning Text Relative to Browser Left
|
User: Les C. 10 years ago
|
|
|
There is a checkbox in the Inspector/Metrics window to do this, but it's grayed out if I don't click on Fixed Position (which I do not want to do). Is there a way to position text relative to the browser window (so that it doesn't move when resizing a window) in EverWeb? Thanks. L C Last edit 10 years ago |
|
|
User: Roddy 10 years ago
|
|
|
If an item didn't move when the browser window was resized, then it wouldn't be relatively positioned.
------------------------------- Roddy Website: http://everwebwidgets.com Contact: http://everwebwidgets.com/ewWidgets-home/contact.html NOTE: I am an EverWeb user and NOT affiliated with EverWeb! Any opinions expressed in this forum are my own. |
|
|
User: Les C. 10 years ago
|
|
|
--Roddy So is it possible to make an EverWeb element non-relative? L C Last edit 10 years ago |
|
|
User: Roddy 10 years ago
|
|
|
Items are positioned on the EverWeb design canvas using absolute positioning. This is what allows the user to drag stuff around and place it where they want. You would need to give an example of what you are trying to achieve. ------------------------------- Roddy Website: http://everwebwidgets.com Contact: http://everwebwidgets.com/ewWidgets-home/contact.html NOTE: I am an EverWeb user and NOT affiliated with EverWeb! Any opinions expressed in this forum are my own. |
|
|
User: Les C. 10 years ago
|
|
|
--Roddy For example, if I place a text box on a page, it will reposition itself in relation to a page when the page is resized. If I place another text box then click on "Fixed position" under the Metrics tab in EverWeb's Inspector window, the item will keep its exact position relative to the left border and is also be fixed along its vertical axis. What I want to do is add an element where the exact distance to the left border is maintained (as in the latter example above), but not fixed along it the vertical axis (it will disappear as I scroll). Is there a way to do this in EverWeb without coding the text? Thanks. L C |
|
|
User: Roddy 10 years ago
|
|
|
The answer to that is "No". I take it the idea of being able to fix an object relative to the browser left is for inserting an item such as a logo into a full width, fixed header so that it appears to act like a responsive one. With the Flex widgets for creating responsive websites, you can have a logo and a navigation button or two navigation buttons set in the header - one on the left and the other on the right. These move with the header since they are positioned absolutely within the relatively positioned header div. Open THIS PAGE and reduce the browser width to that of an iPad. The buttons for the main and sub navigation will appear and move with the header on scroll. On the same page you will see some Flex HTML Heading widgets inserted on top of the Full Width Fixed Height Image widget. Two of these have been fixed relative to the browser left. After I actually got around to using the widgets on a "real" website, I decided that it look pretty lame having these items in view all the time so I modified it so that they fade on scroll rather than lose the convenience of using the EverWeb control and complicating an already complicated widget. Don't tell anyone I have done this as I haven't released the update due to lack of time and the fact that I clean forgot. If fadeout is not an acceptable solution, I don't really know what to suggest. You would probably need to create a full width container and position the text box within it. You would then need to create a widget to insert it so that you can use the EverWeb Full Width control as I have done with the Flex widgets. ------------------------------- Roddy Website: http://everwebwidgets.com Contact: http://everwebwidgets.com/ewWidgets-home/contact.html NOTE: I am an EverWeb user and NOT affiliated with EverWeb! Any opinions expressed in this forum are my own. |
|
|
✔ Best Answer
|
|
|
User: Les C. 10 years ago
|
|
|
--Roddy Thanks. L C |
|
| Post Reply |
| You must login or signup to post. |
