Anime∙Dohyou
Please sign in to access your account or reply to posts. If you are not a member, you may still view and enjoy the majority of the site, but why not register? It's free!

    Html Questions

    Share
    avatar
    Marijane
    go'dan
    go'dan


    Html Questions

    Post by Marijane on Wed 12 May 2010, 1:15 pm

    Alright. so I need help.. I was wondering if it is possible to scroll the words over the background image. If that makes sense.. If anyone can help me with this.. That would be AMAZING!!!!!!!!
    avatar
    Kyouri Kai
    Founder

    Knowledge :

    Re: Html Questions

    Post by Kyouri Kai on Wed 12 May 2010, 5:16 pm

    http://www.toukaisha.com/coding-tutorials-f112/basic-marquee-codes-t3107.htm

    You won't need to use the center tag on most of 'em but if you want the scroll to only be in a certain spot then you will need to provide the table parameters within which the marquee should do its thing.
    avatar
    Marijane
    go'dan
    go'dan


    Re: Html Questions

    Post by Marijane on Wed 12 May 2010, 10:50 pm

    Thanks!!!!

    One more questions. What about the background staying put.. and then when you use the scroll wheel just the text on the page moves..
    avatar
    Kyouri Kai
    Founder

    Knowledge :

    Re: Html Questions

    Post by Kyouri Kai on Thu 13 May 2010, 7:03 am

    Code:
    <body style="background: fixed">
    avatar
    Marijane
    go'dan
    go'dan


    Re: Html Questions

    Post by Marijane on Thu 13 May 2010, 12:10 pm

    Sweet!! Thanks..
    avatar
    Marijane
    go'dan
    go'dan


    Re: Html Questions

    Post by Marijane on Fri 14 May 2010, 11:41 pm

    Alright, I was just wondering.. What is the difference between CSS and HTML.. I know that I have asked this before.. But I don't remember.. Also, do the codes work the same for each?
    avatar
    Kyouri Kai
    Founder

    Knowledge :

    Re: Html Questions

    Post by Kyouri Kai on Fri 14 May 2010, 11:45 pm

    http://www.toukaisha.com/coding-tutorials-f112/basic-html-to-css-conversion-t3511.htm

    They are different but CSS can be embedded within html by using the 'style' parameter as where html cannot be used inside of an actual Cascading Style Sheet.
    avatar
    Marijane
    go'dan
    go'dan


    Re: Html Questions

    Post by Marijane on Fri 14 May 2010, 11:56 pm

    Wow... Just by looking at the link CSS looks like more work. But then again, I am always told that it is easier.. I am going to teach myself how to use it.. :-) Hopefully it will work out .. Thank you

    One more thing.. When I get done.. and I am ready to save it.. what do I save it as.. Do I save it as a '.htm' like I would for a html code?
    avatar
    Kyouri Kai
    Founder

    Knowledge :

    Re: Html Questions

    Post by Kyouri Kai on Sat 15 May 2010, 8:27 pm

    If you want to do an external CSS then you would need to save it in a program like notepad - make sure the setting is for *All Files then give the file name a .css extension when you save it. When loading your html document you will need to input something like
    Code:
    <link rel="stylesheet" type="text/css" href="{cssfile}.css" />
    with the href being the location you uploaded your external css file to, into the 'head' portion of your html document.
    avatar
    Marijane
    go'dan
    go'dan


    Re: Html Questions

    Post by Marijane on Sat 15 May 2010, 11:10 pm

    Alright, thanks.. Sounds simple enough.. *feels dumb for asking so many questions..
    avatar
    Kyouri Kai
    Founder

    Knowledge :

    Re: Html Questions

    Post by Kyouri Kai on Sun 16 May 2010, 9:05 am

    You're not dumb, MZ! I doubt very seriously anyone woke up one morning with all the computer coding knowledge tucked neatly into their brain... unless of course they had been abducted by aliens the night before. Sometimes trial and error is the best teacher, but even at that, one needs to seek out the basic knowledge in order to expand upon that. So, keep on asking if you're not quite sure.
    avatar
    Marijane
    go'dan
    go'dan


    Re: Html Questions

    Post by Marijane on Sun 16 May 2010, 12:08 pm

    Haha.. You have a point, thank you for the help..
    avatar
    Marijane
    go'dan
    go'dan


    Re: Html Questions

    Post by Marijane on Sun 16 May 2010, 10:36 pm

    Alright.. I went to a book store today while I was in town and bought a book to help me with Html things.. and then when i got home I asked my dad to order a book for CSS and he did.. so I should be getting another book here sometime soon. But, at this moment I am having trouble adding music to my web pages. So.. If you could help me find a code that would work well for this, that would be great.. Thanks
    avatar
    Kyouri Kai
    Founder

    Knowledge :

    Re: Html Questions

    Post by Kyouri Kai on Mon 17 May 2010, 8:04 am

    lol... sure thing.
    Code:
    <embed src="musicfile.wav" autostart="true" loop="false">
    Now the music file doesn't have to be a .wav file or a midi file, it can be an mp3, as well. Depending upon where you want the music... if you want the music to play when someone opens the page then you'll need to place the code inside the head tag, otherwise, you can set it up to be a mini player on any other portion by placing it in the necessary spot between the body tags. And of course you can change the values for autostart and loop to either true or false.

    Btw, we have a link on the 'Links' page that gives alot of the basic html codes. Here's one that gives a longer, more adaptable html code for music > http://www.web-source.net/html_codes_chart.htm
    avatar
    Marijane
    go'dan
    go'dan


    Re: Html Questions

    Post by Marijane on Tue 18 May 2010, 12:48 pm

    Gah.. Okay.. I have tried EVERYTHING.. I cannot get the audio file to play
    avatar
    Kyouri Kai
    Founder

    Knowledge :

    Re: Html Questions

    Post by Kyouri Kai on Tue 18 May 2010, 12:58 pm

    What's the file extension of your audio file?
    avatar
    Marijane
    go'dan
    go'dan


    Re: Html Questions

    Post by Marijane on Wed 19 May 2010, 3:14 pm

    haha.. This is a funny one.. I have saved it as .mp3 and .wav and .midi files.. and NONE of them will work
    avatar
    Kyouri Kai
    Founder

    Knowledge :

    Re: Html Questions

    Post by Kyouri Kai on Wed 19 May 2010, 10:01 pm

    What is the full file url? What's the full code you're using and where are you placing the code?
    avatar
    Marijane
    go'dan
    go'dan


    Re: Html Questions

    Post by Marijane on Wed 19 May 2010, 11:18 pm

    Oh .. The one that you gave me.. and then I also tried
    this
    Code: embed src="yourfile.mid" width="100%" height="60"
    align="center">
    avatar
    Kyouri Kai
    Founder

    Knowledge :

    Re: Html Questions

    Post by Kyouri Kai on Thu 20 May 2010, 8:14 am

    Perhaps you simply didn't place it in your post here, but the first '<' is missing from the code. But can you please provide the 'entire' code you're using, and where in your document you are placing it?

    Example:
    Code:
    <head>
    <embed src="{file url}"width="100%" height="60" align="center">
    <body>
    </body>
    </head>

    OR

    <head>
    <body>
    {parameters before music code}
    <embed src="{file url}"width="100%" height="60" align="center">
    {parameters after music code}
    </body>
    </head>

    Thanks.
    avatar
    Marijane
    go'dan
    go'dan


    Re: Html Questions

    Post by Marijane on Thu 20 May 2010, 12:13 pm

    Okay..

    <html>
    <head>
    <title>
    Music file
    </title>
    </head>

    <body>

    <embed src="ahoney.mp3" width="100%" height="60" align="center">

    </body>
    </html>


    Last edited by Marijane on Thu 20 May 2010, 12:15 pm; edited 3 times in total (Reason for editing : Code didn't show up.)
    avatar
    Marijane
    go'dan
    go'dan


    Re: Html Questions

    Post by Marijane on Thu 20 May 2010, 1:13 pm

    HOLD UP! I got it to work.. but I have to use IE THIS SUCKS :'(
    avatar
    Kyouri Kai
    Founder

    Knowledge :

    Re: Html Questions

    Post by Kyouri Kai on Thu 20 May 2010, 2:07 pm

    hmmmm... do you have the file itself uploaded to the same directory that your html document is under? According to your code, you don't have the 'http://yada yada yada' part, which is why it might not be showing up in any other browser... they don't know where to look for the music file at. Btw, I also don't see an 'autostart' or 'loop' parameter and value, which won't affect the code, to my knowledge, just saying.
    avatar
    Marijane
    go'dan
    go'dan


    Re: Html Questions

    Post by Marijane on Thu 20 May 2010, 10:33 pm

    alright.. I well look into getting these changed.. thank you

    Sponsored content


    Re: Html Questions

    Post by Sponsored content