Jump to content

Err

Members
  • Posts

    1,009
  • Joined

  • Last visited

Everything posted by Err

  1. Err

    FireFox issue

    Sure. Good luck.
  2. Err

    FireFox issue

    Try this:Edit your "nav" with the below css and add the .menubutton img style to your css. That should clear up your layout a little. I would also suggest that you use <p></p> tags instead of <br> tags for your text.css: #nav { width: 830px; margin-left: 23px; margin-top: 7px; margin-bottom: 35px; position: relative;}.menubutton img { margin: 0; display: block; padding: 0; text-align: left;}
  3. http://validator.w3.org/Validate your document to insure proper code. It will point out the things you need to correct in order to make your document XHTML valid.
  4. Err

    FireFox issue

    Do you have a link you can share with us?
  5. 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
  6. lol! He acutally used your advise scott (36 bold)
  7. 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.
  8. 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.
  9. 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.
  10. 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.
  11. 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).
  12. Try these:http://www.jeroenwijering.com/?item=Flash_MP3_Player[removed]
  13. 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.
  14. 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.
  15. 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.
  16. 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).
  17. 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?
  18. 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]
  19. 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.
  20. 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...
  21. 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.
  22. 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.
  23. 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:;}
×
×
  • Create New...