/    Sign up×
Community /Pin to ProfileBookmark

table-layout:not fixed ?

Hi
Not sure sute if this is a js question but does any one know
what the opposite of table-layout:fixed; is for CSS ?

I am using a class defined in my CSS file as table-layout:fixed; but
for this particular table I want to use the same class but locally un-fix it.

I tried table-layout:variable; but it didn’t work.

Does anyopne know?

thanks
dave.

to post a comment
JavaScript

3 Comments(s)

Copy linkTweet thisAlerts:
@JonaApr 03.2005 — [font=trebuchet ms]It looks like a CSS question to me. Where is JavaScript involved?

You should be able to override a class by adding an inline style to your table tag, though you should also be able to just remove the [i]class[/i] attribute from your table to solve the problem.[/font]

<i>
</i>&lt;table class="tableLayout" style="table-layout: auto"&gt;
Copy linkTweet thisAlerts:
@DaveinLondonauthorApr 04.2005 — The class in my css is callled main.

So to cancel the table-layout:fixed; in my loacl table

I just put <table class = "main" style ="table-layout:auto" >

Is that it ? I was expecting "table-layout:notfixed" or variable.

I'll try it. thanks
Copy linkTweet thisAlerts:
@JonaApr 04.2005 — [font=trebuchet ms]Yes, that should work.[/font]
×

Success!

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