tissue
05-18-2010, 03:27 AM
So im working on my side nav but im having some issues with the Text. Its adding about 15px on top and bottom of the text causing there to be gaps between my divs.
http://pichost.superkipje.com/images/17725332534949093836.png (http://pichost.superkipje.com/)
Then because its not centered i try to add a padding of 5 to the top, but then it expands the top image and still leaves that random space. Ive tried alot of things but i cant get it. Anyone have any ideas?
Another question: If i add a float:left how do you add a padding to it because it doesnt ever seem to work. I googled and found somthing on a clear or somthing but i didnt really understand it. So if someone could clear that up.
My site is www.kbmapping.com/testpage.htm (http://kbmapping.com/testpage.htm) if you want to check the code.
Its a bit sloppy right now but im still trying to learn CSS layouts, could do this with tables but i heard css layouts are better and more flexible so im trying it.
http://pichost.superkipje.com/images/17725332534949093836.png (http://pichost.superkipje.com/)
Then because its not centered i try to add a padding of 5 to the top, but then it expands the top image and still leaves that random space. Ive tried alot of things but i cant get it. Anyone have any ideas?
Another question: If i add a float:left how do you add a padding to it because it doesnt ever seem to work. I googled and found somthing on a clear or somthing but i didnt really understand it. So if someone could clear that up.
My site is www.kbmapping.com/testpage.htm (http://kbmapping.com/testpage.htm) if you want to check the code.
Its a bit sloppy right now but im still trying to learn CSS layouts, could do this with tables but i heard css layouts are better and more flexible so im trying it.