August 27, 200917 yr Hi, Could someone please help em figure out, how I can get the sidebar content to not go down over the footer and make the main content move down with it. I can do this by using floats, but im not allowed to use floats with my works cms system. I have to use position absolute a lot! Take a look: www.comparelimoprices.co.uk Thanks for your advice.
August 29, 200917 yr As far as I know you can't clear absolutely positioned elements so you'd need to define a height for the content somewhere to get the footer under that sidebar. No easy way around it I'm afraid.
August 29, 200917 yr Just remove all of your absolute positioning, you don't need it. You could simplify all of your code very easily by getting rid of all the tables. Remember that tables should always be avoided when coding a site you've designed, it just ain't cricket.
August 29, 200917 yr Just out of curiosity, how comes they wont let you use floats? Seems silly to overcomplicate the simplest job in the world using the position attribute.
August 29, 200917 yr Absolute positioning is just that: absolute. When you use absolute positioning on an element is will always be sitting wherever you position it using top:;, right:;, bottom:;, or left:;, as such it will completely ignore any other elements around it and will not move for them, no matter the situation. You shouldn't really need to use absolute positioning for much stuff anymore, particularly for this website, he could be using the margin:0 auto; code with simple divs. Honestly, the designer seems to be overcomplicating his code a lot.
August 30, 200917 yr Author Absolute positioning is just that: absolute. When you use absolute positioning on an element is will always be sitting wherever you position it using top:;, right:;, bottom:;, or left:;, as such it will completely ignore any other elements around it and will not move for them, no matter the situation. You shouldn't really need to use absolute positioning for much stuff anymore, particularly for this website, he could be using the margin:0 auto; code with simple divs. Honestly, the designer seems to be overcomplicating his code a lot. The problem I have is that my boss has told me that floats will not work properly with the cms system they have in place And also, that in the xhtml document, all the content is at the top and menu's etc are at the bottom. So I need to use absolute positioning to place the content where it 'should be' on the page Plus...The tables are in there and im not allowed to alter them, once again i am told, becuase of the cms system Overly complicated yes. Ridiculous, Yes. But..Its my first job so i gotta go with the flow, well at least till my two feet are well and truely in the doo! Thanks guys
August 31, 200917 yr Hi buddy, I appreciate that your boss is telling you what to do and that it's your first job. But even so, you should approach him and tell him what's what and say that there are better, more appropriate methods to what you're doing, and for the site to last much longer, you should use these new methods. It'll make you and your boss look much more professional. What CMS are you using? Is it that one you spoke about in the other thread. To me it seems like you're using an out of date system and it would help you a LOT to change to a more up-to-date piece of software. You don't have to go with the flow. You're the professional here, so you tell them what's what . Don't be cocky or rude about it, just tell them that you do know best.
August 31, 200917 yr Author Hi buddy, I appreciate that your boss is telling you what to do and that it's your first job. But even so, you should approach him and tell him what's what and say that there are better, more appropriate methods to what you're doing, and for the site to last much longer, you should use these new methods. It'll make you and your boss look much more professional. What CMS are you using? Is it that one you spoke about in the other thread. To me it seems like you're using an out of date system and it would help you a LOT to change to a more up-to-date piece of software. You don't have to go with the flow. You're the professional here, so you tell them what's what . Don't be cocky or rude about it, just tell them that you do know best. Thanks traxor for that peice of advice. Im just glad to hear that even thought im a 'junior' , i do actually know what im talking about!! I think once im a bit more settled in, I will suggest some points to him. The CMS was built by their Developer (Who works from home in London), So maybe I should get in touch with him too. Again, Thank you for your input and advice. Much appreciated.
September 1, 200917 yr ok well yeah i agree with the other guy's comments about not needing positioning and talking to your boss as it does seem like a strange way of doing things... nevertheless if you want to sort your page out in his way, you should just increase the height of the main content part so that it pushes the footer down and inline with the bottom of the sidebar. that should fix you right up.
September 1, 200917 yr and you should also move latest articles above the poll as it's more important and should therefor be higher up on the page. call us now for a quote etc... should be higher up!
Create an account or sign in to comment