Results 1 to 10 of 10

Thread: Beginner question about alignment

  1. #1
    Join Date
    Aug 2008
    Posts
    4
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default Beginner question about alignment

    Hey there, new member here.. I am in the process of making my first webpage. I have already made the template along with slicing..

    My question.. How do I align my nav/menu/header/foot/body in html to where their viewable as the way they were when I made it?


    I am ready confused ..

    Thanks..

  2. The Following User Says Thank You to Cadence For This Useful Post:

    code_junky (08-03-2008)

  3. #2
    Join Date
    Jan 2006
    Location
    Ft. Smith, AR
    Posts
    795
    Thanks
    57
    Thanked 129 Times in 116 Posts

    Default

    if this is your first webpage, then I would suggest doing some reading up on "CSS" and "HTML" before you go any farther.

    You can find many beginner resources at:

    http://www.w3.org

    http://w3schools.com/

    http://www.slicingguide.com/

    http://www.pixel2life.com/
    --------------------------------------------------
    Reviews, Interviews, Tutorials, and STUFF
    --------------------------------------------------
    Home of the SexyBookmarks WordPress plugin

  4. The Following User Says Thank You to TheJoshMan For This Useful Post:

    code_junky (08-03-2008)

  5. #3
    Join Date
    Aug 2008
    Posts
    4
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default

    Thanks for the tutorials.. I learned a lot..

    From what I see, divs are cleaner and easier than tables?

    Also for my website now, it doesn't have a gallery.. Later on though I plan to implement one, would I have to do a div for each picture? Or can I use divs and tables in the same html.


    Thanks again.

  6. #4
    Join Date
    Jul 2008
    Posts
    5
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    Of course you can use both divs and tables, but tables aren't really necessary, plus you can style your images just like any div (margin, display:inline/block, etc)

  7. #5
    Join Date
    Jan 2006
    Location
    Ft. Smith, AR
    Posts
    795
    Thanks
    57
    Thanked 129 Times in 116 Posts

    Default

    Yes, if you plan to use "thumbnails" in the gallery... Then the easiest and most structured way of displaying them would be through an "unordered list" <ul>
    --------------------------------------------------
    Reviews, Interviews, Tutorials, and STUFF
    --------------------------------------------------
    Home of the SexyBookmarks WordPress plugin

  8. #6
    Join Date
    Aug 2008
    Posts
    4
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default

    Forgot I can use divs in a long vertical row..


    Is there a list of code definitions out there to better understand (margin, display:inline/block, etc).. I just have the basics at the moment and already did a google search, but nothing turned up.


    Sorry for all the question.

    Appreciate all the help.

  9. #7
    Join Date
    Apr 2008
    Location
    So.Cal
    Posts
    3,643
    Thanks
    63
    Thanked 516 Times in 502 Posts
    Blog Entries
    5

    Default

    w3schools.com has lists like that with their css tutorials.

  10. #8
    Join Date
    Jan 2006
    Location
    Ft. Smith, AR
    Posts
    795
    Thanks
    57
    Thanked 129 Times in 116 Posts

    Default

    yep, there most certainly is. Don't be ashamed to ask questions, that's the only way we learn. You can find a very reliable list of definitions and examples below:

    http://w3schools.com/css/css_reference.asp
    --------------------------------------------------
    Reviews, Interviews, Tutorials, and STUFF
    --------------------------------------------------
    Home of the SexyBookmarks WordPress plugin

  11. #9
    Join Date
    Aug 2008
    Posts
    4
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default

    Damn, right in front of my eyes. Haha. Thanks.

  12. #10
    Join Date
    Jul 2006
    Location
    just north of Boston, MA
    Posts
    1,806
    Thanks
    13
    Thanked 72 Times in 72 Posts

    Default

    Quote Originally Posted by sm1le View Post
    Of course you can use both divs and tables, but tables aren't really necessary, plus you can style your images just like any div (margin, display:inline/block, etc)
    In this instance, tables would be better suited

Bookmarks

Posting Permissions

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