Zaloguj | Zarejestruj | FAQ
Anonymous

Even columns

+ Odpowiedz

Posty: 6 Strona 1 z 1


Even columns

przez nevemiriam » Śr mar 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.
Avatar użytkownika

nevemiriam

  • Posty: 7
  • Dołączył(a): N lut 22, 2015 12:25 pm

Re: Even columns

przez XainPro » Śr mar 11, 2015 12:56 pm

use tables for this

http://html.net/tutorials/html/lesson10.php
Avatar użytkownika

XainPro

  • Posty: 3933
  • Dołączył(a): Pt lut 17, 2012 8:10 pm

Re: Even columns

przez nanoverso » Śr mar 11, 2015 10:41 pm

Try putting the same amount of padding in #linkPage and #mainBody, and the same nesting of paragraphs (<p>).
Avatar użytkownika

nanoverso

  • Posty: 253
  • Dołączył(a): So maja 10, 2014 12:08 am
  • Lokalizacja: Brazil
--
Free VST Plugins Download.

Re: Even columns

przez CubeSquare » Cz mar 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.
Avatar użytkownika

CubeSquare
Moderator

  • Posty: 9
  • Dołączył(a): N wrz 26, 2010 6:04 pm

Re: Even columns

przez nevemiriam » Cz mar 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!!
Avatar użytkownika

nevemiriam

  • Posty: 7
  • Dołączył(a): N lut 22, 2015 12:25 pm

Re: Even columns

przez heikewife2 » Pt kwi 10, 2015 10:10 am

How about using faux columns in your CSS?
Avatar użytkownika

heikewife2

  • Posty: 5
  • Dołączył(a): Cz mar 05, 2015 8:36 am


+ Odpowiedz

Strona 1 z 1