View Full Version : Beginner question about alignment
Cadence
08-03-2008, 01:09 AM
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? :D
I am ready confused :confused:..
Thanks..
TheJoshMan
08-03-2008, 01:18 AM
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/
Cadence
08-04-2008, 02:53 PM
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.
sm1le
08-04-2008, 09:09 PM
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)
TheJoshMan
08-04-2008, 10:16 PM
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>
Cadence
08-05-2008, 12:19 AM
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. :)
w3schools.com has lists like that with their css tutorials.
TheJoshMan
08-05-2008, 12:44 AM
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
Cadence
08-05-2008, 01:24 AM
Damn, right in front of my eyes. Haha. Thanks. :o
boogyman
08-05-2008, 01:17 PM
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
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.