Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: .src = Problem.yes; Site not showing up, extentions and doctypes

  1. #1
    Join Date
    Aug 2006
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Unhappy .src = Problem.yes; Site not showing up, extentions and doctypes

    #1) A couple people have said they can't access the webpage I worked on; they say that it doesn't work, yet the server is up and the page is working when look at from another computer/area.

    #2) Cmotion script is used on the second page of this website.. when I started this project, I erased the doc type at the top just thinking it was some wierd jargin that my Adobe Golive made, but then started second guessing myself so I asked if I needed it in another forum, one guy was like: HECK YES! DON'T TOUCH THOSE TAGS and another person was like: Put it thru a checker and the DocType that gives you least errors is the one.. or something to that extent.. BUT ALL DocTypes give me errors, how am I suppose to know, and without the doc type almost everything comes out fine... Do I REALLY need it? Will my internet explode without it?

    #3) What is the difference between html, htm and not having either of those at all. Uploading the index.html, it would not show the site, but said something like this server is not a list server, then I made it "index.htm" and it came up and everything was smooth sailing. And then when you start going throughout the site, or any site, you start to see things like: http://www.blahblah.com/blah.html .... BUT some sites are like: http://www.blahblah.com/blah ... why can they get away with that and I can't?

    Are all 3 of these thing related some how that these people can't see this site? I mean I know some people haven't updated their browsers since almost 10 years ago and some people have javascript disabled and some work places have filters (which is why I'll probably put up a low bandwidth version now as well), but seriously, I'm frustrated, I'm tired, I've been working on this site for MONTHS, and I just want to be done. I don't know HTML, CSS, or JAVA much at all, just enough to move things around and manipulate, and that being with the help of others at times, so if you've read this far, that means that you probably are interested in helping me, and I greatly appreciated it!, but please know if you are going to help you need to type out exactly what it is if there is to be a change, and tell me exactly where it goes, otherwise I might be lost. Here is the site click here
    Last edited by PearlDoves; 08-16-2006 at 09:40 AM.

  2. #2
    Join Date
    Sep 2005
    Posts
    882
    Thanks
    0
    Thanked 3 Times in 3 Posts

    Default

    Quote Originally Posted by PearlDoves
    #1) A couple people have said they can't access the webpage I worked on; they say that it doesn't work, yet the server is up and the page is working when look at from another computer/area.
    Tell them to check their computers I can see it.
    Quote Originally Posted by PearlDoves
    #2) Cmotion script is used on the second page of this website.. when I started this project, I erased the doc type at the top just thinking it was some wierd jargin that my Adobe Golive made, but then started second guessing myself so I asked if I needed it in another forum, one guy was like: HECK YES! DON'T TOUCH THOSE TAGS and another person was like: Put it thru a checker and the DocType that gives you least errors is the one.. or something to that extent.. BUT ALL DocTypes give me errors, how am I suppose to know, and without the doc type almost everything comes out fine... Do I REALLY need it? Will my internet explode without it?
    No it won't explode,but if at all possible it should be used. Use this one
    Code:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
    Quote Originally Posted by PearlDoves
    #3) What is the difference between html, htm and not having either of those at all. Uploading the index.html, it would not show the site, but said something like this server is not a list server, then I made it "index.htm" and it came up and everything was smooth sailing. And then when you start going throughout the site, or any site, you start to see things like: http://www.blahblah.com/blah.html .... BUT some sites are like: http://www.blahblah.com/blah ... why can they get away with that and I can't?
    It all has to do with the server configuration. If you are new to this don't mess with it.If you really want to reserch mime types. My advice is if the .htm extension is working don't screw with it

  3. #3
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    #1) A couple people have said they can't access the webpage I worked on; they say that it doesn't work, yet the server is up and the page is working when look at from another computer/area.
    More likely, a different browser. Do you have a link for us?
    #3) What is the difference between html, htm and not having either of those at all. Uploading the index.html, it would not show the site, but said something like this server is not a list server, then I made it "index.htm" and it came up and everything was smooth sailing. And then when you start going throughout the site, or any site, you start to see things like: http://www.blahblah.com/blah.html .... BUT some sites are like: http://www.blahblah.com/blah ... why can they get away with that and I can't?
    The file extension has nothing to do with the content of the file, but it will tell the server which Content-Type header to send by default. This can be changed by various mechanisms such as .htaccess or the server's configuration file.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  4. #4
    Join Date
    Dec 2004
    Location
    UK
    Posts
    2,358
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by PearlDoves
    #1) A couple people have said they can't access the webpage I worked on; they say that it doesn't work, yet the server is up and the page is working when look at from another computer/area.
    It might just be a temporary problem; their network was congested, and so the connection timed out. It also might have been that at the time they checked, there were server problems that were since fixed. Either way, I can see no connectivity issues, so the problem probably is (or was) at their end.

    when I started this project, I erased the doc type at the top just thinking it was some wierd jargin that my Adobe Golive made ...
    It wasn't.

    Put it thru a checker and the DocType that gives you least errors is the one.. or something to that extent..
    That's definitely the wrong approach to take. The document type determines what elements and attributes can be used whilst keeping the document valid. Except in rare circumstances, all new documents should be written against the Strict document type, as this eliminates all of the presentational junk that was necessary around the turn of the century, but not longer (CSS should be used to control presentation).

    BUT ALL DocTypes give me errors ...
    Then your document is invalid, perhaps due to something fundamental like overlapping tags.

    ... without the doc type almost everything comes out fine
    That's because browsers have been engineered over time to try and correct errors, rather than simply rejecting the document (though that is an option). However, error correction operates in different ways in different browsers, so relying upon it is not a good idea; documents should validate.

    Do I REALLY need it?
    Need it? No. Can you benefit from it? Yes. The document type declaration is used in modern browsers to determine how a document is rendered. This is known as DOCTYPE switching (or sniffing). Essentially (though it is more complicated than this), if the browser finds a document type declaration that contains both a public and system identifier (the quoted string starting "-//W3C//", and the quoted URL, respectively), it will switch into "Standards" mode. Here, the browser will attempt to render the document as closely to the relevant standards (like CSS) as it can, which facilitates more predictable rendering behaviour. The alternative is "Quirks" mode, where the browser intentionally exhibits bugs found (and since corrected) in previous versions, as documents that trigger Quirks mode usually rely on these bugs.

    #3) What is the difference between html, htm and not having either of those at all.
    Historically, the difference between .html and .htm stems from filesystems that use the antiquated 8.3 filename format (such as FAT as used in Windows 3.1). Because these couldn't use long filenames, including long extensions, "html" was truncated to "htm". Some people continue to use this shortened version, but there's frequently no need to any longer.

    In a URL, the extension is irrelevant. It's simply considered to be part of the name and has no special significance (unlike within Windows). However, as Twey said, it can be used by the server to alter how it treats a file, such as passing it through filters or to handlers, or using it to select a MIME type.

    Uploading the index.html, it would not show the site ...
    Servers can be configured to use a particular file, or one of a set of files, if a directory is used for the request URL rather than a specific resource. For example, Microsoft's IIS uses default.htm, whereas Apache uses index.html. These can be changed by the server administrator, or even a Web developer (if given the appropriate permissions).

    And then when you start going throughout the site, or any site, you start to see things like: http://www.blahblah.com/blah.html .... BUT some sites are like: http://www.blahblah.com/blah ... why can they get away with that and I can't?
    Those sites have servers configured to make it possible. It's not that complicated, and there are a couple of ways to do it. In fact, it's actually a good idea as it allows you to use any technology you like (like PHP or plain HTML), but if you later change your mind, it's not necessary to start editing files to update links (or lose traffic from sites with outdated links).

    I can explain it if you like, but it's probably not something you need to worry about.

    Hope that helps,
    Mike

  5. #5
    Join Date
    Aug 2006
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Here is the rundown on what's been going on, which is generally still in the grey, but here it goes:

    I tried the suggested doctype... as soon as I put that in, there are only a few syntex problems. I think most of those problems have to do with not setting an ALT in my img tags, which I don't think its anything to worry about. The images that scroll on the portfolio.html says that I need to list a height and width along with the alt, but the Cmotion script didn't include those to begin with, so would width and height really matter if its doing fine as is?

    These two lines were flagged, but not sure if they need fixing or not, it came back as needing an end tag?
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" >
    <link rel="stylesheet" type="text/css" href="gallerystyle.css" >

    I dunno, these validators all have different opionions I think, there might be a problem with one of the meta tags, one said that NOBR is not supported, for some reason and my Adobe GoLive flags "id" in red like something is wrong, and comes back saying "attribute 'id' not allowed" but again, some of this is all apart of the CMotion script, so I kinda give up here.


    But here is the punch... I can put the Doctype to check for errors and whatnot, but ultimatly, I'm not going to be able to keep the doctype declariation. When I saved my portfolio.html with the declariation and up loaded it on the server the images that I have sliced are all messed up, it looks like a digital puzzel that got steped on or something. It may be an Adobe bug, I've had to work around one before by useing my text editor, but this time my text editor won't let me view just the html code, so thus my hands are tied right now. If you all want to have a go at the syntex, be my guest because right now, I'm willing to leave things as they are for the most part.


    But Thank you everybody for your help, I am learning by all this, and I greatly appreicate your time on the matter.

    Also, Mike, I would like to know more if its not too much trouble, I'd like to forward some of that info to a friend who hosts pages possibly, plus, I'd like to know for myself for the future should I ever need it... Whenever you can/feel like it, no rush, Thanks!
    Last edited by PearlDoves; 08-17-2006 at 07:23 AM.

  6. #6
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    I think most of those problems have to do with not setting an ALT in my img tags, which I don't think its anything to worry about.
    If it weren't something to worry about, the validator wouldn't have pointed it out.
    so would width and height really matter if its doing fine as is?
    I've never seen that before, but if the validator says you need to do it, you almost certainly do.
    These two lines were flagged, but not sure if they need fixing or not, it came back as needing an end tag?
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" >
    <link rel="stylesheet" type="text/css" href="gallerystyle.css" >
    Well, the first is pointless: your server should be sending the correct Content-Type header, which will override the meta tag. That error suggests that you're using XHTML. The suggested DOCTYPE was HTML4.01,
    Code:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
    one said that NOBR is not supported
    It probably isn't -- I'd think it had been deprecated by the CSS white-space: nowrap.
    my Adobe GoLive flags "id" in red like something is wrong, and comes back saying "attribute 'id' not allowed"
    Ignore Adobe. Pay heed to the W3C validator.
    When I saved my portfolio.html with the declariation and up loaded it on the server the images that I have sliced are all messed up, it looks like a digital puzzel that got steped on or something.
    Then you did something wrong whilst uploading it, if it didn't look like this locally. Use FTP in ASCII mode.
    It may be an Adobe bug, I've had to work around one before by useing my text editor, but this time my text editor won't let me view just the html code, so thus my hands are tied right now.
    Then drop Adobe. What do you mean, your text editor won't let you view the HTML code? A text editor that can't open a text file? That's a bit useless, isn't it?
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  7. #7
    Join Date
    Dec 2004
    Location
    UK
    Posts
    2,358
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by PearlDoves
    I think most of those problems have to do with not setting an ALT in my img tags, which I don't think its anything to worry about.
    Maybe; maybe not. Have a read of some Usenet threads regarding alternative text and image galleries. The alt attribute is required, and its contents are useful to some people, even if you don't see it yourself.

    The images that scroll on the portfolio.html says that I need to list a height and width along with the alt ...
    Neither the height nor the width attribute is required, though both can help rendering behaviour as the browser will know how large each image is, eliminating the need to reflow the document. It's not that important, though.

    These two lines were flagged, but not sure if they need fixing or not, it came back as needing an end tag?
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" >
    <link rel="stylesheet" type="text/css" href="gallerystyle.css" >
    That would suggest that you are serving XHTML as HTML; that is, you've used an XHTML document type declaration. If that's the case, use HTML instead and ensure that you don't have any start-tags that end with "/>" (only ">"). I'd need to see the actual markup to be sure, though.

    I dunno, these validators all have different opionions I think,
    There are numerous validation services available, and some are better than others. However, a document is either valid or it isn't, and the W3C validator is probably as authoritative as validators get.

    there might be a problem with one of the meta tags,
    As I said, I'd need to see the complete markup. Upload a test page because I'm not getting the same error messages that you seem to be.

    one said that NOBR is not supported,
    The nobr element is not defined. It is a proprietary element, and not part of HTML 4.01. CSS provides the same functionality with the white-space property and the nowrap value.

    for some reason and my Adobe GoLive flags "id" in red like something is wrong, and comes back saying "attribute 'id' not allowed" ...
    Is this again related to the nobr element? I believe that the nobr element was introduced by Netscape at a time either before the id attribute was added to HTML, or before Netscape supported it. Either way, the element can be dropped in favour of CSS.

    If you all want to have a go at the syntex, be my guest because right now, I'm willing to leave things as they are for the most part.
    I might later on. It'll involve removing the tables completely as they really aren't necessary.

    By the way, the contrast between the black background and the links and copyright notice seems a little low to me. I can see that it's there, but it's not that easy to read.

    Also, Mike, I would like to know more if its not too much trouble,
    Not at all. I just didn't want to bombard you with too much information, particularly if you weren't that interested.

    There are two methods of implementing extension-less URLs that come to mind. The first uses Content-Type content negotiation.

    The Apache Web server (and some similar servers) implement a feature called MultiViews. When an incoming request can't be found, the server looks for files with similar names; specifically, added extensions. These extensions can provide various information: language (English, Spanish, etc.); content type (HTML, PHP, JPEG); character encoding (UTF-8, ISO-8859-1); and, content encoding (Gzip, Compress). Using information sent by the browser, it then tries to find the best match.

    For example, given a request for "foo", the server might find "foo.en.html" and "foo.fr.html". From the mod_mime module, it would know that both are text/html, and that the first is in English and the second is in French. As it has two languages to choose from, it would select whichever the browser says is preferred (a setting which the user can alter).

    The same sort of thing can happen with content type, which is what we're interested in here, but we make the choice for the server simple: only supply one file. That is, when given a request for "foo", the server will only find "foo.html", or "foo.php".

    The MultiViews feature is a per-directory option, enabled using the Options directive. It can either be controlled by the main server configuration, or using .htaccess files (assuming the server administrator hasn't revoked that permission):

    Code:
    Options +MultiViews
    It should be noted that the server makes these negotiated choices early, so if one were to use a server-side language, it would consider the content type designated for those language files. Taking PHP as an example, it's often configured with the following directive:

    Code:
    AddType application/x-httpd-php .php
    However, this can cause problems: if the user agent making a request don't include the */* wildcard in its Accept header (this states that the browser will accept anything), Apache will conclude that nothing is suitable to return to the browser, and return an error response (406 Not Acceptable).

    The solution is to add PHP support (or any other server-side language) through the use of handlers. For example:

    Code:
    AddHandler php-script   # PHP 4
    AddHandler php5-script  # PHP 5
    The AddType directive can then be used to indicate what the PHP script will generate (such as text/html, or image/png). Obviously, that may change from script to script, so it may be necessary to separate scripts into directories by type; scripts that generate images in /images, for instance.


    That moves neatly onto the second method: per-directory content types. As noted previously, content type is usually determined by file extension, so if we omitted an extension entirely, the server would either have to guess the type, or use a default (usually plain text; text/plain). However it's also possible to force the designated content type. In Apache, this is achieved using the ForceType directive, which is a per-directory setting. This can be used to state that everything in a given directory is, say, PSP (Python). The server then knows that it should hand the file off to the Python interpreter or, in the general case, it can set the Content-Type header properly.

    This method is very simple. I can have files simply named "index" or "products", and use the forced content type to provide the extra information required. However, it's also limiting in that all files in the same directory must be the same type. This would mean, for instance, either separating static HTML files from dynamically generated ones, or accept the overhead of having a preprocessor pass over them unnecessarily looking for code that's never there. Still, it's workable and should be quite efficient.


    Though I've only mentioned how this would work in Apache, it can be applied to other servers, too. I also realise that the above might be very difficult to absorb, but it's hard to demonstrate without being face-to-face. If you have a test server that you can play about with, it's easier to see how it works. I'm happy for you to ask about specific issues, and I'll try to explain them in more detail. However, first you might want to read the Apache documentation, especially the user's guide on topics like content negotiation.

    Thanks!
    You're welcome.

    Mike
    Last edited by mwinter; 08-18-2006 at 07:44 PM. Reason: Corrected link to W3C Validator

  8. #8
    Join Date
    Aug 2006
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    http://www.doctor-html.com/RxHTML/
    That was where I was doing some of my vailidating before. But I was also checking against the one you mentioned. I haven't uploaded what I've corrected so far (I added the alt to the images and took away the "/" for the link and meta tags), but I did upload the current errors using the checker you mentioned, this is where you can see my current errors, which are now only 10 with the W3C validator, but some I think 44 with the Doc HTML one, lol.

    see errors here: ERROR ERROR

    Image Ready and Golive seem to default to XHTML, so even though I hadn't that declaration, what it generates seems to still be XHTML related.. taking out thte "/" at the end of the meta and link tags did allow it to pass thru the validator, but if I seriously don't need this: <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" > I'll be willing to take it out, its just what Image ready conjured up when it wrote the code for my image slices and such.

    So yea, my text editor.. When I open up my file in it, it shows up like a webpage in a browser would pretty much, which I thought was strange. SO then I copy and pasted the code, saved it as HTML and when I uploaded it and check it out in a browser, I saw text, lol, so I don't know anymore.

    But even if I am able to just get the syntax right without the doc declaration (since the doc declaration alone seems to be messing everything up, but it could also be a bug that works itself out once all the syntax is correct.. I'm hopeful) is that still better than nothing? Or do browsers not care unless you have the declaration spelled out for them?


    Mike, I dunno if I'll know what to do if you take away the tables, lol, (because its easy to update due to the code that spits out of the programs). But at the very least it'll be a good lesson in CSS.

    But in a nutshell the probs seem to be coming from NOBR ID and the body tag, and I don't know how to manipulate code to make it work. But part of me wonders if this is being flagged because the validator isn't taking into consideration the external files that go with the Dynamic Drive CMotion script? I know one of those files is Java and I think the other is CSS related... but you guys would know better than me.

    Quote Originally Posted by mwinter
    By the way, the contrast between the black background and the links and copyright notice seems a little low to me. I can see that it's there, but it's not that easy to read.
    AHHHHHH! NOOOOO! lol, I've seen this problem before though, at another location, it had to do with monitor adjusting. PC monitors and TV's seem to have a gamma at 2.2 (darker) while others are at 1.8. But even when I turned down my monitor brightness all the way and put the gamma at 2.2, I could still see things okay (though dimmer and darker in contrast) But it sounds like you need to up your brightness and mess with your contrast a bit, because the background color should look like a darker (yet reasonably colorful) blue #000034. If you have a tube monitor, it could slowly die like a TV which means a need for uping brightness and messing with contrast, or it could just be turned down in general. See if that helps, let me know. I'd hate to see you miss out on a colorful internet world

    Thanks again Everybody, I appreciate all this a lot.
    Last edited by PearlDoves; 08-18-2006 at 09:40 AM.

  9. #9
    Join Date
    Dec 2004
    Location
    UK
    Posts
    2,358
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by PearlDoves
    I sincerely hope you didn't pay for that. Some of its information is misleading, and I wouldn't suggest that you use it.

    But I was also checking against the one you mentioned.
    Sorry about the broken link, by the way. I think I missed a closing square bracket (it's been fixed).

    see errors here: ERROR ERROR
    The first two paragraphs in the explanation of the first error give a fairly good overview of errors 1-9, including why an id attribute (which is available for almost all HTML elements) is flagged as invalid. The attributes that were flagged are either presentational and should be replaced by CSS, or were never part of HTML in the first place (for example, marginheight, which is proprietary).

    The body attributes can be replaced by the following CSS rule:

    Code:
    body {
        background: #000034;
        color: #rrggbb;
        margin: 0;
        padding: 0;  /* Some browsers use padding, not margins, for the body element. */
    }
    The color property is incomplete, but would take the value of that lighter blue (as it's anti-aliased, I'll leave the real [rather than apparent] colour to you).

    The height attribute on the table is a problem because tables have never had an explicit height: it has been computed as a sum of each row height. A height property can be applied via CSS, but if the heights don't match, it's undefined how the space is distributed. Still, you can do it if you want.

    Rather than placing a border attribute on every image within an anchor, you can use:

    Code:
    a:link img {
        border: none;
    }
    Similarly, to keep that border for images within the gallery:

    Code:
    #motiongallery a:link img {
        border: 1px solid;
    }
    The width attribute on table cells can be replaced by the width property in CSS. Alternatively, you could use columns (col elements). However, I wonder whether you need it at all for that lone cell.

    Image Ready and Golive seem to default to XHTML ...
    Yes, it's an unfortunate trend in editors. There's no problem in using XHTML in server-side processes (it can be useful for content management), but it's pointless for serving to clients: they don't process it as XHTML so any potential benefits are lost.

    ... if I seriously don't need this: <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" > I'll be willing to take it out
    Technically yes, technically no. By default, text media types sent without a character set parameter should be processed as ISO-8859-1 (Latin-1). However, most browsers are configured to assume some other value (often Windows-1252). As a result, an explicit character set should be sent.

    That said, you still shouldn't use a meta element, but actually configure the server to send it as part of the HTTP headers that begin the response. My IIS documentation is broken, so I'm afraid I can't tell you how do this for your site. If no-one else knows, you could try asking the server provider. The administrator might have to make the change, anyway.

    So yea, my text editor.. When I open up my file in it, it shows up like a webpage in a browser would pretty much, which I thought was strange.
    It certainly is. An odd (and slightly patronising; sorry) question: are you sure you used a text editor, rather than a word processor or some Web development-specific software? At most, text editors provide syntax highlighting or visual cues like bracket matching, but not fullblown rendering.

    [Regarding document type declarations] ... do browsers not care unless you have the declaration spelled out for them?
    As I mentioned in a previous post, the document type declaration is used by many modern browsers solely to switch to standard-compliant rendering. This is usually desirable because the CSS Specification provides rules that define precisely how a browser should respond to a particular CSS property value. There are of course problems with implementation bugs (MSIE being the worst recent browser), but there are usually workarounds.

    It's not something that's necessary, but it does tend to make life a little easier.

    Mike, I dunno if I'll know what to do if you take away the tables, lol, (because its easy to update due to the code that spits out of the programs).
    Heh. They are a pain to manage by hand though, and to problem-shoot (at least when you get confronted with nested tables to the sixth degree, and other silliness).

    But at the very least it'll be a good lesson in CSS.
    Hopefully. I should get it done this weekend. The only thing that's putting me off is fiddling with the decorative images (I'll be aiming to convert most of the content to pure text, but keeping the same look).

    But in a nutshell the probs seem to be coming from NOBR ID and the body tag, and I don't know how to manipulate code to make it work.
    Maybe the above will help nudge you in the right direction. Ask, though, if you'd like a stronger push.

    But part of me wonders if this is being flagged because the validator isn't taking into consideration the external files that go with the Dynamic Drive CMotion script?
    No, that's not it.

    I know one of those files is Java
    Javascript. There's a (big) difference.

    and I think the other is CSS related...
    The style sheet is included via the link element, and there's no problem with that apart from the trailing slash you removed.

    AHHHHHH! NOOOOO! lol, I've seen this problem before though, at another location, it had to do with monitor adjusting.
    Yes, monitor calibration is a pain. I have recalibrated mine visually (just for you ) and it's better, but I'd still prefer it to be ever so slightly brighter. It's not my decision, though.

    But it sounds like you need to up your brightness and mess with your contrast a bit,
    Actually, I had the ramp the gamma slightly.

    because the background color should look like a darker (yet reasonably colorful) blue #000034.
    I could see that today as there was a thunderstorm overhead and less ambient light, but I couldn't yesterday.

    If you have a tube monitor, it could slowly die like a TV ...
    I know, but...eek! Don't say things like that. This CRT isn't that old!

    I'd hate to see you miss out on a colorful internet world
    The problem I've always had with monitor calibration is conflicting advice about the right targets (I'm not a graphics person, so I listen to others who should know better) and the inevitable mixed results: colours look great in some cases, but washed out or subdued in others. Things seem to be going well at the moment, though.

    However, you have to consider that the average user won't have calibrated their display (or even know that they should), and so they might still be in the same boat. Also, simple colour analysis does put the contrast under the recommended limits.

    Out of idle curiosity, what have you set the colour temperature of your display to? The only advice that I didn't follow was to set it to 6500K. Though my eyes did adjust to the apparent yellow tint after a few minutes, it still seemed a little strange. And besides, I like blue (9300K).

    Thanks again Everybody, I appreciate all this a lot.
    You're welcome! Again. Haha.

    Mike

  10. #10
    Join Date
    Aug 2006
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by mwinter
    I sincerely hope you didn't pay for that. Some of its information is misleading, and I wouldn't suggest that you use it.
    Nah, I did no such thing, I think anybody can use it.


    Quote Originally Posted by mwinter
    The body attributes can be replaced by the following CSS rule:

    Code:
    body {
        background: #000034;
        color: #rrggbb;
        margin: 0;
        padding: 0;  /* Some browsers use padding, not margins, for the body element. */
    }
    The color property is incomplete, but would take the value of that lighter blue (as it's anti-aliased, I'll leave the real [rather than apparent] colour to you).
    The height attribute on the table is a problem because tables have never had an explicit height: it has been computed as a sum of each row height. A height property can be applied via CSS, but if the heights don't match, it's undefined how the space is distributed. Still, you can do it if you want.
    I have to be honest and say i think I'm getting over my head here, I don't understand this, its confusing to me, but for whatever reason I can make sense of what I have for the webpage right now, which is important to me for the sake of control and updating.

    I don't know the difference between real and apparent colour. I also don't know if this part of the CSS will work with the script I got because I still need the JS to work. A while ago, in another forum, the roll overs and the motion container did not work together so I was told to change my body tag to include: onload="preloadImages();fillup();" and take (what I think was) the fillup out of the external JS. Then it worked. So does that need to be included somehow? I have no clue as to how it would be written


    Quote Originally Posted by mwinter
    Rather than placing a border attribute on every image within an anchor, you can use:

    Code:
    a:link img {
        border: none;
    }
    Similarly, to keep that border for images within the gallery:

    Code:
    #motiongallery a:link img {
        border: 1px solid;
    }
    The width attribute on table cells can be replaced by the width property in CSS. Alternatively, you could use columns (col elements). However, I wonder whether you need it at all for that lone cell.
    Well I'm not sure if this will keep a permanent border? Right now the border changes on mouseover, which is what I like about it, makes it seem more interactive. I remember seeing a CSS with borders and such in the external file. Again I'm over my head here. Not sure where would I add it and what that exsist would I delete?



    Quote Originally Posted by mwinter
    It certainly is. An odd (and slightly patronising; sorry) question: are you sure you used a text editor, rather than a word processor or some Web development-specific software? At most, text editors provide syntax highlighting or visual cues like bracket matching, but not fullblown rendering.
    Well the thing is called "textedit" so who knows, its the one that came with the computer, maybe I should look into another. But it was useful when I need to change stuff in the external JS


    Quote Originally Posted by mwinter
    Hopefully. I should get it done this weekend. The only thing that's putting me off is fiddling with the decorative images (I'll be aiming to convert most of the content to pure text, but keeping the same look).
    Oh my! You don't have to do all that. Like I said, I can probably eventually learn from it should I try to learn this stuff, but ultimately I'll probably be going with what I have for now aside from the errors I've been able to straighten out thus far from your help. Right now a lot of this scripting is somewhat intimidating, that and I've been working for months on what I have so far, I have to admit, I'm a bit burnt out and need to get away from it for a while.



    Quote Originally Posted by mwinters
    The style sheet is included via the link element, and there's no problem with that apart from the trailing slash you removed.
    Are you saying I need to put the "/" back in the link tag?



    Quote Originally Posted by mwinter
    Out of idle curiosity, what have you set the colour temperature of your display to? The only advice that I didn't follow was to set it to 6500K. Though my eyes did adjust to the apparent yellow tint after a few minutes, it still seemed a little strange. And besides, I like blue (9300K).
    Well I can't figure out what my current temperature is, but when I start going thru a calibration it says Target White = 6507 (degree) K but this I think is a little brighter than what I have right now, I'm not an expert on this, lol. But I do like white light.. things to look as close as they can in real life I guess you could say, so I have an aesthetic towards that which is probably a personal thing... But brighter is not worse, it actually might make it look more blue

    Have a good weekend!
    Last edited by PearlDoves; 08-20-2006 at 10:30 AM.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •