Jump to content

F-Man

Members
  • Posts

    222
  • Joined

  • Last visited

Everything posted by F-Man

  1. The content of the email should something like "name1=value1&name2=value2&name3=value3" and so on. Hmm... Try changing the enctype to "application/x-www-form-urlencoded", the default.
  2. F-Man

    Backround image

    Of course you'd be better off using an external stylesheet. Also, the layout and theme should work locally as long as you link to their full URL.
  3. F-Man

    Jonas

    Ahah, I saw this video yesterday without even seeing this topic and also started thinking about Jonas from here right away.
  4. ul#main{padding:0;margin:0;list-style-type:none;width: 10em;}ul#main a{display: block;text-decoration:none;color:white;background-color:purple;padding:0.2em 0.6em;width: 100%;}ul#second{float:left;width:100%;padding:0;margin:0;list-style-type:none;}ul#second a{float:left;width:10em;text-decoration:none;color:white;background-color:purple;padding:0.2em 0.6em;border-right:1px solid white;}ul#main a:hover, ul#second a:hover {background-color:#ff3300}ul#main li, ul#second li {display:inline} <ul id="main"><li><a href="#">Link one</a></li><li><a href="#">Link two</a></li><li><a href="#">Link three</a></li><li><a href="#">Link four</a></li></ul><ul id="second"><li><a href="#">Link one</a></li><li><a href="#">Link two</a></li><li><a href="#">Link three</a></li><li><a href="#">Link four</a></li></ul> Hope this helped. Feel free to change the ID names.
  5. F-Man

    <div>

    A div is well... A division. You have to imagine your page separated into different chuncks, each using a div which you can then use CSS to position the way you want them.
  6. F-Man

    Center a Link

    <a> should be inside <h5> too.
  7. F-Man

    No table layout

    Of course I have.http://htmldog.com/guides/cssadvanced/layout/ is a good thing to read to get started on it.
  8. F-Man

    image float question

    Give a margin-left to the div/p that contains the text. =)Also, using negative margins on your image means it'll chop it off, usually.
  9. You might want to take a look SVG or Canvas, though they're both not well supported.
  10. Should be fine. Just make sure that the link brings you to the right page anyway if the user has JavaScript turned off using return false. <script type="text/javascript"> function changePage(page) { document.getElementsByTagName('object')[0].data = page; return false; }</script>...<p><a href="page.htm" onclick="return changePage('page.htm')" onkeypress="return changePage('page.htm')">Change page</a></p>
  11. Strong and Em are for emphasize. Like this is <strong>strong</strong> emphasizing. B and I are for presentation which is CSS' job, but you could still use them, for example, to describe the act of using bold and italic text: "Microsoft Word allows you to use <b>bold</b> and <i>italic</i> text".Same thing for big and small. Use big to say things like "Woa, that cat was <big>big!</big>." or "I am <small><small>not</small></small>perfect. ". These are good content uses for them. If you just want to use small or big text by default for a menu for example, that's where CSS comes in.
  12. JavaScript?Just use standard HTML. <object data="file.swf" type="application/x-shockwave-flash" width="xx" height="xx"> <param name="movie" value="file.swf" /> <img src="file.jpg" alt="file" /></object> That should be fine.
  13. transparent is a value.But yeah, either ignore it or use "inherit".
  14. Absolutely everyone who even posted about post counts are spammers, period.
  15. Because it's completely inaccessible to blind people or other sorts of handicap, and it should be the user's choice if he wants a new window opened or not. Also like I said, it's JavaScript's job.
  16. For one, I think you meant to have all of your backgrounds to "scroll" instead of "fixed" in the CSS. Dunno about the rest yet...
  17. I think target is allowed with the Frameset DTD. And we all know frames are bad...Then, you could also use it to open up new windows, but we also know how bad that is. And Javascript is just the way to go on the matter anyway since HTML's job is not to control browser events.So there isn't much need for target right now. We'll be getting XFrames eventually...
  18. F-Man

    Uncheck

    Ahh... So you needed to pass a true of false value but not as a string. Makes sense.
  19. I will also attempt to blindly help by saying try adding a DOCTYPE if there isn't one already. It tends to help this exact type of situations (with borders and such).
  20. F-Man

    text edit

    Macs are cool. And they're PCs too.Save your files as something.htmNot somethinghtm.The dot goes before the extension.
  21. Let's not forget CSS word-spacing.
  22. A space that doesn't break into a new line. Useful when you want two words to always stay on the same line.You can write it by typing in the source code.
  23. F-Man

    Custom font

    You can use the font-face at-rule.http://htmldog.com/guides/cssadvanced/atrules/(near bottom of the page)with Microsoft Weft, however it'll only work for IE, so you should set an adequate alternative font at the same time.
  24. F-Man

    Uncheck

    You're just changing the value of the checked attribute. The only possible value for that attribute is "checked", so to check it you should use this:document.Register.T1A.checked="checked"The reason the others worked is because only the attribute is necessary (value is useless) in HTML4. To uncheck the box, you need to tell it to drop the attribute completely somehow... Dunno how, sorry. =/
  25. Make sure that your stylesheet (if any) and pages are located in the right directories. Like if you have a link to "pages/page.htm", make sure page.htm is inside of a child directory called pages.
×
×
  • Create New...