登录 | 注册 | FAQ
Anonymous

Even columns

+ 发表回复

6 篇帖子 分页: 1 / 1


Even columns

nevemiriam » 周三 3月 11, 2015 7:18 am

Hi,

I am practicing columns using CSS. Exploring padding, etc. But I can't seem to get the columns to start on the "same line" -- i.e. to start at the same distance from the header.

Here is the website I am practicing on:

http://nevemiriam.web44.net/Somebody.html

(it has ridiculous content because its all just practice).

Thank you.
头像

nevemiriam

  • 帖子: 7
  • 注册: 周日 2月 22, 2015 12:25 pm

Re: Even columns

XainPro » 周三 3月 11, 2015 12:56 pm

use tables for this

http://html.net/tutorials/html/lesson10.php
头像

XainPro

  • 帖子: 3933
  • 注册: 周五 2月 17, 2012 8:10 pm

Re: Even columns

nanoverso » 周三 3月 11, 2015 10:41 pm

Try putting the same amount of padding in #linkPage and #mainBody, and the same nesting of paragraphs (<p>).
头像

nanoverso

  • 帖子: 253
  • 注册: 周六 5月 10, 2014 12:08 am
  • 地址: Brazil
--
Free VST Plugins Download.

Re: Even columns

CubeSquare » 周四 3月 12, 2015 1:57 am

My friend,

You need a lesson in Layout using CSS. Your answer can't be told in a couple of sentences. You need a overall approach. So, I recommend having a look at the 4 video tutorials in this series that will give you an idea of how to approach a page layout.
http://www.2createawebsite.com/design/css-tutorial.html

This is only a preliminary exercise but you will be writing custom page layouts in no time.
Then you can use the techniques that XainPro and nanoverso explain. Go ahead. Give it a try. Who knows.....where the wild goose goes.
头像

CubeSquare
Moderator

  • 帖子: 9
  • 注册: 周日 9月 26, 2010 6:04 pm

Re: Even columns

nevemiriam » 周四 3月 12, 2015 6:25 am

XainPro, Nanoverso, Cubesquare,

Thank you so much for your help. I do need to learn tables, but I want to grasp divs as well so I will keep trying with the divs and then learn the tables.

Will try playing around with the padding.

And will definitely check out the tutorials.

Thanks so much!!
头像

nevemiriam

  • 帖子: 7
  • 注册: 周日 2月 22, 2015 12:25 pm

Re: Even columns

heikewife2 » 周五 4月 10, 2015 10:10 am

How about using faux columns in your CSS?
头像

heikewife2

  • 帖子: 5
  • 注册: 周四 3月 05, 2015 8:36 am


+ 发表回复

分页: 1 / 1