|
-
Apr 12th, 2002, 09:46 AM
#1
Thread Starter
Frenzied Member
(HTML) Dont let user squish table.
How do I keep a table from squishing when a user changes the width of the window? I have some 'checkboxes' in a calendar that I am building dynamicly and if I resize the window so that it is not wide enough the cells get narrow and tall breaking the appearance.
Thanks in advance,
Michael
I'm off to GalahTech, hope to see you there.
If you don't like the rules they make, refuse to play their game. -- Steve Ignorant.
-
Apr 12th, 2002, 09:58 AM
#2
PowerPoster
Either specify a width in pixels (may or may not work depending on browser) or use transparent "spacer" gifs so that the cell is unable to shrink.
That works in any situation, but is a little messy
-
Apr 12th, 2002, 10:08 AM
#3
Thread Starter
Frenzied Member
On 2nd look (mmore like 584th look) I noticed it was my text labels were wraping so I threw the ol'e noWrap tag in the mix and all is right with the world (or atleast with my table)
Question:
if using the 'spacer' image trick, will it take forever to the user to recieve the page due to downloading a whole lot of spacer images?
thanks
michael
I'm off to GalahTech, hope to see you there.
If you don't like the rules they make, refuse to play their game. -- Steve Ignorant.
-
Apr 12th, 2002, 10:11 AM
#4
PowerPoster
not necessarily. They only need to be 1 pixel high and as many pixels wide as required. Each one should be no more than a couple of kb at those dimensions.
Obvisouly if you used loads it would take longer but you only need one per table column for it to work.
-
Apr 12th, 2002, 10:48 AM
#5
Black Cat
Originally posted by chrisjk
not necessarily. They only need to be 1 pixel high and as many pixels wide as required. Each one should be no more than a couple of kb at those dimensions.
Obvisouly if you used loads it would take longer but you only need one per table column for it to work.
Can't you use a single 20px by 20px image and size it thru the img tag as needed, so only one file?
Josh
Get these: Mozilla Opera OpenBSD
I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.
-
Apr 12th, 2002, 12:44 PM
#6
Frenzied Member
Originally posted by JoshT
Can't you use a single 20px by 20px image and size it thru the img tag as needed, so only one file?
No, since if they are smart enough to do that, they are smart enough to know they don't need to do that.
Travis, Kung Foo Journeyman
As always, RTFM.
WWW Standards: HTML 4.01, CSS Level 2, ECMA 262 Bindings to DOM Level 1, JavaScript 1.3 Guide and Reference
Perl: Learn Perl, Llama, Camel, Cookbook, Perl Monks, Perl Mongers, O'Reilly's Perl.com, ActiveState, CPAN, TPJ, and use Perl;
YBMS, but Mozilla doesn't.
-
Apr 12th, 2002, 12:58 PM
#7
PowerPoster
Originally posted by JoshT
Can't you use a single 20px by 20px image and size it thru the img tag as needed, so only one file?
good point. But i'd still only make it 1px high
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|