/    Sign up×
Community /Pin to ProfileBookmark

table size problem

Hi I am having a problem with table size in php
I have this code:

echo ‘<table cols=”1″ border=”2″ cellspacing=”0″ align=”center” width=”100%” height=0%>’;

I want to reduce the height but i can’t.I have tried everything but i can’t reduce it.It remains normal every time.Do you know what should i modify in order to reduce it?

to post a comment
PHP

1 Comments(s)

Copy linkTweet thisAlerts:
@NogDogMay 11.2010 — The HTML "table" element does not have a "height" attribute. Depending on exactly what you want to do, you probably need to address it via CSS, whether we're talking actual height, or margins, or whatever. In any case, it does not appear to be a PHP issue.
×

Success!

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

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

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