/    Sign up×
Community /Pin to ProfileBookmark

if you look at this page you will see the faq’s maker [url]http://javascript.internet.com/generators/faqs-maker.html[/url]
it works well but the problem i am having is that when you view the page and if you question is a long one say like how would you get the javascript to wordwrap the question so it does not keep going straight across the page and causing slider bars on the bottom. i have tried adjusting the tables in the page, and every thing i have tried does not work, the text just keeps going straight across the screen. I was wondering if there is a function that can be made to stop the text going right across the screen.

to post a comment
JavaScript

4 Comments(s)

Copy linkTweet thisAlerts:
@KorOct 04.2006 — I guess you could try giving a width to the main table.
Copy linkTweet thisAlerts:
@robertaussieauthorOct 04.2006 — i have tried all that but to no good. the text just keeps going straight across the screen. that is why i was wondering if it was psossable for a function to tell it to wordwrap at a certain point
Copy linkTweet thisAlerts:
@LeeUOct 04.2006 — I'm not sure why you're having that problem. The site's own [URL=http://javascript.internet.com/faq/]FAQ[/URL] is written using that generator. You might try doing a view source on the page and see what's different.
Copy linkTweet thisAlerts:
@robertaussieauthorOct 04.2006 — well for 1 thing i have done that .. and there questions are short ones. that is fine if all your questions are short .. but if you put a long one in there it just keeps going and going across the screen.i have even viewd the source on there and it still does the same. even with the table sized. that is why i was asking if there is a way to do a function so the questions will word wrap after say like 10 or 15 words or after x amount of caractors
×

Success!

Help @robertaussie spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.17,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...