Table problem?

She has: 25 posts

Joined: Dec 2003

I think that this is a problem with my tables but I'm not 100% certain.

At my website I am having a problem with the layout on the "Add New Story" page.

If you login using the following login/password: demo/test

and go to "Add New Story" and choose any category you will taken to the problem page.

All of the text in the right column is "smooshed" over in the smallest space possible and there's a lot of spacing in the actual form/fields area.

Can anyone see how to fix this?

The website url is: http://www.alt-realities.net/efiction

nicora's picture

He has: 267 posts

Joined: Nov 2001

I took the liberty of re-formatting your code so that I could read it easier. The reason your text is smooshed up in the right column is because, that's all the room it has. Your text area at the bottom is too large, and only allows a small amount of room. Even if it looks like there is plenty of room up top, scroll down to that textarea and you'll see why. Maybe think of a better place for that description.

Author:
demo

Category:
Angel

Title:

Chapter Title:

Summary:

Genres:

Action/AdventureDramaRomanceHorrorComedyGeneralMystery

ggSelect more than one genre by holding down the Control key.

Rating:

GPGRNC-17

Warnings:

SlashFemslashPre-SlashCharacter DeathDark ThemesViolenceSexual SituationsConsensual SexNon-consensual sexLanguage

Select more than one warning by holding down the Control key.

Roundrobin?

Post to Mailing-List:

Separate multiple lists with commas.

Story Text (text):

You may copy the text of your story here, or upload a text or html file. Once you choose one, the other form option will gray out, and not be choosable.
The following html codes are allowed: <b> <i> <u> <center> <img> <a> <hr>
The script understands carriage returns so, <br> tags are not required. Some html tags such as <p> tags may cause your story to space oddly.

Story Text (file):

She has: 25 posts

Joined: Dec 2003

Ok, I'm going to be very stupid now. . . but I don't quite get what you mean, and I'll explain why.

I didn't create the input form ... it's part of a script that is running the archive, so I didn't create or code the HTML that is being "spit-out" by the script. Are you saying that I should make the text area be fewer columns wide in order to maximize the space available?

nicora's picture

He has: 267 posts

Joined: Nov 2001

If the field descriptions have to be to the right (which I'm assuming they do since a script generates the code), then yes. Minimizing the "summary" and "story text" textareas width will provide more horizontal space.

Suzanne's picture

She has: 5,507 posts

Joined: Feb 2000

What Nicora said, more specifically:

cols="60" is forcing it really wide. try cols="45" like the summary textarea for a better width, or reduce them both to 35 and give them more rows to compensate.

She has: 25 posts

Joined: Dec 2003

Thanks!

Now I just have hunt down which .php file is generating this code.

Suzanne's picture

She has: 5,507 posts

Joined: Feb 2000

efiction/stories.php?action=newstory

check the stories.php file for instructions on what it includes when the action=newstory -- that will be the file you need to edit.

Busy's picture

He has: 6,151 posts

Joined: May 2001

A good way to do that is to have a text editor like editpad that enables you to have many tabbed files open and just do a search on all open docs (in that program).

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.