Log in

View Full Version : CSS Help PLEASE



nova
06-22-2007, 05:42 PM
Hey there, I'm doing my first CSS website (with out tables) and I've been stumped on these 2 problems for over a week now. I'm hoping someone out there can help.

1: I cant get the elements (logo image, and navigation) to sit at the bottom of the header div. They just float up.

2. the left border and the image(used as the right border) of the content div do not extend down in firefox. I believe it's because there has to be actual content, so the border only extends however far there is text but this is always leaving big gaps in the border in Firefox.

the url for this is http://chrisonyett.com/vd/template.html,

If anyone can help me with this I would really appreciate it.

Thanks

Cragdo
06-25-2007, 12:30 PM
I'm a bit confused about what you are after but if you want to position something inside a div element you could use positioning such as:



#header {
position: relative;
top: 10px;
left: 50px;
}


You can also use negative values:



#header {
position: relative;
top: -100px;
left: -50px;
}

when positioning relatively top: 0; left: 0; is the top left of the #header div unlike absolute positioning which removes the element from the document flow completely and top: 0; left: 0; would be taken from the top left of the the page.

nova
06-27-2007, 01:19 AM
thanks a lot :) that helps tons,, sorry im still a new coder