Html Code Problem

free web hosting
Open Discussion > CONTRIBUTE > The Internet > Web Design

Html Code Problem

Darker333
Hi! Im working on a little HTML project for myself and am teaching myself.. So I would like to know how to set roll over effects and a short guide on it!

What I mean is, I would like to know the code of making the mouse over on links make the links go red... Or if anyone can give me a way to do it on frontpage, because I cant find it!

Thnx in advance!

Reply

solankyno1
I don't know how to do it in Frontpage because i never use that. But the thing which u want to done can easily be done with javascript. That is not very difficult to do. Just search on Google or find a simple javascript book if u don't know about javascript.

Reply

nickmealey
ok, this is simple. If you just want a mouserollover for text. You do all this in css.

First, you need to put this into your css styles tags. If you don't know what this is, easy.

CODE
<style>
a {

     color: blue;

}


a:hover {

     color: red;
}


</style>



Now all the links will turn red when the mouse rolls over it. you can change the font, size, color, all of it. No this is the COMPLETE code in your HTML document.


CODE

<html>
<head>
<title>mouse rollovers</title>

<style>
a {

     color: blue;

}


a:hover {

     color: red;
}


</style>

</head>
<body>

<a href="index.html">Mouse rollover</a>
</body>


</html>





hope that helped

 

 

 


Reply

Darker333
Oh, I didn't expect it to be that easy.. If its not to much trouble, how do you make it make a noise when the mouse goes over? I swear thats the final thing I need to know.. ( im sorry, im a starter HTML'ist )

Reply

mizako
Please, do not add music or noises to Web pages!!!. You will damage people who navigates at work place. :-)

Reply

Carsten
And please, no marquees and animations! Keep your site classy and simple.

What are your html learning sources? The first code snippet in nickmealy's post isn't really html code, it is css. I would recommend www.w3schools.com for a tutorial on (x)html and css. It is also a good site to use as reference when your coding your webpage.

Reply

nickmealey
adding sound to a button is somtimes very GOOD. but, it can be destracting. like a little beep or somthing is good. It's kinda diffucult though. Way easier to do in Flash. biggrin.gif

Reply

Tyssen
QUOTE(nickmealey @ Mar 26 2005, 01:14 AM)
adding sound to a button is somtimes very GOOD. but, it can be destracting. like a little beep or somthing is good. It's kinda diffucult though. Way easier to do in Flash. biggrin.gif
*



I think the only way to attach sounds to mouse clicks is by using Flash. You could create your whole navigation system as a Flash movie and place it on your page where you need it.

Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.

Recent Queries:-
  1. apostrophy html code - 92.66 hr back. (1)
  2. generating html codes for invisionfree - 374.76 hr back. (1)
Similar Topics

Keywords : html, code, problem

  1. Flippingbook Html Edition
    download FREE version (0)
  2. Naming Web Page Files
    Which way you like- MyPage.html or my-page.html or my_page.html (9)
    Everybody talks about meta tags, keywords, good title names and how they can increase page rankings,
    etc. But I was wondering whether the page name itself holds any value in indexing. Yes, I am
    talking about the web page file names (some-thing.html) NOT the one which you put in title tags. I
    am going to express my views and want to know what you think is correct. I have seen pages named in
    various ways like these: 1) my_web_page.html 2) DoYouLikeMyPage.html 3) hey-see-my-webpage.html (I
    think this way is more appropriate) 4) this.is.a.page.html (somewhat confusing) ....
  3. What Is The Best Free Html Editor?
    (20)
    im looking for any kind that is free really.... i use windows but if you have one for a different
    platfor, go ahead and add it for reference for other users. If you have one for normal text editor
    and wysiwyg, add them both. i have been using notepad as my normal html editor but im looking for
    something different... at least so i can see the different colors of the codes. Right now i am
    downloading moxilla's seamonkey suite but im not sure how good it is... i will post a review if
    i ever use one. If you have used the html editor you suggest or you just heard abou....
  4. Html Problem
    (9)
    how to make my intro page in the middle not CENTER ....
  5. Flash Media Into Html/css Website
    does anyone know how to import a flash into a webpage with transparenc (1)
    Hi I need some help , Im designing this website for school studies However, I made a flash drop down
    menu, works perfectly, but you know how flash has a background when you export it in to a SWF file?
    For example my flash is width= 800, and height = 200 but my div box on my html page for my
    navigation is only 50 px my buttons is width of 50px and the rest of the content is the drop down
    animations i want to insert it into my navigation div box but i want to set the flash background to
    transparent so that when the drop down menu comes down it overlaps the text or whateva....
  6. A Twist On Basic Authentification
    html help (1)
    Alright, i am working on a website where a number of different users from different companies will
    be looking hooking into one website. What i want is to know how i can differentiate between the
    users based on the information passed by the webserver. I've been told to that information
    will be passed along html_user(and if i have a distinct user then i can just query the database with
    that info and get what i want) But how does this work? I am sorry i know this is cryptic i'm
    kind of searching to see if this strikes a bell with anyone. So to sum, many user....
  7. Has Anybody Tried Ms Expression Web Html Editor
    It's much better than Frontpage (3)
    I was desperate to finish a site I was designing after I lost my hard drive and my software. I
    downloaded Expression Web from the Microsoft site for a 3 month free trial, and guess what? It's
    surprisingly good! Nothing like that crappy frontpage, it's standards compliant and very
    good for writing CSS. Haven't heard anybody mention the program and wondering if anybody else
    has tried it out. It's free to try from the MS site.....
  8. Web Design Code
    you can leep the design in place with code (3)
    i recently posted a question to this forum about the reasons behin a webpage looking difrent inside
    of outher browsers. and then i found out that you use code to keep the design in place but the code
    you rite reads the browser and loads the page to the browsers specifications. but if like me you
    prefer not to code how then can you do this, i am aware that i would have to begin some codeing as
    i want to begin my own website but i dont no how i would lern this method of codeing that keeps this
    problem of messy web pages in difrent browsers at bay. can annyone help....
  9. Where Is There A Good Site To Learn Web Html?
    (20)
    im a noob when it comes to web html to design web sites, can some one tell me where to find a good
    website that has good tutorials on how to use web html?....
  10. How Do I Code A Design?
    (6)
    Okey, so I saw another topic here regarding how to make a design. I know how to do that, so that is
    no problem. But I have always had some problems on how to code a design. I am tired of that I always
    need to use some sort of program, drag&drop webhost (like piczo) or use a free design I found
    online. I have noticed that people need to "cut" the design in different parts, but I have never
    understood what way the do it. So I do not understand anything about this, and really need some
    help. I will be happy for all help I get. /smile.gif" style="vertical-align:middle"....
  11. Css List Vs Html List
    (1)
    I am currently learning the basics of web building and i am wondering if and when you should use
    html lists or css lists? The way i see it is if you are going to make a css list you are going to
    use that list setup later and just make a html list when u just need it once? did i just answer my
    own question? or is there a web standard where you should always use css for lists? idk.....
  12. Target Links To A Div Layer
    Is there such code that allows you to change ur link target so that it (22)
    Hey i need help I was wondering if there is a code that allows you to target ur link to a div
    layer.. lets say eg.. i got CODE <a href="www.example.com">Example</a>
    i want that page to show in the div layer below on the same page. Is there a way i can do that? .
    im tryin to avoid using frames. thanks....
  13. Is There An Xbox Live Gamertag Code To Shw The Gamercard On A Website?
    The title says all! (1)
    Hi everyone, im looking for a code that will display a users xbox live gamercard. Ive seen one
    little widget but that was for the igoogle page ao its not suitable for what i want. Ideally I want
    one thats written with HTML or something like that so its easy for me to modify and such. What i
    want it to do is t have a URL in the code which the user can then insert their gamertag ID into and
    have the widget display their gamercard for all to see. if i ever use this code it will be on a
    money making site, hopefully, so something thats free to use even for commercial things ....
  14. Help! Php Or Just Html?
    i want to start buliding my website. which is better, php or basic htm (13)
    i try to start this topic in webhost category but it seems like i cant. i dont have the permission
    so i just post my topic here. im sorry mod.. i want to build a website which contains: - Links to
    videos - Informations - photos - flash i don't know if i should use php or just HTML. guys,
    what are your opinions..??....
  15. A Small Html Problem
    How to display foreign characters correctly when designing a site. (4)
    I was wondering how I could solve a small problem. I was told that some people see accented and
    umlauted letters (such as " é " and " ë ") as question marks (" ? ") on my website. I come across
    the same thing sometimes when looking at websites which use non-English characters. Funnily enough,
    the other day, I looked at a site and the apostrophy ( ' ) was also shown as a question mark.
    That is a very common character usually, I would think. I thought it had something to do with the
    character encoding settings, and let me also mention I use Mozilla Firefox as my brows....
  16. Psd --> Editable Html
    (4)
    Here's the deal. I am new at working with web objects in photoshop. I have CS3, and I created a
    really nice template. I'm told I have to do something with slicing. So I have the template, and
    it has images, buttons, and text on the buttons, and text fields, etc. How can I export this to HTML
    and images, and be able to open it up in dreamweaver in an editable web page? I've tried
    exporting to "web and devices" and exporting as HTML and Images, but when I open it up in
    dreamweaver, it looks right, but it is all images. Thanks....
  17. I Buy A Book "html,xhtml&css Sixth Edition" By Elizabeth Castro
    (2)
    After few years when I take a look of the web, I find that what I have learnt before is totally
    obsolescent, the standard is changed a lot. So I go to book store to look for a book to learn it
    from the beginning. I find there is too many books about web design. What I want is a book can tell
    me the situation about the popular using method. After looking for about 1 hour, I find this book
    "HTML,XHTML&CSS Sixth Edition" which was writen by Elizabeth Castro. I think this book is meet the
    needs of me. What I want is to get the information of the new standard of web desig....
  18. How Do I Learn Web Design?
    Not coding, i can code well already but how to make it look good? (48)
    Hi all. In my quest to become a website creator I have a big obstacle.. when it comes to design, eg
    making things look good i might as well be blind. Im useless! I can code to a decent standard
    in HTML PHP CSS MYSQL and JS but i am useless at making a nice design. So wha im after is advice on
    how to learn this, what i fear is a response of "you can *learn* how to design, you either can or
    you cant.". Its really important that im able to design a nice looking website because not many
    people have a concise set of drawings from which to code the website. Any advice ....
  19. Forum Rpgs
    Is the PHP code convertable? (1)
    I use Proboards Forums, which doesn't allow PHP. I've been looking for a RPG forum game for
    Proboards. But sadly, they only come in PHP. So, I was wondering, is it possible to convert that PHP
    into HTML? Can Java Script be converted into HTML, too? Some of these codes are in java, as well.
    If you don't know, the RPGs have stats, classes, battling, shops, ect. I've seen it on many
    forums. I know that boards like InvisionFree abd PHPBB are great for this kind of thing, but I feel
    comfortable on Proboards. Plus, those boards confuse me. I know it's sil....
  20. Php Or Html?
    which do you use? (35)
    Well being a HTML its easy for me but what do people use the most? Is it HTML or PHP. It depends
    really on which you learnt first. So im gonna have a poll.Post HTML for Html and PHP for php and we
    will see which is more popular.....
  21. How To Use Html In Flash
    I need to import html into an iframe like box (1)
    As of this post I am trying to convert my current html website to a flash site. I use iframes in my
    html site and i am wondering if i can import html into a dynamic text box. I am wondering if i will
    need to redo the entire design in flash or if I can just import the html. If anything is confusing,
    please tell. Thanks in advance for the help /biggrin.gif" style="vertical-align:middle" emoid=":D"
    border="0" alt="biggrin.gif" />....
  22. Best Free Html/flash Templates
    (13)
    Before I began creating websites myself, i used templates. The best selection of free ones is here:
    TemplatesBox . Tons of free HTML and Flash templates (although you need to pay for the nicer ones),
    I'm not affiliated with them I just thought there were alot of threads looking for templates and
    this is a great resource.....
  23. Phpbb And Mysql Relations?
    Need forum code for my website (2)
    Hi if someone could get back to me as fast as they can that would be great! i got a couple of
    questions what do you use my sql for what does that have to do with forums? and secondally can
    someone give me the php code for the forum thanks /biggrin.gif" style="vertical-align:middle"
    emoid=":D" border="0" alt="biggrin.gif" />....
  24. View Souce Code
    do you know this site? (8)
    I have seen this site before.The site is simple.there are a box that you can put a url link then
    press enter you can see the code of the page (see everything include meta,comment...),even it is
    written in php,asp... If anyone know this site,please let me know(I have format my computer,so I
    lost it).thank you. ....
  25. Besides Html / Css
    what kind of of coding do you use in your sites? (11)
    Hey guys I have a question for normal sites what kind of coding do you use besides the regular HTML,
    and CSS I realize for logins and forums etc.. php is common and the language of choice for database
    interaction but besides that for more cosmetic appealing appearence do you use anything else? Im
    asking this question cause im thinking of learning Java but im not sure how much that would help my
    web site design skills. And if thats not the one(in your opinon) to learn if I want to get better
    at website coding which one is? I have a shallow knowledge of VB and C++ but c....
  26. Tsw Webcoder
    Anyone use this html editor? (3)
    Hi all, does anybody use the TSW webcoder? I ave been using this to do my site for about 3 months
    now and it's great. It's easy to use and just got alot of functions. Has anyone got te
    newest version of it? and wats new in the new version? Thanks....
  27. Tools For Photo Album With Html
    (12)
    I'm new in web design and I want to build a web site where my family can view thumbnail pages
    with family photos and select the thumbnails to view the original photo. As a starter I thought
    about a couple of thumbnail pages to increment or decrement. I want to generate the pages with a
    free tool in order to review the html code for self learning purpose. Is this a good approach and is
    there any free tool suitable for this? Tillo....
  28. Free Html Editor?
    (37)
    Hi, I'm looking for a free HTML editor. Not one of those new-fangled WYSIWYG ones... the only
    conditions are.... * Its free * It has syntax highlighting * It has a preview mode (like on
    dreamweaver or whatever). * It doesn't have any spy/adware! I figured that theres probably
    a great program out there somewhere, I just havent found it yet. I used to use one that I liked but
    since the Great Hard Drive Crash of 2004 it has disappeared from my PC, and I can't find
    anywhere to download it either.... Which (free) editor do you use? - Vacant....
  29. How To Make Pure Html Preloader?
    anyone know's the answer? (7)
    Hello all today i run out on this website and I found it very interesting... Anyone know how they
    did that page? and im specialy interested in that HTML preloader... ?? how to make one??....
  30. [Code] - Shout Box
    Invision Power Board v1.3.0g (4)
    Code for Invision Power Board v1.3.0g Just please in headers/footers in admin CODE
    <script> // IF Shoutbox v1.0 - Leave Copyright Intact Wherever Used // Created For Invision
    Free // Author: Zero Tolerance © Game Zone | Evolution 2004 [http://gzevolution.net]
    // Special Thanks To ffmasters.us For Hosting PHP Data + mySQL Allowance Site =
    "http://"+document.domain+"/" Site =
    location.href.substring(Site.length) if(Site.match('/')){ Site =
    Site.split('/')[0] } thissit....

    1. Looking for html, code, problem

*RANDOM STUFF*





*SIMILAR VIDEOS*
Searching Video's for html, code, problem

*MORE FROM TRAP17.COM*
Similar
Flippingbook Html Edition - download FREE version
Naming Web Page Files - Which way you like- MyPage.html or my-page.html or my_page.html
What Is The Best Free Html Editor?
Html Problem
Flash Media Into Html/css Website - does anyone know how to import a flash into a webpage with transparenc
A Twist On Basic Authentification - html help
Has Anybody Tried Ms Expression Web Html Editor - It's much better than Frontpage
Web Design Code - you can leep the design in place with code
Where Is There A Good Site To Learn Web Html?
How Do I Code A Design?
Css List Vs Html List
Target Links To A Div Layer - Is there such code that allows you to change ur link target so that it
Is There An Xbox Live Gamertag Code To Shw The Gamercard On A Website? - The title says all!
Help! Php Or Just Html? - i want to start buliding my website. which is better, php or basic htm
A Small Html Problem - How to display foreign characters correctly when designing a site.
Psd --> Editable Html
I Buy A Book "html,xhtml&css Sixth Edition" By Elizabeth Castro
How Do I Learn Web Design? - Not coding, i can code well already but how to make it look good?
Forum Rpgs - Is the PHP code convertable?
Php Or Html? - which do you use?
How To Use Html In Flash - I need to import html into an iframe like box
Best Free Html/flash Templates
Phpbb And Mysql Relations? - Need forum code for my website
View Souce Code - do you know this site?
Besides Html / Css - what kind of of coding do you use in your sites?
Tsw Webcoder - Anyone use this html editor?
Tools For Photo Album With Html
Free Html Editor?
How To Make Pure Html Preloader? - anyone know's the answer?
[Code] - Shout Box - Invision Power Board v1.3.0g
advertisement



Html Code Problem



 

 

 

 

ADD REPLY / Got an Opinion! a humble request :-) RAPID SEARCH! Free Hosting [X]
Express your Opinions, Thoughts or Contribute your information that might help someone here.
Ask your Doubts & Queries to get answers.. "Together, We enlight each other!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE