45 users online (1 members and 44 guests)  


  Results 1 to 3 of 3

Related

  1. Replies: 1
  2. Replies: 7
  3. Replies: 1
  4. Replies: 0
  5. 4.01 Transitional vs. 4.01 Strict    Forum: HTML Forum
    Replies: 3
  1. #1
    twist's Avatar
    New User

    Status
    Offline
    Join Date
    Jan 2004
    Posts
    1

    Question HTML 4.01 Transitional help

    I had been to W3C to check my css many times but finally decided to check my html. I want to be 4.01 Transitional but am not sure if it's possible. I am having a tough time finding a good website that covers all this so if anybody here knows of one that would be great.

    Let me ask a couple quick question about css first...

    The css validator doesn't like my ie scroll bars. So I put them in a seperate css file and used the @import url("ie.css"); tag. The validator gives me this error,

    Parse error - Unrecognized : @import url("ie.css");

    Can I still consider my code css valid or am I doomed to invalidity.

    The css validator also gives me this warning,

    Line : 0 font-family: You are encouraged to offer a generic family as a last alternative

    My css looks like this,

    { font-family : Verdana, sans-serif; }

    I'm not sure what to do to get rid of this warning.

    Now for my html 4.01 transitional questions...

    Is there any alternative to using these tags?

    topmargin="0" leftmargin="0" marginheight="0" marginwidth="0"

    My height attribute works fine in css unless I try and use the height="100%" by itself in css. My pages break, but if I put the height="100%" in the html it works fine.

    and finally, is there any way around the errors that my flash tags are generating. Is there some type of way of telling the parser that the following is a object or am I just out of luck.

    All my pages look fine in Opera 7.21 & IE 6.0. My only probelm is with NN 7 & Mozilla 1.5. On pages using the height tags the page will load the images and then continue loading the text. The text will extend the length of the page but the loaded images will stay put. It's only a cosmetic problem. If I reload the page everything looks fine. Should I add a javascript preloader of some sort (for NN browsers only) that will preload the pages to keep this from happening or is there another fix that anyone knows of?

    Thanks in advance. I see after I registered I can know search the forums. So i'll start doing that right now.

  2. #2
    HTML's Avatar
    Administrator

    Status
    Offline
    Join Date
    Aug 2000
    Posts
    3,445

    Follow HTML On Twitter Add HTML on Facebook Add HTML on Google+ Add HTML on Linkedin Visit HTML's Youtube Channel
    You should post your CSS questions in the CSS forum to make sure somebody capable sees it.

    regarding your margins, you should also do this with CSS

    Code:
    body
    {
    	margin-right: 0;
    	margin-top: 0;
    	margin-left: 0;
    	margin-width: 0;
    	margin-height: 0;
    }
    font error:
    I think arial and helvetica are generic fonts add these after your sans-serif.

    Dave

  3. #3
    woodknut's Avatar
    Disabled

    Status
    Offline
    Join Date
    Dec 2003
    Posts
    32
    I don't think Netscape supports @import.
    Check these sites for reference (its all just a google away ):
    http://www.alistapart.com/
    http://hotwired.lycos.com/webmonkey/reference/browser_chart/
    http://css.nu/pointers/bugs.html
    http://www.richinstyle.com/bugs/mozilla.html

    HTH
    W.



Tags for this Thread