/    Sign up×
Community /Pin to ProfileBookmark

Table row height

Hi,

I need to make a table where one column has a fixed width, even when the page width is modified. I tried using the width-attribute of the column but it still automatically resizes the column.

Any ideas?

Ava

to post a comment
HTML

2 Comments(s)

Copy linkTweet thisAlerts:
@FangApr 11.2006 — The height or width? Give a code snippet.
Copy linkTweet thisAlerts:
@phoenixstonecoApr 17.2006 — whenever i have that type of problem the first thing i do is turn on the borders so that i can see what i am working with. if you do not know how to do this i will show you:

<table cols="*" rows="*" border="1"> of course the * would be replaced with your cooresponding numbers.

once the borders are turned on i look at how the table is set up then i use the colspan attribute. so, if you had a 6 collumed table and you wanted a cell to span over 4 collums you <td> tag should look like this:

<td colspan="4">whatever you want goes here</td>

hope this helps!
×

Success!

Help @ava 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.18,
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: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

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

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