Non-threaded

Forums » Advanced Editor Forum » Read Thread

Get help from the experts on variables, scripts, items, and other scary things.

Div help: Picture to the left and words to right

4 years ago
I've had a little help with divs before, but I have a new doozy of a request. I am assuming utilizing divs is the only way to do it, but I could be wrong.

What I want to be able to do: I'm hoping to be able to put a picture on the left side of the screen and then put text just to the right of it that is not center formatted that starts at any vertical point adjacent to the picture. For example:

This-is-a-frog

When I use the normal text align scripts, I just end up with what is on the bottom. I'm hoping to be able to get what is on the top.

Now, once upon a time someone showed me how to simulate an additional button on the tool bar in story games by utilizing a means of applying pixel coordinates. If that could be done here, I would appreciate some insight into how to do it. However, I would like to be able to do this by any means necessary, except one last resort: making the entire page an image.

Above all else, I do not want to be forced to make the entire page an image, because some people simply do not like images and play without them. So, if anyone can help me be able to get that kind of effect, I'd be very appreciative. (If there is a way to do it with on page scripting, that would be appreciated)

Div help: Picture to the left and words to right

4 years ago
Wonder if you could just use a table to accomplish the same thing - or something close enough to it? That way, you can talk about squeaking frogs to your heart's content.

You can even Align the cells top, middle, or bottom. It works in the story viewer, but not here in the forum for some frustratingly inexplicable reason...

Div help: Picture to the left and words to right

4 years ago

No ‹div›s necessary, fortunately. All you need to do is make it float.

The common rain frog lives underground, only emerging to feed and mate after a rain, usually at nighttime. Its body is stout and globular, with a grumpy face. These beautiful little creatures can be caught gently and easily by hand in the rain. Once on your palm, they inflate, and if tilted slightly, they spread out their fore- and hindlegs to keep from sliding. They also walk, rather than hop, quite quickly.

Source
<img src="https://upload.wikimedia.org/wikipedia/commons/thumb/6/66/Breviceps-adspersus-adspersus.jpg/320px-Breviceps-adspersus-adspersus.jpg" style="float: left; margin-right: 1ch;">
<p>The common rain frog lives underground, only emerging to feed and mate after a rain, usually at nighttime. Its body is stout and globular, with a grumpy face. These beautiful little creatures can be caught gently and easily by hand in the rain. Once on your palm, they inflate, and if tilted slightly, they spread out their fore- and hindlegs to keep from sliding. They also walk, rather than hop, quite quickly.</p>

Div help: Picture to the left and words to right

4 years ago
Damn that's a cute frog/toad/chewtoy/thingy.

(So that's what float does.)

Div help: Picture to the left and words to right

4 years ago
As usual you guys are quick and helpful. Thanks. Now about those frogs... seeing them isn’t enough:

Fat frog