/    Sign up×
Community /Pin to ProfileBookmark

Tables for Page layouts

Salam friends,

My query concerns web page lay outs using html tables.I want to know whether it,s possible to design a page with two or three coloums in such a way that if want to copy & paste text in those coloums their size should,nt change even if our spare text lost i.e does,nt fit in the cell.If we set fixed width & height colums of tables then it,s only to achieve non liquid design i.e our lay out remains fixed whatever the user settings are.

But I want to set up such colums or cells that if we copy & paste stuff in them their size should remain fixed.Presently whenever I try to do so colums height increases vertically downward in order to accommodate my whole pasted stuff.In this way one can,t control the page size as its height gets increased.Then how can we know the size of our page?Is there some way that our cells heights & widths remain same,whatever we copy & paste ithere?
Moreover plz. tell me the best recommended way to create page layouts.Gurus say we must resort to CSS rather than html tables.In CSS there,re variations,U know.I mean div or other positioning elements etc.What,s the best way & where we might get such infos. from?Thanks.

to post a comment
HTML

1 Comments(s)

Copy linkTweet thisAlerts:
@ray326Dec 05.2005 — Is there some way that our cells heights & widths remain same,whatever we copy & paste ithere?[/QUOTE]Use divs styled with overflow:hidden if you want extra content discarded, overflow:auto if you want scroll bars.
tell me the best recommended way to create page layouts[/QUOTE]HTML is for page content, CSS for presentation. Tables are HTML, therefore content, and are meant for displaying tabular data, not defining the presentation of the page.
×

Success!

Help @shehri 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 5.3,
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: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,

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