SteveMT Posted October 5, 2008 Share Posted October 5, 2008 Hi, im currently working on this site for a friend/client: http://customdc.co.uk/ I've just added the 'get a quote' button at the top left but i'd prefer it so it doesn't shift the rest of the site down, how do I do this? In IE6 I seem to having problems with the bottom div extending to its full height and it also stretches the border out too wide, does anyone know how to fix this? Quote Link to comment https://forums.phpfreaks.com/topic/127137-few-site-questions/ Share on other sites More sharing options...
wildteen88 Posted October 5, 2008 Share Posted October 5, 2008 Wrap the HTML for your 'get a quote' banner in a div, eg <div id="quote-strip"><a href="quote.html"><img class="QuoteTop" src="images/getaquote.gif" width="129" height="129" /></a> </div> Then apply the following CSS: #quote-strip { position: absolute; top: 0px; left: 0px; display: inline; } Quote Link to comment https://forums.phpfreaks.com/topic/127137-few-site-questions/#findComment-657679 Share on other sites More sharing options...
SteveMT Posted October 6, 2008 Author Share Posted October 6, 2008 thanks wildteen! the quote banner seems to have inherited the top padding of the top div. do you know if it's possible to prevent this? http://customdc.co.uk/ Quote Link to comment https://forums.phpfreaks.com/topic/127137-few-site-questions/#findComment-658047 Share on other sites More sharing options...
wildteen88 Posted October 6, 2008 Share Posted October 6, 2008 Remove position:relative; From your CSS for your body selector Quote Link to comment https://forums.phpfreaks.com/topic/127137-few-site-questions/#findComment-658200 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.