- This topic is empty.
Viewing 6 posts - 1 through 6 (of 6 total)
Viewing 6 posts - 1 through 6 (of 6 total)
- The forum ‘CSS’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Hi –
I just read the article about absolute and relative positioning (https://css-tricks.com/absolute-position … ositioning) and am trying to implement an example without success…
Here is my example: http://seedtracker.40digits.com/
In my example I’m trying to get the top navigation tabs to sit at the bottom of the tan block, but by default it sits on top. The closest I have got was using the example in the article, however, it was no longer centered and floated left.
Ideas? Perhaps there is an easier way to lay it out than what I am trying to do. I’m fairly new to CSS design.
-chrisL
Thanks for the quick reply. That worked! I got it centered by setting the inner div width to 100%.
However, the bottom alignment is right where I want it in IE7, it is about 10px short of the bottom when I look at it in FF?
you can try setting it for firefox and then through conditional comments feed the working css rules to ie7 only
It would be better to fix the general style sheet for firefox and then have a conditional style sheet for IE. If it looks wrong in FF it’s probably skewed in most other browsers too.
yup that’s what i said
give it a margin:0 and it should work for ya (FF at least).
margin:0 did the trick… and it worked for both IE and FF. Thanks, jhallmusic (and others, too)