HTML Codes - Can Anyone Teach Me?

Discussion in 'Computer Science & Culture' started by TruthSeeker, Jan 24, 2004.

Thread Status:
Not open for further replies.
  1. mouse can't sing, can't dance Registered Senior Member

    Messages:
    671
    I know, I am horribly moving out of the scope of thread. Sorry about that.

    If I recall correctly, which admittly I rarely do, a webserver should "rebuild" server includes and actually the whole HTML page, if the header of the page demands it in the expire attribute of the META tag. The HTTP1.1 specs has this to say about it. For examples of the META tag and expire dates, you can see W3C's description of it. That should take priority over file size, modifications dates and the like.
     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. DCLXVI Bloody Bastard Registered Senior Member

    Messages:
    363
  4. Google AdSense Guest Advertisement



    to hide all adverts.
  5. Angelus Daughter Of House Ravenhearte Registered Senior Member

    Messages:
    431
    I'm now working on making my php driven site xhtml compliant. One warning for anyone else going this route, which it seems eventually everyone must. Style sheets are a pain in the arse in the beggining, but become fun to mess with later.
     
  6. Google AdSense Guest Advertisement



    to hide all adverts.
  7. TruthSeeker Fancy Virtual Reality Monkey Valued Senior Member

    Messages:
    15,162
    Here are things that I haven't been able to work out:
    • backgroud color
    • image in the center
    • table styles
    • clickable buttons sizes
    • horizontal alignment

    I wanna make a menu with all the buttons in the same size (of course), and at the same time, put something right beside it. How do I do that?

    Please Register or Log in to view the hidden image!



    Also, why the background colors are not working? I'm using the code: [BODY BG COLOR="...."]

    And for some strange reason, I can put an image in either side, but I can't put it in the middle. I've tried: [IMG ALIGN="middle" SRC="..."] and [IMG ALIGN="center" SRC="...."]. Neither worked...

    Btw... this has been much easier then I though...

    Please Register or Log in to view the hidden image!



    PS: Why can't I use ">"s...?
     
  8. Stryder Keeper of "good" ideas. Valued Senior Member

    Messages:
    13,105
    The usual way to create Menu's etc, is to use < TABLE >
    It's possible to "nest" a number of table elements to get the overall effect.

    As for background colour it should be < BODY BGCOLOR="#000000" > or < BODY BGCOLOR="white" >

    As for placing Images, well you can either use a TABLE and then tell the table how to align the image, or you place the < IMG > tag inside a < P > paragraph tag, you then align your paragraph tag with the image in it.
     
  9. TruthSeeker Fancy Virtual Reality Monkey Valued Senior Member

    Messages:
    15,162
    It's ok when I'm using simple stuff, but I'm trying to do a menu with some clikable buttons, and whenever I do a table with them they all get messed up. Sometimes it gets all inverted. It's terrible...

    I use those commands:
    < TABLE >
    < TR >
    < TD >< FORM METHOD="link" ACTION="....html" > < INPUT TYPE="submit" VALUE="....." >
    < /TD >
    < TR >
    < TD >...< /TD >
     
    Last edited: Feb 3, 2004
  10. TruthSeeker Fancy Virtual Reality Monkey Valued Senior Member

    Messages:
    15,162
    What happened? The page was completly screwed up...!

    I feel powerfull...

    Please Register or Log in to view the hidden image!

     
  11. Stryder Keeper of "good" ideas. Valued Senior Member

    Messages:
    13,105
    You have to note that most tags in HTML need to be closed after the input, this is where some mistakes occur and a kind of overflow can take place.
    for instance if you open two tables, but forget to close the top one, it won't close until the bottom close tag, which malforms how it's displayed (similar to how the board would of gone).
     
  12. TruthSeeker Fancy Virtual Reality Monkey Valued Senior Member

    Messages:
    15,162
    Oh ok... Now I understand...

    Please Register or Log in to view the hidden image!



    I will try the other ones (the background and image)...

    There's another thing... How do I change the lenght of the clikable buttons?

    Please Register or Log in to view the hidden image!



    Oh... and as for the table, is the "TR" the one that create rows and "TD" the ones that create columns? Do I always have to put the "TD" ones insider the "TR" ones like this:
    ... whatever...

    Please Register or Log in to view the hidden image!

     
    Last edited: Feb 4, 2004
  13. Stryder Keeper of "good" ideas. Valued Senior Member

    Messages:
    13,105
    This should help your dilemma:

    http://www.htmlhelp.com/reference/wilbur/table/table.html

    TD is for Table CELL
    TR is for Table ROW
    TH is for Table HEADER (which is like a Table CELL but it places any text entered into a bolded header format.)

    This means that TABLES do not have Column entries, just ROW entries and CELL entries. You can make columns seem to exist by SIZING the CELLS with WIDTH entries.
     
  14. TruthSeeker Fancy Virtual Reality Monkey Valued Senior Member

    Messages:
    15,162
    Ok... who invented this code? That doesn't seem to be the simplest way to do it... So I can only write from right to left? I can't write a whole column and then go to the next? How am I supposed to make a menu and text on the side...? Not very clever... :bugeye:

    Please Register or Log in to view the hidden image!



    Anyways...

    Please Register or Log in to view the hidden image!


    Thanks
     
  15. TruthSeeker Fancy Virtual Reality Monkey Valued Senior Member

    Messages:
    15,162
    Now... I wonder if there aer different styles of tables...

    Please Register or Log in to view the hidden image!


    Please Register or Log in to view the hidden image!

    Please Register or Log in to view the hidden image!

     
  16. Angelus Daughter Of House Ravenhearte Registered Senior Member

    Messages:
    431
    By using xhtml and css of course. Where you can create boxes and position them absolutely on your page whereever you want.
     
  17. TruthSeeker Fancy Virtual Reality Monkey Valued Senior Member

    Messages:
    15,162
    Sounds good...
    Let's do it!

    Please Register or Log in to view the hidden image!

     
  18. Angelus Daughter Of House Ravenhearte Registered Senior Member

    Messages:
    431
  19. TruthSeeker Fancy Virtual Reality Monkey Valued Senior Member

    Messages:
    15,162
  20. TruthSeeker Fancy Virtual Reality Monkey Valued Senior Member

    Messages:
    15,162
    Btw... the link to the forums don't let me go into the forums unless I subscribe it. Is there another link that I don't need to subscribe? I wish to learn this "css" code!

    Please Register or Log in to view the hidden image!

    Please Register or Log in to view the hidden image!

    Please Register or Log in to view the hidden image!

     
  21. Angelus Daughter Of House Ravenhearte Registered Senior Member

    Messages:
    431
    Hmm, funny it doesn't give me any problems and I was linked to that forum from somewhere else too. Basically it's just a list of links to other threads on that forum. Any of the below work?

    Introduction - What is CSS?
    http://www.webmasterworld.com/red.cgi?f=83&d=461&url=http://www.webmasterworld.com/forum83/460.htm
    Font Control - Selectors and Basic Syntax
    http://www.webmasterworld.com/red.cgi?f=83&d=461&url=http://www.webmasterworld.com/forum83/506.htm
    Color & Background Properties
    http://www.webmasterworld.com/red.cgi?f=83&d=461&url=http://www.webmasterworld.com/forum83/622.htm
    Text Properties - Pseudo Classes & Pseudo Elements
    http://www.webmasterworld.com/red.cgi?f=83&d=461&url=http://www.webmasterworld.com/forum83/746.htm
     
  22. Angelus Daughter Of House Ravenhearte Registered Senior Member

    Messages:
    431
  23. TruthSeeker Fancy Virtual Reality Monkey Valued Senior Member

    Messages:
    15,162
    For all this links I got the message:
    However, I clicked on "Forum Index", and that took me to the forums. Now I can see whichever I want...

    Please Register or Log in to view the hidden image!



    Thanks

    Please Register or Log in to view the hidden image!

     
Thread Status:
Not open for further replies.

Share This Page