PHP code not working in FireFox browser
Moderator: General Moderators
PHP code not working in FireFox browser
Can someone please tell me why the link below appears all messed up in FireFox but is fine in Internet Explorer?
http://ap.com.msu.edu/index2.php
http://ap.com.msu.edu/index2.php
Re: PHP code not working in FireFox browser
That's CSS, not PHP.
Re: PHP code not working in FireFox browser
can you tell me then, what could be wrong in the css?
Re: PHP code not working in FireFox browser
Well, it looks like the two images are overlapping.
I reckon you should either make them both one image, or specify heights for them both.
I reckon you should either make them both one image, or specify heights for them both.
Re: PHP code not working in FireFox browser
Thanks, I will try that. But, isn't there any way to do it in the PhP file instead? Only this index page will have the two overlapping graphics, so I don't want the css changed.
I should probably name the css code in the css file and call it up in php?
Never done that, but I will try to figure it out.
I should probably name the css code in the css file and call it up in php?
Never done that, but I will try to figure it out.
Re: PHP code not working in FireFox browser
You can use inline styles.
Re: PHP code not working in FireFox browser
Can ya give me just one example of an inline spss for a banner image?
Re: PHP code not working in FireFox browser
Code: Select all
<style type="text/css">
img.banner
{
height: 100px; /*or whatever height the image is*/
}
</style>
<!--and then for the image you'd do-->
<img class="banner" src="#" />
Re: PHP code not working in FireFox browser
Gee thanks. So, this is a great place for me to learn PHP. How does this forum work? You just sit there and answer people's questions? How do you earn a living?
Re: PHP code not working in FireFox browser
Well...I occassionally get help here, and I think it's only fair to help other people in return.
Besides, by helping other people, you often help yourself. By researching something someone's having trouble with, you'll often find a solution which you never thought of before, and can in fact be implemented in your own code.
And I'm only 16 lol. Anyways, I'm actually looking for a job right now...I normally work at my school as an IT technician, but they can't afford me this year (stupid recession), so I need a job somewhere else...
I've just finshed my GCSE's, so I have a lot of free time since I don't go to school any more.
But yeah, this is a good place to learn. Don't forget to use google to your advantage first though :)
Besides, by helping other people, you often help yourself. By researching something someone's having trouble with, you'll often find a solution which you never thought of before, and can in fact be implemented in your own code.
And I'm only 16 lol. Anyways, I'm actually looking for a job right now...I normally work at my school as an IT technician, but they can't afford me this year (stupid recession), so I need a job somewhere else...
I've just finshed my GCSE's, so I have a lot of free time since I don't go to school any more.
But yeah, this is a good place to learn. Don't forget to use google to your advantage first though :)