Jump to content

Recommended Posts

Posted

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.

Posted

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.

Posted

Thanks alot staurt but now my footer is not being displayed i couldnt understand your post after my solved post.

:lol:

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>

Posted

:lol:

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

Posted

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>

Posted

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.

Posted

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 :rolleyes:

Posted

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.

Posted

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 ;)

Posted

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.

Posted

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.

Posted

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.

Posted

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.

Posted

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>.

Posted

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.

Posted

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.

Posted

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.

Posted

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?

Posted

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>";

}

?>

Posted

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.

  • Like 1
Posted

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

Posted

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.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...