Jump to content

Err

Members
  • Posts

    1,009
  • Joined

  • Last visited

Everything posted by Err

  1. Err

    FireFox issue

    Are the images/documents you are trying to get to on the web or on your local computer? Make sure you have uploaded everything to your web/host (not your computer) to ensure that everything will work.Make sure you don't have anything like this in your code:C:\Documents and Settings\administrator\Desktop\img_of_dog.jpgThis is what it's really suppose to look like on the web:http://www.example.com/img_of_dog.jpg
  2. lol! He acutally used your advise scott (36 bold)
  3. Err

    Class IMG

    I do not believe that the <img> tag code will be invalid if you don't add the height and width to them. The height and width on an image is really optional, they are just added there to make sure your intended size for the image stays even if you lose the image its self.
  4. Err

    Class IMG

    You can't use <img src="#">? That would be the best way to display an image without a height or width... but I'm assuming you already knew that. However I don't think there is a way for you to do what you are asking.
  5. Err

    Font problem

    Have you tried attaching a class or id to your <h3> tag and css? like:css: h3.header {font-family: "Edwardian Script ITC"} html: <h3 class="header">This is header 3</h3> Try that and see if that helps.
  6. Nope.Here is a list of all the usable tags:http://www.w3schools.com/tags/default.asp (HTML)http://www.w3schools.com/css/css_reference.asp (CSS)You have to use html tags like <div> or <table> to do what you're looking for.
  7. I know the validator won't fully validate your document unless you have the content-type meta tag on it... that could be your problem, but I'm not sure unless you copy/paste the warning you are getting here. <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" /> That would be the right content-type unless you are making a page using a different character set (e.g. Japanese, Chinese).
  8. Try these:http://www.jeroenwijering.com/?item=Flash_MP3_Player[removed]
  9. Easy? yeah. It can also be time consuming. But I will happily spend more time on my design if it will look and load that much better.
  10. Err

    Whoa...

    Space is really amazing. There just has to be other life out there. Too bad we don't have the technology nor time to get to other glaxies in the universe. Hey who knows, we might get lucky and other intelligent aliens from an advanced race might come a visit us. We can still hope.
  11. Err

    IP tracking?

    http://www.awardspace.com/The above link is to a web hosting site that supports PHP even for free accounts. Try it out.
  12. Err

    Whoa...

    http://www.youtube.com/watch?v=YCyzM0Vy82gupdate: The link is not working now. :)Just watch the first 53 seconds of that (Some what related).
  13. I thought Internet Explorer couldn't make font sizes with "px" sizes any bigger or smaller. So is it a good idea to use pixels instead of something else like "em" where it is adjustable in IE?
  14. I could just add it to the script like this: <script type="text/javascript"><!--function changeVar(elementName,className,styleType) { var element = document.getElementsByTagName(elementName); for (x in element) { if(element[x].getAttribute("class")==className) { element[x].style.display=styleType; } }}changeVar('p','a','block');changeVar('div','b','none');// --></script> Right? or does it go into the script a different way? If it is, I have tested it out... it works half way. It drops the class "a" when javascript disabled but both class "a" and "b" stay blocked when js enabled. I wish I could say the same thing about IE (7.0) where it doesn't work at all. I also get script errors on IE.Teh link: [removed]
  15. I see. The only way I see that working is to put it on my body onload and calling it like that (just like you said). However my hands are tied there. You see, I'm using PHP includes on my pages for my body tags, so all my pages get the same body tags with all the same onloads (for my other scripts)... the thing is, I only need to place this script on one page not on all of them. It would be very unnecessary to add another onload function to all my pages because of that. From what I understand about javascript, I can also call the onload function from within the script itself, however that only renders all my other onload functions on my body tag useless (basically all my scripts stop working). Is there another way I can use this to where this process is automatically done by the browser instead of user interaction and/or onload functions?If not, is there a way I can get the previous script working together without any problems?Thanks, you're helping me understand js a little better now.
  16. Err

    scrollbar

    Because only Internet Explorer displays them. You can't get that CSS to validate. You can have them on your web page(s), however they will not appear in different browsers like Firefox, Opera, etc...
  17. Err

    Bottom positioning

    Are you trying to position it so no matter how down the page you go it still stays in the same place and it goes down with you as you scroll down?If you are you might want to snag the code from this page:[removed]Whatever helps.
  18. Sorry about the long wait for me to reply. I can't get access to my control panel /ftp to my site 'cause the servers are down right now. I tried to wait it out so I can show you guys a live example but I just said forget it.I tried it your way scott but it didn't work for me, It shows both class a AND b, however if I turn javascript off only class b shows. Same thing goes for Jhecht's example code; I couldn't get yours to work either. I also get a script error with both codes I tried on IE that says: " 'ps[...].className' is null or not an object" :)Here's the code full code I'm working with: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3c.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html><head> <title>Test Page</title> <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" /> <meta name="robots" content="noindex, nofollow" /> <style type="text/css">.a { display: none;}.b { display: block;}</style></head><body><p class="a">Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.</p><div class="b">Dummy Text, Dummy Text</div><script type="text/javascript"><!--var ps = document.getElementsByTagName("p");for(i=0;i<=ps.length;i++) { if (ps[i].className == 'a') { ps[i].style.display = 'block'; }}var divs = document.getElementsByTagName("div");for(i=0;i<=divs.length;i++) { if (divs[i].className == 'b') { divs[i].style.display = 'none'; }}// --></script></html></body> Update// Here's the link: [removed]Thanks for the help so far, I'm really appreciating it.
  19. Err

    scrollbar

    Try this: html, body{background-image: url(background.jpg);color:#ffffff;font-family:sans-serif, verdana;font-size:10pt;scrollbar-3dlight-color:;scrollbar-arrow-color:black;scrollbar-base-color:black;scrollbar-darkshadow-color:black;scrollbar-face-color:black;scrollbar-highlight-color:black;scrollbar-shadow-color:black;scrollbar-track-color:;}
  20. Try and make all your floats "left". #leftcol, #midcol, #rightcol { float: left; border: 1px solid #393939; height: 150px;}#leftcol { margin: 10px 0 0 10px; width: 20%;}#midcol { margin: 10px auto 0 auto; width: 54%;}#rightcol { margin: -152px 10px 0 0; width: 20%;} I have not tested that, try it and see if it works. You might need to adjust your margins and/or widths a little.
  21. We're talking about e-mail signatures right? I don't think it really matters if it's for a signature, I mean no one is going to check your code to make sure it validates or anything like that... (at least from my experience) so do what you think will work better for you. Though I personally would reduce the code to make it a little more understandable. Also it seems to me that you're not really using the table (based on your code). Can you work without it? <p style="color:black; font-family:Arial, sans-serif; font-size:12px;">NAME, TITLE</p><p style="color:black; font-family:Arial; font-size:12px;">Iverson Language Associates, Inc. A Future 50 Company</p><p style="font-family:Arial, sans-serif; font-size: 12px; font-weight:bold; font-style:italic;">Managing Document Translation</p><p>Celebrating 20 Successful Years in Business: 1986-2006<br />P.O. Box 511759</p> Maybe?
  22. http://www.w3schools.com/browsers/browsers_stats.asp
  23. Hmm... it looks like the image is causing that vertical scroll bar to appear in IE (Why only IE...? I don't know). You can always try to make your banner a background-image so matter what resolution a user may have it will always fit.
×
×
  • Create New...