Jul 20, 2008

Html Code Problem

Free Web Hosting, No Ads > CONTRIBUTE > The Internet > Web Design

free web hosting

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.
Confirm Code:

Similar Topics

Keywords : html, code, problem

  1. What Is The Best Free Html Editor?
    (8)
  2. Html Problem
    (9)
    how to make my intro page in the middle not CENTER ....
  3. 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....
  4. 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....
  5. 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.....
  6. 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....
  7. Where Is There A Good Site To Learn Web Html?
    (18)
    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?....
  8. 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"....
  9. 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.....
  10. 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....
  11. 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 ....
  12. 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..??....
  13. 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....
  14. Psd --> Editable Html
    (2)
    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....
  15. 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....
  16. 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 ....
  17. 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....
  18. 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.....
  19. 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" />....
  20. 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.....
  21. 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" />....
  22. 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. ....
  23. 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....
  24. 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....
  25. 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....
  26. Html Editor
    Text editor or HTML Editor (7)
    What is a HTML editor? A HTML editor i basically a text editor but it has some advanced
    features.The important one being able to translate written text into HTML codes.Nowadays everyone
    uses HTML editors but still there are some guys doing it over a Text editor What do you fell about
    this At present iam creating a webpage with MS FP .It is user friendly and actually a very good
    tool for a beginner.Beginers look no further than FP.Also one cannot expect,atleast 99% ,a flop show
    from Microsoft.It has an integrated FTP. But all sites do not support FP extensi....
  27. How To Create Html Feedback Form
    (3)
    Hello... I want to know a very simple thing...For example i want to add a simple HTML form on my
    website ,.for example , something like User Name (text box) User Email: (text box) COmments (text
    box) Submit form Reset Form Just like that, so that when user click on UBMIT form, button, it
    takes all the inputs from the above boxes and sends to a pre defined email adress.and on submitting
    it shows a new thanks page. Well..there are some forms when you fll everything, they open ur default
    mailbox and then send etc etc i want that to send direct (i.e. without opening the ....
  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

Searching Video's for html, code, problem
Similar
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
Authentifica
tion - 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,x
html&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
Html Editor
- Text
editor or
HTML Editor
How To
Create Html
Feedback
Form
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! Remove these ADs! RAPID SEARCH! Free Web Hosting [X]
Express your Opinions, Thoughts or Contribute more info. to help others.
Ask your Doubts & Queries to get answers, So that "Together We can help others!"
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