The HTML Thread

This is a discussion on The HTML Thread within the A Brief History of Cprogramming.com forums, part of the Community Boards category; Hey, I'm kind of new to C, but have been working with HTML, and jscript for a while, and because ...

  1. #1
    Registered User
    Join Date
    May 2002
    Posts
    83

    The HTML Thread

    Hey, I'm kind of new to C, but have been working with HTML, and jscript for a while, and because this is a GD board, i thought i'd start a topic on it. So if you have any Q&A on HTML, websites, hosting, name servers ect.... post'em here.

    thx
    "What this country needs is more free speech worth listening to." - -Hansell B. Duckett

  2. #2
    monotonously living Dissata's Avatar
    Join Date
    Aug 2001
    Posts
    341
    let me get this straight, your asking us to ask you questions about html/javascript?



    sounds kinda pointless to me. anyway() . . .
    if a contradiction was contradicted would that contradition contradict the origional crontradiction?

  3. #3
    Registered User
    Join Date
    May 2002
    Posts
    83

    no no

    no, im doing it mostly for my Q's , but i just thought it be nice to have a section all about html, i don't care who you ask or what, just a place for html authors.
    "What this country needs is more free speech worth listening to." - -Hansell B. Duckett

  4. #4
    Evil Member
    Join Date
    Jan 2002
    Posts
    638
    Aren't there other boards out there more geared towards html? I know there are java boards (javaranch) and a few good javascript and dhtml boards out there.

  5. #5
    Registered User Sunny's Avatar
    Join Date
    Nov 2001
    Posts
    101

    Ok ok

    Greetz. Actually, it's ok. But, i guess yeah, maybe this wasn't the best board to post on but never mind. I always wanted to know quite a few things.
    First, i noticed on some websites there are text links and when the mouse hovers over the link the background shifts color. I know how to do image swapping with the javascript. But i couldn't figure out this one. And, there were some fantastical tags no one ever told me about, such as <xmp> which really aligns the text neatly.
    I tried learning php, but the web-server i am using is a free type, and it didn't support scripting.

    Thanks anyways.

  6. #6
    Registered User
    Join Date
    Apr 2002
    Posts
    99

    I think..

    All I know is that the text links are in a table, and using OnMouseOver, or whatever it is, the column's background colour changes. Hope this helps,

  7. #7
    Registered User
    Join Date
    May 2002
    Posts
    83

    re: ok ok

    i don't think that tag is standard HTML, might be dynamic html
    "What this country needs is more free speech worth listening to." - -Hansell B. Duckett

  8. #8
    back? dbaryl's Avatar
    Join Date
    Oct 2001
    Posts
    597
    Interesting you brought that up right now, cause I was just working with some HTML yesterday and did just that . IN order to have the background changes, etc., you should use something called Cascading Style Sheets (CSS).

    The style looks something like this
    Code:
    <style>
    <!--
    a:link {
      color: #FFFFFF;
      text-decoration: none;}
    a:hover {
      color: red;
      text-decoration: underline;
      background-color: yellow;}
    -->
    </style>
    The above code, when put within the <head> </head> tags makes the regular link white (HEX value #FFFFFF), no underline. On mouseover (hover) it will turn red with yellow background and underlined.

    A good site for learning HTML, JavaScript, XML, etc is th HTML Goodies website, link for the CSS below:
    http://htmlgoodies.com/beyond/css.html
    This is my signature. Remind me to change it.

  9. #9
    back? dbaryl's Avatar
    Join Date
    Oct 2001
    Posts
    597

    Re: Ok ok

    >>And, there were some fantastical tags no one ever told me about, such as <xmp> which really aligns the text neatly.

    That I believe is a positioning tag that isn't exactly in the standard HTML... as far as I remember, if you save a Word Document as HTML you will get those tags and many other non-standard ones that MS uses for it's own purposes...
    This is my signature. Remind me to change it.

  10. #10
    Registered User
    Join Date
    Apr 2002
    Posts
    99
    Yeah, I think you can do it with JavaScript too... But I'm not really sure.

  11. #11
    Registered User xlnk's Avatar
    Join Date
    Mar 2002
    Posts
    186
    the best things in life are simple.

  12. #12
    Registered User Jet_Master's Avatar
    Join Date
    May 2002
    Posts
    291
    this thread needs someone with a good knowledge of html and javascript. Some serious web designer + programmer, not a bunch of rookies.

    no offense meant, but you can take offense to anything i say - that's your right.
    I am the Alpha and the Omega!!!

  13. #13
    Registered User
    Join Date
    May 2002
    Posts
    83

    hey im no rookie

    first, i am not a rookie to html, and why should the mods have a prob with this thread, it's not inapropriate, and yes i admit it's off topic, but it's on GD, i put it on this site, because i like the community.
    "What this country needs is more free speech worth listening to." - -Hansell B. Duckett

  14. #14
    back? dbaryl's Avatar
    Join Date
    Oct 2001
    Posts
    597
    OK, then, on the HTML topic... can you explain to me the use of the <div> tag? If you could please keep it short and simple
    This is my signature. Remind me to change it.

  15. #15
    Registered User
    Join Date
    May 2002
    Posts
    83

    <div> re: help with div

    The DIV element defines a generic block-level container, to provide style or language information to blocks of content. The element may contain any inline or block-level element, including another DIV.

    The DIV element is most useful in combination with the CLASS, ID, or LANG attributes. For example, a navigation bar could be contained within a DIV marked as CLASS=navbar, allowing the author to use style sheets to easily change the background of all navigation bars on a site, or to eliminate navigation bars when printing.

    The deprecated ALIGN attribute suggests the horizontal alignment for the content of the division on visual browsers. Possible values are left, right, center, and justify. <CENTER> is a slightly better-supported alias for <DIV ALIGN=center>, though both methods of centering are deprecated in favor of style sheets, which provide greater flexibility in suggesting alignment.
    "What this country needs is more free speech worth listening to." - -Hansell B. Duckett

Page 1 of 2 12 LastLast
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 2
    Last Post: 02-26-2009, 11:48 PM
  2. Terminating secondary thread from another thread
    By wssoh85 in forum C++ Programming
    Replies: 13
    Last Post: 12-19-2008, 05:14 AM
  3. Thread Prog in C language (seg fault)
    By kumars in forum C Programming
    Replies: 22
    Last Post: 10-09-2008, 02:17 PM
  4. Calling a Thread with a Function Pointer.
    By ScrollMaster in forum Windows Programming
    Replies: 6
    Last Post: 06-10-2006, 09:56 AM
  5. Critical Sections, destroying
    By Hunter2 in forum Windows Programming
    Replies: 4
    Last Post: 09-02-2003, 11:36 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21