I made my page with absolute divs inside relatively positioned divs. I have tried to figure out how to do the page without using absolute and I honestly think it is more work for a lost cause if I can get it to position correctly the way I am doing it. The 2 textbooks that I have read both teach this way. It took me a while to realize what absolute positioning actually is, and if it is placed within a relative positioned div it will appear at the same place every time regardless if it is in IE or FF.
The way I am doing it..
navigation = relative
boxes inside navigation = absolutely positioned in relation to the relative navigation div
boxes = relative
content within the boxes = absolutely positioned in relation to the relative boxes div.
content = relative
content within the content div is absolutely positioned in relation to the relative content div.
bottom = relative
content within the bottom is absolutely positioned in relation to the relative bottom div.
footer = relative
content within the footer is absolutely positioned in relation to the relative footer div.
I do have another problem. It isn't so much of a problem as it is a question though. I have created block divs for my navigation buttons. The navigation is only a background-image. I want to make the block div's have a link to the respective page that they belong to. I have turned borders on for these divs so that you can see what I am talking about.
EDIT: http://www.bestwayheat.com (temporary domain)
Is there a way to make a block div, rather than inline, with no content have a link?
Also, my id readmore displays the way I am wanting it to in FF, however not in IE. I don't know why it is not displaying properly in IE but I will mess around with it. I think my body a:link is overriding my #readmore id for some reason.
__________________
Coding is just like a woman. If you don't do something exactly right, it complains.
Last edited by WebTraffic; 10-29-2009 at 05:17 PM..
|