/    Sign up×
Community /Pin to ProfileBookmark

scrollbar using tables

Hey peeps,
I’ve made a layout of a website with photoshop. Sliced it up and saved it as an html file. Now i have a left and a right cell. The right cell i want to use for adding text BUT i don’t want the cell to adjust itself to the amount of text. I just want a vertical scrollbar and i want the text to start a new line when the text comes on the end of the cell line.
Does anyone know?
Do i need to add the code to the cell or to the external html page with the text?

Hope someone can help me out.

THX Andy.

to post a comment
HTML

3 Comments(s)

Copy linkTweet thisAlerts:
@lieutenantDafJul 07.2005 — just add the property style="overflow-y:auto;" to your cell

=> <td style="overflow-y:auto;">

or better, do that with a css...
Copy linkTweet thisAlerts:
@andyke001authorJul 07.2005 — This is what the code for the cell is for the moment. It's not working for the moment.

<td Background="images/verleidingwebsite_03.jpg" width="361" height="368" alt="" align="left" valign="top">

<font size="2" color="#CC3399" face="Verdana, Arial, Helvetica, sans-serif">Beste

mensen, wij zijn vanaf nu op deze website beschikbaar voor heel belgi&euml;

en het buitenland</font></td>
Copy linkTweet thisAlerts:
@andyke001authorJul 07.2005 — Ok, i've added the DIV style line in my code and I get a vertical scrollbar but when i type alot of text, the line doesn't start back from the beginning but keeps going on. Results, i also get a horizontal bar so that the long lines can be viewed. I want the text to begin a new line at the end of the cell...

<td Background="images/verleidingwebsite_03.jpg" width="361" height="368" alt="" align="left" valign="top">

<div style="height: 150px; overflow: auto">

<p><font size="2" color="#CC3399" face="Verdana, Arial, Helvetica, sans-serif">Beste

mensen, wij zijn vanaf nu op deze website beschikbaar voor heel belgi&euml;

en het buitenland </font></p>
×

Success!

Help @andyke001 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,
)...