MidiMagic 579 Nearly a Senior Poster

Some possibilities:

- You didn't yet set the permission of the file once it was uploaded. Only you can see it (while using your hosting account) until you give it public read and execute permission. Some hosts do this automatically, others do not.

- From the error message, it appears that the browser does not have a file name to look for. Are you using the correct url?

- Does your home page have the required filename?

- Has the site had time to activate the file? I had one web server that activated new files and updated changes only once a day.

MidiMagic 579 Nearly a Senior Poster

That's the opposite of what he wants. He wants it to be smaller when the browser window gets smaller.

Do this:
Style:

.imsize1 {width: 50%;}

XHTML Code:

<img src="mypicture.jpg" class="imsize1" alt="my image" />

Set the percentage to the size you really want, as a percentage of the containing tag size.

The image resizes proportionally in both IE and FF, keeping the same aspect ratio. I tested it on IE7 and FF3.

MidiMagic 579 Nearly a Senior Poster

I'm the instructor. I suggested that the students read solutions to some problems here as an exercise in how to research an answer.

MidiMagic 579 Nearly a Senior Poster

Do NOT make images expand when the mouse moves. Nothing makes me hit the BACK button faster than a page that changes when you move your mouse. It's annoying.

The user should click to get as larger image.

MidiMagic 579 Nearly a Senior Poster

There two tricks to it.

1. Do not put size styles (height, width) in the same style or on the same tag as nonzero surrounding styles (margin, border, padding). If you need both, nest tags.

2. Instead of putting a background color on each individual element, put it on the containing element.

MidiMagic 579 Nearly a Senior Poster

you can center horizontally. You can not center things vertically in a practical way that works on all browsers and computers.

Stop thinking of a webpage as a screenful or as a sheet of paper. Think of it as a scroll.

MidiMagic 579 Nearly a Senior Poster

The space is there in <br /> to make the self-closing tags compatible with IE 6 and earlier. IE renders it wrong without the space.

MidiMagic 579 Nearly a Senior Poster

Just remember that this will be tiny on some screens, and huge on others.

MidiMagic 579 Nearly a Senior Poster

Set the height of the cells, rather than the table.

MidiMagic 579 Nearly a Senior Poster

such a shame!

It takes time to develop such support - often years:

- First, until W3C standardizes something for Internet use, don't expect it to work.

- Second, the software does not write or test itself. It can take years to bring a new piece of software to market.

MidiMagic 579 Nearly a Senior Poster

Yes you do need permission.

The system has Deep Freeze. Every time you start an app, it gets a fresh load from the original build.

The software updates don't even work if a user tries to install them. The admins have to download them at night, and install them via superuser remote access.

In addition, it is against the rules to install anything. Users attempting to do so lose their user accounts.

Any addon must undergo rigorous testing before being added to the build. That takes many man-hours.

The admin response to adding the ad filter was "stop using that website."

MidiMagic 579 Nearly a Senior Poster

You have typos in your style (the : must touch the style).

It is impossible to center stuff vertically on the browser window in a way that works on all computers.

Never think of a web page as a sheet of paper. It is a scroll of paper as long as your content. And the browser window pane is not directly accessible to your page, because Windows (not the browser) does the cropping to fit the pane.

MidiMagic 579 Nearly a Senior Poster

This sounds like copyright infringement, if done without permission.

MidiMagic 579 Nearly a Senior Poster

The missing material might be literally UNDER the table, with the table covering it up.

Div tags and table tags don't mix well. The div often renders the wrong size when div and a table are nested. This is especially true if the table can change size dynamically.

Note that dynamic rendering does not normally re-render other objects.

MidiMagic 579 Nearly a Senior Poster

I just discovered that animation is a NONSTANDARD extension to .png graphics.

Until a standard is issued, don't expect it to work on the Internet.

MidiMagic 579 Nearly a Senior Poster

The png format is not well supported at this time. It is too new for good compatibility.

Other things you might check:
- Check for a typogoofical error.
- Validate your code with W3C. Bad code throws browsers into quirks mode.
- Is the cache too small for the file?
- Is the image too large for the space it needs to render in?
- You might need a plugin.
- Is the CPU is too busy doing something else?
- Maybe the ISP can't or won't serve the file type. It is used for pirate videos.
- Older browsers and servers don't know what .png files are, or can't render animated ones.

MidiMagic 579 Nearly a Senior Poster

Uploading pictures is one of the last things you learn about php and mysql. You are putting the cart before the horse. Learn the basics first, and then the advanced stuff will make more sense.

And easy on the zxnrbl in the title.

MidiMagic 579 Nearly a Senior Poster

A footer is not intended as a part of the Internet.

It is a waste of time trying to make one. Just put it at the bottom of your content. Trying to make a page exactly fill the window is also a waste of time.

Your client wants the impossible, for all practical purposes. Tell him to stop thinking of a web page as a piece of paper. It's more like a scroll.

Every attempt I have seen does something weird. One method that seemed to work crashed IE when the page closed. Another mostly worked until the 16x9 monitor appeared.

The Internet is not like a sheet of paper. It is like roll paper. It rolls out as far as the content goes, and no farther. Most browsers don't even know where the bottom of the screen is when deciding how to render. Windows handles the actual cropping of the page to fit the window pane.

The biggest problem with trying to create a footer is that the page writer has no idea what pane size or aspect ratio he is dealing with. The following affect these values:

- The screen resolution of the monitor
- The aspect ratio of the monitor (minor 4x3 variations, plus 16x9)
- Which browser the user is running
- Whether the browser is restored down, and what size and aspect ratio it has.
- Whether a sidebar is open.
- Which toolbars …

MidiMagic 579 Nearly a Senior Poster

You can write your own DOM, if you know how. But your site has to serve it too.

MidiMagic 579 Nearly a Senior Poster

The problem is that you are trying to do what is impossible, for all practical purposes.

The Internet is NOT designed to make something fit the browser window. It is a waste of time trying to do so.

100% height refers to the container, but browsers do not agree on what the container height is if the body tag is the container. Most browsers use the height of the content, not the height of the browser display pane.

Remember that the browser display pane has no set size. The following affect it:

- Screen resolution
- Monitor Aspect ratio (4x3, or 16x9)
- Which browser the user has
- Is the window restored down?
- Which toolbars the user has displayed
- Toolbar add-ons the user has installed

MidiMagic 579 Nearly a Senior Poster

I tried that last code. As written, it put the footer to the left of the header.

The margin-bottom style and the bottom style are two very different things. Margin-bottom put the footer to the left of the header. Bottom put it at the bottom of the screen in IE and FF, but not in some other browsers.

Then I messed around with it a bit (using bottom), and got it to put the text at the bottom, but not in the center.

It does not seem to work correctly with XHTML strict. The centered text is off to the right of center in both IE and FF browsers. Then, when I try to close the IE browser, it crashes with an "IE encountered a problem and needs to close" error.

This code is definitely a kludge that is not an intended use.

It also won't work if the content is too large for the screen (remember that the browser window might be restored down, on a low resolution screen, or on a 16x9 aspect ratio screen). The footer appears superimposed on top of other page contents when that happens.

MidiMagic 579 Nearly a Senior Poster

I just thought of a way you can cheat. But it requires the user to change a setting on his browser:

- Create your page in word.

- Somewhere in the page, instruct the user to set his browser so it shrinks oversize images to fit in the browser window.

- Display the entire page on your monitor.

- Take a screenshot of it.

- Paste the screenshot into any art program.

- Save it as a .jpg file.

- Place the file in your web page as the only object.

The drawback is that you can't have any reliably placed links on the page.

(Note that this is not intended as a serious solution. It is the only thing that I know if that works on most browsers. A serious solution is to leave enough unused space at the bottom of the content, so it stays within one screen on most monitors.)

MidiMagic 579 Nearly a Senior Poster

The reason you can't do it is that the Internet is not designed around a browser window (which can change size and aspect ratio over a large range). It is designed to start at the top, and expand downward until all of the content is rendered.

Anyone who tries to make a page exactly fit the browser window is wasting his time.

There is no reliable way to do it that works on all browsers. On many browsers, height and bottom refer to the bottom of the content, not the bottom of the browser window. If you want a footer at the bottom of a page, then create the page in Word, and print it on a sheet of paper.

.

MidiMagic 579 Nearly a Senior Poster

You can't put something at the bottom of the browser window and have it work on all computers.

There is no reliable way to address the bottom of the browser window, for the following reasons:

1. The Internet is not intended to work that way. A page always starts at the top of the screen, and expands down. It is not like programming an application. You can't have anything defined as "one screen".

2. Different computers have different screen resolutions, so you can't use a set size.

3. Users can do things that change the size and aspect ratio of the browser window, including adding toolbars to the head area (e.g. Google Toolbar), and restoring down the browser window.

4. Different resolutions have somewhat different aspect ratios. And don't forget the new widescreen monitors with 16:9 aspect ratio. The bottom of the screen is a lot higher on the page with those.

5. The IE and FF DOMs are different in what methods they provide to access the screen in JS. W3C does not provide a standard way to do it, and no other browsers provide any methods for this.

Anyone who tries to make a page exactly fill the browser window is wasting his time.

.

MidiMagic 579 Nearly a Senior Poster

You should have uninstalled the apps before you changed the configuration, and then reinstalled them into the new configuration.

What was drive e? Was it your old hard disk, temporarily installed to move files?

Can you put it back the way it was, uninstall the apps, and then set things up again?

Another last ditch possibility is to copy off all data files you need to keep, format the disk, and then install everything from scratch.

MidiMagic 579 Nearly a Senior Poster

Those are interpreters, not compilers.

MidiMagic 579 Nearly a Senior Poster

Why don't you email each one a can of prunes? :icon_cheesygrin:

MidiMagic 579 Nearly a Senior Poster

I still don't understand why they are doing it, if nobody looks at the sigs.

Could it be an attempt to raise a Google search score? If so, can the sigs be shielded from access by search engine robots? (Or you can just TELL them that, but not really do it.)

I also don't understand why everyone is treating these posts as though they were termites eating the foundations of the website. They are annoying, but do they really do any damage?

Likewise, I don't see anything wrong with someone referring to his own website in a post.

MidiMagic 579 Nearly a Senior Poster

Simple solution, install ad-block plus

https://addons.mozilla.org/firefox/addon/1865

Did you not read my post? I have no permission to install anything.

MidiMagic 579 Nearly a Senior Poster

Why do some of the "similar threads" listings under this post box point to threads from 5 years ago?

MidiMagic 579 Nearly a Senior Poster

NO ads should EVER do things when hovered over. You almost always have to cross the top ad bar to get to the menu items above and below it.

I wish I could get some kind of court injunction banning ANYTHING on a web page that causes a change when the mouse is moved over it. That "share" button is especially obnoxious.

There is a button on the ad to turn off the sound, but it resets to being on every time I return to the site.

MidiMagic 579 Nearly a Senior Poster

That makes the entire thread useless.

MidiMagic 579 Nearly a Senior Poster

This is the wrong way to get search engines to find you.

It's not just the domain name. The search engine also looks for the title and the content. If the phrase appears in the website text, it will be indexed.

The meta tags are NOT used, because they have been used to cheat in the past.

MidiMagic 579 Nearly a Senior Poster

It now says the site is under construction, in a single line at the top.

MidiMagic 579 Nearly a Senior Poster

There is no pseudo class named td:white.

MidiMagic 579 Nearly a Senior Poster

0px is an invalid style. It should be just 0, with no unit of measure, for a 0 value.

MidiMagic 579 Nearly a Senior Poster

Have the same home page on each site. Use absolute addressing to refer all of the other links to one of the sites, where the other pages are kept.

MidiMagic 579 Nearly a Senior Poster

You can't.

Attempts to hide the link from the user also hide it from the browser. The user can read the source code for any web page with View / Source.

Why do you want to hide the link? Sounds selfish to me. The entire purpose of the Internet is openness, not secrecy.

MidiMagic 579 Nearly a Senior Poster

You can also save the html file, and open it with Notepad.

MidiMagic 579 Nearly a Senior Poster

There is no way to put it at the bottom of the screen that works with all browsers.

MidiMagic 579 Nearly a Senior Poster

Divs do NOT always expand to fill their containers. This is a known bug in the definition of div.

They seem to work correctly if nothing but text is present, but if you put a div inside something else (especially a table cell), or if you put something else (such as an image, or a bunch of br tags) inside the div, then strange things happen. The div shrinks smaller than its container, or expands beyond the bounds of its container. Different browsers often behave in different ways in these cases.

MidiMagic 579 Nearly a Senior Poster

In simpler words, you can use Notepad to create the css file, and save it with a .css extension on the filename.

MidiMagic 579 Nearly a Senior Poster

It is better to fix the deficiencies in your code, rather than trying to make separate CSS sheets for different browsers:

1. Validate your html/xhtml with the W3C validator. Repair all code that does not validate. Bad code throws each browser into its quirks mode. Quirks mode causes widely varying renderings.

2. Watch making objects not fit. If the browser can't render the page as written because objects do not fit in the available space, different browsers do different things to make adjustments needed to render the page.

For example, if two images are too big to fit side by side, IE causes the last image to drop below the other one. Firefox causes one image to cover part of the other one.

3. IE renders certain objects differently than other browsers. For this reason, it is not a good idea to put size styles (width and height) and surrounding styles (margin, border, padding) in the same style or on the same tag.

To fix this, nest two tags, one with the size styles, and the other with the surrounding styles.

4. IE has tiny differences in rendering (compared with other browsers) that can make the design fall apart. To avoid this, never make the fit so tight that a few extra pixels prevents the fit.

5. Don't use pixels to define sizes. Use percentages to lay out pages, and ems to adjust sizes around text.

6. Make your design flexible. Different …

MidiMagic 579 Nearly a Senior Poster

I don't like this idea. Better ideas include:

- Don't display the signature link if the reputation is negative.

- Remove only the links that go to sites with the primary purpose of selling.

- Just ignore them. I rarely follow a link in a sig, unless I am really interested in that user's info. So their efforts are wasted anyway.

- Turn the links that go to business sites red.

- Put a big SPAM stamp on the post.

I also don't like the removing of links in posts that point to the user's pages. I used to point to tutorial pages I wrote, until you banned that.

If you ask me, there are too many intolerant NIMBYs on this site. They scream if you forget the code tags, they scream if you have a link to your site, they scream if you resurrect an old topic, etc. This place is supposed to be fun, not Big Rules City.

MidiMagic 579 Nearly a Senior Poster

It's the fact that a playing movie usually expects to be on top, combined with the fact that the dropdown does not render until it activates.

We need some limits on what ads can do:

- They must not use up all of the CPU time.*
- They must not do anything when the mouse rolls over them.*
- They must not scroll the screen to show the ad.
- They must not hide the insertion point.
- They must not freeze the mouse.
- They must not expand to cover other parts of the page.
- They must not make sounds.
- They must not prevent navigation.
- They must not advertise anything a child should not see.

And here is a lost of things I would prefer that ads not do:

- No animation. It's extremely distracting.
- No blinking text.
- Any link should be a visible link, not the entire ad.
- Following the link must not destroy the browser history.*

* This should be true for all websites, not just ads.

MidiMagic 579 Nearly a Senior Poster

This is NOT solved. I can't install ANYTHING on the school computers. They make a master load for each semester.

I also can't turn off the sound, because the lesson tutorials use it.

This must be done at the website end.

MidiMagic 579 Nearly a Senior Poster

My ISP places a limit on the size of an upload. Could yours be doing that?

MidiMagic 579 Nearly a Senior Poster

How about writing on how designers have to waste time rewriting web pages that used to work, because the software makers and the W3C keep changing the standards.

It's just like the forced change to DTV that everyone hates. The clowns in charge can't leave the standards alone.

MidiMagic 579 Nearly a Senior Poster

He would have to negotiate a change with the hosting company.

MidiMagic 579 Nearly a Senior Poster

You are NOT going to make any image exactly fill a browser window.

There are several reasons why:

1. Different computers have different screen resolutions.

2. Different users have differing numbers of toolbars on their browsers.

3. The browser window might not be maximized.