fsxsimulation Posted July 26, 2011 Author Report Share Posted July 26, 2011 No they are not the problem, they are set to 100%, and will use 100% of the width of the container they are held in, that being the mainarea div, which is set to 600px. Thanks alot staurt but now my footer is not being displayed i couldnt understand your post after my solved post. Quote Link to comment Share on other sites More sharing options...
Strider Posted July 26, 2011 Report Share Posted July 26, 2011 No they are not the problem, they are set to 100%, and will use 100% of the width of the container they are held in, that being the mainarea div, which is set to 600px. You can disregard my reply. I was typing it, and you had posted about 3 times since I started, had to leave my computer in the middle of typing it, thus i did not see the updated topic. Quote Link to comment Share on other sites More sharing options...
stuartpb Posted July 26, 2011 Report Share Posted July 26, 2011 Thanks alot staurt but now my footer is not being displayed i couldnt understand your post after my solved post. OK. Here's what I meant: </div> </div> <!-- Sidearea Ends --> <!-- Container Ends --> <!-- Footer Starts --> <div style="clear:both"></div> <!-- ADD THIS HERE --> <div id="footer"> <p class="floatleft">copyright © 2011 - <?php echo date('Y') ?> - <?php echo SITE_NAME; ?> | <a href="http://www.phpvms.net" target="_blank">powered by phpVMS</a> | Template redesigned/reedited by Airblue Virtual</a></p> <p class="floatright"><a href="#">Utility</a> | <a href="#">Links</a> | <a href="#top">Back to Top</a></p> </div> <!-- Footer Ends --> </div> <!-- Wrapper Ends --> </body> </html> Quote Link to comment Share on other sites More sharing options...
fsxsimulation Posted July 26, 2011 Author Report Share Posted July 26, 2011 OK. Here's what I meant: </div> </div> <!-- Sidearea Ends --> <!-- Container Ends --> <!-- Footer Starts --> <div style="clear:both"></div> <!-- ADD THIS HERE --> <div id="footer"> <p class="floatleft">copyright © 2011 - <?php echo date('Y') ?> - <?php echo SITE_NAME; ?> | <a href="http://www.phpvms.net" target="_blank">powered by phpVMS</a> | Template redesigned/reedited by Airblue Virtual</a></p> <p class="floatright"><a href="#">Utility</a> | <a href="#">Links</a> | <a href="#top">Back to Top</a></p> </div> <!-- Footer Ends --> </div> <!-- Wrapper Ends --> </body> </html> ok but i dont have this in my stylesheet please tell me what to insert in style Quote Link to comment Share on other sites More sharing options...
stuartpb Posted July 26, 2011 Report Share Posted July 26, 2011 ok but i dont have this in my stylesheet please tell me what to insert in style The div has inline styling, so you don't need to input anything in your CSS. That is unless you want to use the stylesheet, which is a better way to do things. So in your CSS you would enter: .clearedfloats {clear:both;} Then in the html I showed, you would change the added div to: </div> </div> <!-- Sidearea Ends --> <!-- Container Ends --> <!-- Footer Starts --> <div class="clearedfloats"></div> <!-- ADD THIS HERE --> <div id="footer"> <p class="floatleft">copyright © 2011 - <?php echo date('Y') ?> - <?php echo SITE_NAME; ?> | <a href="http://www.phpvms.net" target="_blank">powered by phpVMS</a> | Template redesigned/reedited by Airblue Virtual</a></p> <p class="floatright"><a href="#">Utility</a> | <a href="#">Links</a> | <a href="#top">Back to Top</a></p> </div> <!-- Footer Ends --> </div> <!-- Wrapper Ends --> </body> </html> Quote Link to comment Share on other sites More sharing options...
Strider Posted July 26, 2011 Report Share Posted July 26, 2011 To make it easier, <div class="clear"></div> Put that just above the start of the footer, then in the css file: .clear:clear:both; That will do the same as what Stuart put. Quote Link to comment Share on other sites More sharing options...
fsxsimulation Posted July 26, 2011 Author Report Share Posted July 26, 2011 STILL THE SAME Quote Link to comment Share on other sites More sharing options...
Strider Posted July 26, 2011 Report Share Posted July 26, 2011 Ok you need to calm down, no need to shout ok. Quote Link to comment Share on other sites More sharing options...
stuartpb Posted July 26, 2011 Report Share Posted July 26, 2011 To make it easier, <div class="clear"></div> Put that just above the start of the footer, then in the css file: .clear:clear:both; That will do the same as what Stuart put. You shouldn't name a class or ID the same as an attribute. That's why I used the clearedfloats class name. @FSX, just remove the div then. It works on the HTML you provided and I have tested it, so I'm not going to be guessing where you went wrong Quote Link to comment Share on other sites More sharing options...
Strider Posted July 26, 2011 Report Share Posted July 26, 2011 I used clear as a name, doesn't mean he has to use it, he could call it big_space_cowboy for all I care, and it would still work. examples don't have to have the exact same name. Quote Link to comment Share on other sites More sharing options...
stuartpb Posted July 26, 2011 Report Share Posted July 26, 2011 I used clear as a name, doesn't mean he has to use it, he could call it big_space_cowboy for all I care, and it would still work. examples don't have to have the exact same name. Seeing as you never mentioned this, and he is doing what we say literally, I pointed it out. No need to get antsy over it Quote Link to comment Share on other sites More sharing options...
Strider Posted July 26, 2011 Report Share Posted July 26, 2011 I ain't antsy. There are loads of things people shouldn't do, but do. If it works, it works, it doesn't it doesn't. Quote Link to comment Share on other sites More sharing options...
stuartpb Posted July 26, 2011 Report Share Posted July 26, 2011 I ain't antsy. There are loads of things people shouldn't do, but do. If it works, it works, it doesn't it doesn't. And getting into bad habits when learning web design always causes more problems than it solves. Quote Link to comment Share on other sites More sharing options...
Strider Posted July 26, 2011 Report Share Posted July 26, 2011 I have used that way, and have not run into anything that caused me or anyone else a problem. Everyone has bad habits, doesn't necasarily(spelled right? Never quite know with that word haha) mean people don't them, for example, smoking. It is bad for your health, it is a bad habit, can cause you to die young, do people stop, yes, is it easy: no, do people still smoke knowing the effects: yes. Quote Link to comment Share on other sites More sharing options...
stuartpb Posted July 26, 2011 Report Share Posted July 26, 2011 That's your choice, not everyone wants to use badly formed CSS or HTML though. Quote Link to comment Share on other sites More sharing options...
Strider Posted July 26, 2011 Report Share Posted July 26, 2011 It is not badly formatted though, if it validates, then there is nothing wrong with the code. It is each persons preference to use what he/she likes. I have also seen on plenty of free templates, the <div class="clear"></div> placed above the footer. So I am not the only one who uses it. Quote Link to comment Share on other sites More sharing options...
stuartpb Posted July 26, 2011 Report Share Posted July 26, 2011 We were taught at uni to not use attributes as class and id names, and it's the way I've always coded. It's much easier and simpler just to use well thought out class and id names, which can also be descriptive of their purpose. So that way, if a 3rd party is looking at the css or html, it's much easier for them to work out whats what. Quote Link to comment Share on other sites More sharing options...
Strider Posted July 26, 2011 Report Share Posted July 26, 2011 To each his own, I guess. Each web designer, codes in a different way. I usually now just put the clear:both in the footer or where I want it anyway. So I don't need the <div class="clear"></div>. Quote Link to comment Share on other sites More sharing options...
fsxsimulation Posted July 26, 2011 Author Report Share Posted July 26, 2011 To each his own, I guess. Each web designer, codes in a different way. I usually now just put the clear:both in the footer or where I want it anyway. So I don't need the <div class="clear"></div>. guys stop fighting ok now regarding the footer issue let me check it. Quote Link to comment Share on other sites More sharing options...
Strider Posted July 26, 2011 Report Share Posted July 26, 2011 We are not fighting, just having a discussion. Quote Link to comment Share on other sites More sharing options...
fsxsimulation Posted July 26, 2011 Author Report Share Posted July 26, 2011 ok Quote Link to comment Share on other sites More sharing options...
fsxsimulation Posted July 26, 2011 Author Report Share Posted July 26, 2011 TOPIC SOLVED. THANKSALOT TO STAURT Quote Link to comment Share on other sites More sharing options...
Guest Posted July 27, 2011 Report Share Posted July 27, 2011 Stuart i am shocked you helped him till the end but this man is not favorable at all in this whole post you asked him to paste his website link but he has not given you the link thats becoz Mr Bird Virtual or Mr Waleed or Mr fsxsimulation is opening one more VA out of his 15 websites and dont wanted to tell anyone the link so his secret will open here that whose website is he copying this time this boy is of no use such a childish behavior and approach you will not succeed at all....... Keep opening the websites is never a solution ehhh cut the crap so many of our forum members given you lectures on this and you are on the same page and always be on the same page best of luck. Quote Link to comment Share on other sites More sharing options...
Strider Posted July 27, 2011 Report Share Posted July 27, 2011 Stuart i am shocked you helped him till the end but this man is not favorable at all in this whole post you asked him to paste his website link but he has not given you the link thats becoz Mr Bird Virtual or Mr Waleed or Mr fsxsimulation is opening one more VA out of his 15 websites and dont wanted to tell anyone the link so his secret will open here that whose website is he copying this time this boy is of no use such a childish behavior and approach you will not succeed at all....... Keep opening the websites is never a solution ehhh cut the crap so many of our forum members given you lectures on this and you are on the same page and always be on the same page best of luck. If you have a problem with him, report him to the moderators, do not make a post like this in a topic. It only makes you look bad. Quote Link to comment Share on other sites More sharing options...
fsxsimulation Posted July 27, 2011 Author Report Share Posted July 27, 2011 Stuart i am shocked you helped him till the end but this man is not favorable at all in this whole post you asked him to paste his website link but he has not given you the link thats becoz Mr Bird Virtual or Mr Waleed or Mr fsxsimulation is opening one more VA out of his 15 websites and dont wanted to tell anyone the link so his secret will open here that whose website is he copying this time this boy is of no use such a childish behavior and approach you will not succeed at all....... Keep opening the websites is never a solution ehhh cut the crap so many of our forum members given you lectures on this and you are on the same page and always be on the same page best of luck. Mr.Watson taking help is NO OFFENCE. This is a support forum! What is your problem? Quote Link to comment Share on other sites More sharing options...
fsxsimulation Posted July 27, 2011 Author Report Share Posted July 27, 2011 A bit more help please in my brilliance skin in my side bar at the pilots online area i am getting this error : Invalid arrgument supplied and here is my code; <div id="sidearea"> <h2>Pilots Online</h2> <?php $shown = array(); foreach($usersonline as $pilot) { if(in_array($pilot->pilotid, $shown)) continue; else $shown[] = $pilot->pilotid; echo "<p>"; echo '<img src="'.Countries::getCountryImage($pilot->location).'" alt="'.Countries::getCountryName($pilot->location).'" />'; echo " {$pilot->firstname} {$pilot->lastname}<br />"; echo "</p>"; } ?> Quote Link to comment Share on other sites More sharing options...
fsxsimulation Posted July 27, 2011 Author Report Share Posted July 27, 2011 awaiting Quote Link to comment Share on other sites More sharing options...
stuartpb Posted July 27, 2011 Report Share Posted July 27, 2011 Stuart i am shocked you helped him till the end but this man is not favorable at all in this whole post you asked him to paste his website link but he has not given you the link thats becoz Mr Bird Virtual or Mr Waleed or Mr fsxsimulation is opening one more VA out of his 15 websites and dont wanted to tell anyone the link so his secret will open here that whose website is he copying this time this boy is of no use such a childish behavior and approach you will not succeed at all....... Keep opening the websites is never a solution ehhh cut the crap so many of our forum members given you lectures on this and you are on the same page and always be on the same page best of luck. I helped him because he is putting some effort into building his website, and I would be willing to help anyone I could as long as I know they are putting some effort in themselves. I've asked for help myself when I've been stuck on things for my website, and been very grateful that someone took the time to assist. I came close to walking away from helping because I don't agree with the fact that he's knocking shoddy website after website out, the same as his VA's, but the very fact that he keeps trying is something that shows he's keen. I remember when I first got into web design a few years ago, and I was knocking sites out 10 a penny because it was the only way I was going to learn. Having said that though, I did keep them offline, and certainly didn't want to be attracting visitors to them. If Waleed could just see that by churning out VA after VA, with poor planning and little or no thought gone into the VA's execution, he is hurting his reputation and attracting pilots will always be a struggle for him (if not impossible). However, if Waleed wants to build site after site as part of a learning curve, then I think he's doing good, as long as he stops trying to pass these efforts off as a finished product, and that includes his VAs. So Waleed, do yourself a favour, don't go advertising the VA or the site until you can honestly say they are ready for that stage. I mean really ready, and not the standard you have been using up until now. There is no rush to take your ideas online and be seeking pilots, and if you do rush it, it will stand out a mile every time and definitely put people off. Rein in the enthusiasm, and put it to good use elsewhere. Planning is the key for any website, including VA websites. Planning is also the key to any successful VA. I suspect this honest advice will fall on deaf ears, as many have already said the same to you. If you don't take onboard all the advice offered to you by many, then you are letting yourself down much more than anyone else. 1 Quote Link to comment Share on other sites More sharing options...
fsxsimulation Posted July 27, 2011 Author Report Share Posted July 27, 2011 I helped him because he is putting some effort into building his website, and I would be willing to help anyone I could as long as I know they are putting some effort in themselves. I've asked for help myself when I've been stuck on things for my website, and been very grateful that someone took the time to assist. I came close to walking away from helping because I don't agree with the fact that he's knocking shoddy website after website out, the same as his VA's, but the very fact that he keeps trying is something that shows he's keen. I remember when I first got into web design a few years ago, and I was knocking sites out 10 a penny because it was the only way I was going to learn. Having said that though, I did keep them offline, and certainly didn't want to be attracting visitors to them. If Waleed could just see that by churning out VA after VA, with poor planning and little or no thought gone into the VA's execution, he is hurting his reputation and attracting pilots will always be a struggle for him (if not impossible). If Waleed wants to build site after site as part of a learning curve, then I think he's doing good. So Waleed, do yourself a favour, don't go advertising the VA or the site until you can honestly say they are ready for that stage. I mean really ready, and not the standard you have been using up until now. There is no rush to take your ideas online and seeking pilots, and if you do rush it, it will stand out a mile every time and definitely put people off. Rein in the enthusiasm, and put it to good use elsewhere. Planning is the key for any website, including VA websites. Planning is also the key to any successful VA. I suspect this honest advice will fall on deaf ears, as many have already said the same to you. If you don't take onboard all the advice offered to you by many, then you are letting yourself down much more than anyone else. Yes staurt you are absolutely right and yes this is true that i am making sites again and again because of a bit learning as I am a student. Opening/Deleting sites make me learn what i did wrong and what i did right. Now secondly staurt again you are right i am putting alot of effort on this website which i am making from the past 4-5 months i have not told anyone on this because i dont want to publicaly announce it and you all know the reason why. You must all have noticed i am not making any va because i have set my mind to make a good site and put alot of effort in it. Now , Staurt please help me with this problem that i posted earlier regarding my side bar pilots online thing. Thanks for your continuous support Staurt. Regards Waleed Quote Link to comment Share on other sites More sharing options...
stuartpb Posted July 27, 2011 Report Share Posted July 27, 2011 Yes staurt you are absolutely right and yes this is true that i am making sites again and again because of a bit learning as I am a student. Opening/Deleting sites make me learn what i did wrong and what i did right. Now secondly staurt again you are right i am putting alot of effort on this website which i am making from the past 4-5 months i have not told anyone on this because i dont want to publicaly announce it and you all know the reason why. You must all have noticed i am not making any va because i have set my mind to make a good site and put alot of effort in it. Now , Staurt please help me with this problem that i posted earlier regarding my side bar pilots online thing. Thanks for your continuous support Staurt. Regards Waleed Sorry but CSS and HTML are my forte, php isn't my strongest point and I have got myself in a tizzy before trying to offer advice. Another thing Waleed, I asked you privately not to send me private messages asking for help. Now I'm asking publicly, please stop doing it. Quote Link to comment 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.