Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New Coder
    Join Date
    Jul 2004
    Posts
    59
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Arrow CSS Help on layout...

    Hi there,

    I just viewed my friends webpage and noticed that within his source code he has not used a single table for layout etc etc. I am familiar with layout concerning simple text elements but am uncertain about how to use it to contain other elemtns...eg, like a table. This sound confusing I know but check it out for yourself...

    http://newmedia.leeds.ac.uk/ug03/ics...0/cc/index.cfm

    I'm pretty certain it's CSS but how is it done? Also, where can I find a good online resource for CSS?

    Many thanks for your help.

  • #2
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    most css layouts use div tags that have id's or classes then they are called in the css, here is a link that u may find useful http://www.w3schools.com/css/default.asp

  • #3
    Senior Coder
    Join Date
    Jun 2002
    Location
    The Netherlands, Baarn, Ut.
    Posts
    4,252
    Thanks
    0
    Thanked 0 Times in 0 Posts

    What's the point?!!

    At first, I got an internal server error; now, I get some lame currency converter.
    Single page, nothing fancy. What's so special about it? No positioning needed, just a bit of color, a border and some white space.

    By the way, the main site is a horrible, table-ridden mess.
    Regards,
    Ronald.
    ronaldvanderwijden.com

  • #4
    Senior Coder
    Join Date
    Nov 2003
    Location
    Minneapolis, MN
    Posts
    2,879
    Thanks
    2
    Thanked 65 Times in 56 Posts
    Quote Originally Posted by _Aerospace_Eng_
    most css layouts use div tags that have id's or classes then they are called in the css
    nononononononononononononono

    That's not the basis of how HTML/CSS works. Yes, you CAN use div tags, but CSS can be applied to any html tag. Too many people are just equating CSS with "replace <table> with <div>" but that is totally wrong and bloated.

    Coding with standards can be described pretty simply: Code the page structurally and semantically. Style as needed.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •