Topic: few basic questions of css (Read 1396 times)
OMG!I am geek
Posts: 53
406 credits Members referred : 0
« on: Mar 19, 2008, 05:47:24 am »
after spending some time converting a site from psd to css i have a few probly basic questions for you guys.
i got a book on the subject, SitePoint The CSS Anthology and getting a little ahead of myself, but been something i been working on so i thought i would ask hehe
i have cade and image of problem is below
1) did a <li> list that will be a few links, the text is correct but the problem i am having is that when i added the line now i am getting a space in between my images. how do i correct that.
2) for the body of the page there will be 2 columns of text, one on the right (blue) and one left (gray), to do them i know will be 2 different class but to put them in the correct space would that be done with the text padding call?
OMG!I am geek
Posts: 53
406 credits Members referred : 0
« Reply #1 on: Mar 19, 2008, 06:58:34 pm »
well i fixed the space between the images with adding margin-top: 0; to the body,ul section. i kinda also figured out the text with using the absolute positioning, but not exactly what i was looking for, kinda want it to scale with the size of the page and keep its place, is there a way to do that and if so what would i be needing to learn in the CSS to do that?
I am a metal monkey!
Administrator Community Supporter?
Jedai Sword Master
Gender:
Posts: 5778
46265 credits Members referred : 3
« Reply #2 on: Mar 19, 2008, 07:46:21 pm »
Keeping the scale in XHTML stict is a little hard. You need to use relative positions and dimensions (using %)
If you want my opinion you should start by fixed dimensions and then play more, as it is harder to learn using the opposite.