Topic: few basic questions of css (Read 324 times)
Cyberpunk Wannabe
Posts: 45
342 credits Members referred : 0
« on: Mar 19, 2008, 06: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?
Cyberpunk Wannabe
Posts: 45
342 credits Members referred : 0
« Reply #1 on: Mar 19, 2008, 07: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: 7946
40629 credits Members referred : 3
« Reply #2 on: Mar 19, 2008, 08: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.