Can't get my (php include) foot to the bottom of the page!
Hello
I have a site where I've successfully added the using the header <? PHP include()? >
I added the <? PHP include()? > tag at the end of my content on the homepage, but it either sticks in the middle of the page that you highlight, or change position (in css) crazy.
I don't want the footer to include in the class content that's a 800px width. I want that my footer to 100% width at the bottom of the page
Here's my footer.php:
<! - start .footer - > < link href = "stylesheets/footer.css" rel = "stylesheet" type = "text/css" > " < div class = "footer" > < br / > < table class = "footer" width = "100%" border = "0" > < b > < td width = "33%" colspan = "3" > < a style = "" color: #CBCBCB "href="main/feedback/feedback.php "> < /a > comment | < a style = "" color: #CBCBCB "href="main/contact/contact.php "> < /a > Contact | < a style = "" color: #CBCBCB "href =" http://eepurl.com/WtSur "> newsletter < /a > |" " < a style = "" color: #CBCBCB "href="main/donate/donate.html "> < /a > gift | < a style = "" color: #CBCBCB ' href = "Files/Terms and Conditions.pdf" > terms and Conditions < /a > < table > " < /tr > < b > < td colspan = "3" > < table > < /tr > < tr valign = "bottom" > < td width = "33 percent" height = "60" > <! - PayPal Logo - > " < a href =" https://www.PayPal.com/UK/webapps/MPP/PayPal-popup "title ="How PayPal"onClick =" javascript:window.open ('https://www.paypal.com/uk/webapps/mpp/paypal-popup ',' WIPaypal ',' toolbar = no, location = no, directories = no, status = no, menubar = no, scrollbars = yes, resizable = yes, width = 1060, height = 700'); return false; "" > < img src = "https://www.paypalobjects.com/webstatic/mktg/logo/bdg_secured_by_pp_2line.png" border = '0' alt = 'Secured by PayPal' > < /a > < div style = "text-align: Center" > < / div > " <! - PayPal Logo - > < table > < td width = "33%" > < img src = "images/mdjn - logo.png" width = "175" height = "58" / > < br / > < table > " < td width ="33% "> < div align ="center"> < a target ="_blank"href =" " https://www.Facebook.com/pages/DJ-direct/179634702105699?Ref=HL " > < img src = images/Facebook.png"" width = "40" height = "40" alt = "facebook" / > < /a > < a target = "_blank" href = " http://plus.google.com/102808919725916371065 " > < img src = "images/Google +.png" width = "40" height = "40" alt = "google +" / > < / has > < / div > < table > . < /tr > < /table > & copy; DJ-live 2014 < br / > < / div > <! - end .footer - > |
Here is the CSS for the footer:
@charset "utf-8"; / * CSS document * /. |
.footer {}
do-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
background-color: #2E2E2E;
color: #A4A4A4;
text-align: center;
Width: 100%;
position: absolute;
}
And finally, here is the page I'm trying to add the footer (include) on:
<! doctype html > < html > < head > < meta charset = "utf-8" > < title > welcome < /title > < style type = "text/css" > {body margin: 0; padding: 0; background-color: #3e3e40; position: relative; } . Happy {} Width: 800px; height: 120px; margin: 0 auto; } .title {} color: white; do-family: Verdana, Geneva, without serif. text-align: center; do-size: 18px; Police-weight: 600; padding-bottom: 10px; } . Text {} color: white; do-family: Verdana, Geneva, without serif. text-align: center; padding: 10px; } {.testimonial} do-family: "Trebuchet MS", Arial, Helvetica, sans-serif; color: #FFF; background-color: #575757; text-align: left; margin-top: 0px; margin-bottom: 20px; padding: 20px; } < / style > < link href = "stylesheets/header.css" rel = "stylesheet" type = "text/css" > " < link href = "stylesheets/footer.css" rel = "stylesheet" type = "text/css" > " < / head > < body > <? PHP include ("_header.php");? > < div class = "content" > < iframe width = "800" height = "180" src = "" / / www.cincopa.com/media-platform/iframe.aspx?fid=AcGA1sssNofx "frameborder ="0"scrolling allowfullscreen =" "style =" padding-top: 20px; "> < / iframe > < div class = "title" > At DJ-Direct, we are proud to provide the best service at an affordable price. < / div > < div class = "text" > When you want to organize an important occasion in your life, he must go to a perfect plan. If personal or professional wedding, or a corporate function, of such events memorable, nothing can be left to chance. It is cost-effective to book experts. < br > < br > Our entertainment, sent through professional DJs, mixing high range and equipment lighting and sound high definition made for a truly spectacular evening. < br > < br > Our DJs have a large amount of musical experience to create the atmosphere and feeling of any event. < br > < br > We provide professional shows of lighting and atmospheric effects to give your event that "WOW" factor If you need a great dramatic sountrack'u energy for a 21 or a wedding with lighting and sound for you. < br > < br > Move forward us and provide a tailored solution. < / div > < div style = "padding-top: 20px;" padding-bottom: 20px; "> < img src =" images/split.jpg"width ="800"height ="20"> < / div >" < div class = "title" > testimonials < / div > < div class = 'testimony' > < table width = "100%" border = "0" cellspacing = "5" cellpadding = "5" > < b > < td align = "" width = "85%" > < strong > Oxfam - charity event < facilities > < br / > " < em > The Old Queens Head < /em > < table > |
"< td width ="15% "> < img src="images/535px-5_stars.svg.png "width ="155"height ="31"/ > < table >
< /tr >
< b >
< td colspan = "2" > & quot; Without DJ-live, the atmosphere at our charity concert would be the same. With so many different acts of different styles, we couldn't be happier to have the variation of lighting to set the modd. More than 100 paying spectators came to follow the event while he was absolutely necessary to have a professional lighting to ensure the night success. & quot; < br / >
-Krishna Harilela < table >
< /tr >
< /table >
< / div >
< div class = 'testimony' >
< table width = "100%" border = "0" cellspacing = "5" cellpadding = "5" >
< b >
< td align = "" width = "85%" > < strong > New Years Eve < facilities > < br / > "
< em > Planet Hollywood < /em > < table >
"< td width ="15% "> < img src="images/535px-5_stars.svg.png "width ="155"height ="31"/ > < table >
< /tr >
< b >
< td colspan = "2" > & quot; I just wanted to say what a fantastic job DJ-live has done with the lighting of our Boogie Nights New Years Eve party at Planet Hollywood in London. They were extremely professional throughout the implementation and in the evening. They had three different styles of lighting based on three different areas of our restaurant at night. One for the dance floor, one for the bar and one for the dining room and he got the lighting on in each place. We hold many different styles of events at Planet Hollywood and would certainly use DJ-live again. Thanks again and I hope that we will work with you again in a near future & quot; < br / >
-Alex Garland < table >
< /tr >
< /table >
< / div >
< div class = 'testimony' >
< table width = "100%" border = "0" cellspacing = "5" cellpadding = "5" >
< b >
< td align = "" width = "85%" > < project strong Kenya > < / strong > < br / > "
< em > < table > < /em > ACS-Egham international school
"< td width ="15% "> < img src="images/535px-5_stars.svg.png "width ="155"height ="31"/ > < table >
< /tr >
< b >
< td colspan = "2" > & quot; I was very impressed by the professionalism and technical expertise displayed by DJ-live to dance school. All students truly enjoyed music and features of the setting up of DJ - machine smoke and "lasers" were very popular! A big thanks to DJ-live for their work hard to do such a dance success & quot; < br / >
-Hazel Caroline < table >
< /tr >
< /table >
< / div >
< div class = 'testimony' >
< table width = "100%" border = "0" cellspacing = "5" cellpadding = "5" >
< b >
< td align = "" width = "85%" > < strong > Christmas party < facilities > < br / > "
< em > Stoke Park < /em > < table >
"< td width ="15% "> < img src="images/535px-5_stars.svg.png "width ="155"height ="31"/ > < table >
< /tr >
< b >
< td colspan = "2" > & quot; I just want to thank DJ-live to support our event. We organized a Christmas party for various companies, and the feedback we received on the DJ was exceptional! They have set up in the ballroom and played fantastic music and their lighting all brought everyone to the dance floor. I will personally make sure to book DJ-live again for our event next Christmas. Thanks DJ-live! & quot; < br / >
-Hendricks < table >
< /tr >
< /table >
< / div >
< / div >
<? PHP include ("_footer.php");? >
< / body >
< / html >
Thanks for any help!
Max Resnikoff says:
Now it's just stuck at the bottom of the browser window, not the Web page
So where in fact do you want to go? If you want to follow the rest of the content of the page then don't add any positioning to the css:
.footer {}
do-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
background-color: #2E2E2E;
color: #A4A4A4;
text-align: center;
Width: 100%;
}
And to get rid of the stupid stupid content height: 120px - what you expect the footer to do if you define stupid things like that?
. Happy {}
Width: 800px;
height: 120px;
margin: 0 auto;
}
Tags: Dreamweaver
Similar Questions
-
How can I get a PHP include to update automatically after a date?
Hi guys,.
I maintain a number of site Web for athletes and sports on their websites, inclusion of their next event - just a small PHP file with when and where the next event is.
After each test, I have to manually update the include at the next event of the customer, who is a bit of pain and a lot of time.
Is there a way I can implement the script include to update automatically with another file to be included after a date?
Or, better yet, can I configure the include itself to display the content updated after a specific date?
That's what the include contains...
<img class="event" src="/images/eventPicture.png" /> <p class="nextEvent">Location<br /> Series<br /> 1-3 January 2013</p>
Thank you very much and I hope to hear from you!
SM
Its easier than establishing a database... I've been dabbling. You will still need to use a language such as php server-side.
First establish the date by adding the service to date get to the page:
<>
$date = date('d-F-Y');
?>
Then add the below little php in the position where you want the "include" to appear. (so if you April 19, event_3.php to appear):
<>
If ($date == "April 19, 2013") {? >}
It is not economic for many dates of the event, but if you have a little it will do as a solution.
It's not great because you would need to add below, changing to include it on the date you want to show that will replace the previous event.
<>
If ($date == "April 19, 2013") {? >}
<>
If ($date == "May 30, 2013") {? >}
<>
If ($date == "June 4, 2013") {? >}
-
I can't get my Powerpoint to view through the projector. It only shows my office.
I can't get my Powerpoint to view through the projector. It only shows the desktop image and not my slides.
You have mirrored screen checked? If this isn't the case, you must drag the PowerPoint window on the desktop appears on the projector.
-
How can I get WIndows8 TouchSmart to boot from the recovery disc
How can I get WIndows8 TouchSmart to boot from the recovery disc? With the recovery in the drive disk when I do a reboot or stop and start it does not read anything from the DVD player. My computer is a HP TouchSmart 23-D160QD.
You may need to change the boot order to boot from the DVD drive first. The steps to do this are in the document below.
http://support.HP.com/us-en/document/c00364979
These are recovery disks made by the recovery discs sent by HP? They will not work in a different system (you will receive an error message), but you are able to get the boot floppies in a different system? They should be able to start up to a point where the error message will be displayed.
-
I can't get my headphones to work. The people can hear me but I can't hear them on Skype. I can get them reactivate.
Hello
· The headset works fine on another computer?
· You are able to use the headset with any other application?
· Is - what the computer speakers are working well?
· The headset worked fine before?
This could be a problem with the headphones itself, you can contact the manufacturer for the same thing.
-
I have a 7 d but the series stiker his party and I need the SN, how can I get it (I don't have the box) is there a way to find it on the menu of the camera?
The serial number is in the EXIF data. Any EXIF reader will show.
-
I wiped my pc and my windows vista. How can I get a copy, reinstall.i have the product code?
Hello
If Vista is preinstalled contact the Manufacter computer and ask them to send recovery discs; what they should do for a small fee.
And ask them if you have a recovery partition on your hard drive to reinstall the operating system to how it was when new.
If you have not deleted this partition (you tell how wipe you the hard drive!) you press F10 or F11, etc at startup to start the process of relocation.
Ask the manufacturer for their combination of button to do this, if it is always an option for you.
"How to replace Microsoft software or hardware, order service packs and replace product manuals.
http://support.Microsoft.com/kb/326246
See you soon.
PS You can also borrow and use a Microsoft Vista DVD, which contains the files for the different editions of Vista must be installed. The product key determines which Edition is installed.
Builders recovery DVDs are should not be used for this purpose.
And you need to know the version of 'bit' for Vista, as 32-bit and 64-bit editions come on different DVDs
-
I can't get rid of ccSvcHst.exe in the list of icons in notification area.
I can't get rid of ccSvcHst.exx in the list of icons in notification area. He indicates that he belongs to Norton Internet Security. My new computer came with Norton on it. Natch. First things to get out were three Norton programs. The free 60 day trial of Norton internet Security, Norton backup program and VIP access. I used the function uninstaller in the control panel of Windows 7 sp 1. When I noticed this ccSvcHst.exe in the list of the notification icons, I guessed that it was a case of undesirable residue left by Norton, so I used the removal tool mentioned on this site.
http://us.Norton.com/support/kb/web_view.jsp?wv_type=public_web&docURL=20080710133834EN&LN=en_US
But ccSvcHst.exe is always in the list of icons in notification area. And I wonder how much other stuff hidden Norton is still on this new computer. I would appreciate any advice on how to get rid of it. There may be a third party removal tool that is safe and not provided by Norton that could be more complete.
Thank you
Department of public works
We need remove IconStreams, PastIconStreams in the registry key, and then restart...
See: -
How can I get a driver 64 bits for the mouse?
I installed W7 to xp pro. W7 is a 64-bit operating system, xp is a 32-bit. My mouse (Logitech USB PS/2 optical mouse does not work.) When I check the drivers, they are 32-bit and when I install new drivers, they are also 32-bit. How can I get a driver 64 bits for the mouse?
Original title: mouse drivers
The game, August 28, 2014 16:18:16 + 0000, WILLROSS wrote:
I installed W7 to xp pro. W7 is a 64-bit operating system, xp is a 32-bit. My mouse (Logitech USB PS/2 optical mouse does not work.) When I check the drivers, they are 32-bit and when I install new drivers, they are also 32-bit. How can I get a driver 64 bits for the mouse?
I don't know if there is a driver 64-bit Windows 7 to your
mouse. It's Logitech to decide or not to produce a.
Check on their website to see if it exists. If not, you
are out of luck, but fortunately that a new mouse shouldn't be very
Dear. -
Hello. Where can I get documentation for HP Capture and the road? As a user/administrator's guide? I recently installed a trial version, but he did not come all documentation.
little late? ;-)
Seems many is research. Look at
-
How can I get my tool clone to stop the reversal of colors instead of working as a clone tool!
How can I get my tool clone to stop the reversal of colors instead of working as a clone tool?
Blendimg and how the tool is set on?
-
How can I get an alternative serial number if the one on the CD does not work?
How can I get an alternative serial number if the one on the CD does not work?
Hello
Please see the below help documents:
Error: "serial number is not valid for this product". Adobe Creative Suite
Kind regards
Sheena
-
I have photoshopCC, but some how I get pop ups saying that my path for cs6 is expires, and then I buy and get a licience no, well I have not because I have a year of photoshop and lightroom CC. How can I get rid of this message from the Marie trial please
Go to Photoshop forum
-
How can I get my pictures to display in the order they were taken?
How can I get my pictures to display in the order they were taken?
Hey Mole,
Greetings.
- Open LR, go in the downstairs library module, click the capture time in the sort order.
Concerning
Rohit
-
How can I get 13.1 items to complete the download? He never goes beyond 8 percent, then I get the "download failed" and the error code u44m1i210. Anyway to get it installed or just disable the upgrade?
U44M1I210 - creative cloud help / error U44M1I210 | Install the updates:
http://helpx.Adobe.com/Creative-Suite/KB/error-u44m1i210-installing-updates-CCM.html
Maybe you are looking for
-
where the list book mark with the star icon
The list of bookmarks with a star that normally appears on the right side does not appear. Where is he
-
wanted to know on how to use labview to get the values of the Spectrum Analyzer?
Hi all I am a new Member and I am doing a project I have to see the performance of the DSl cable (lasting different for example 100 m, 200 m) on the Analyzer of spectrum and its values as graphic, food, BW should be get in excel sheet. I the company
-
All other functions in the problem account seem to work well.
-
Another HP 3050 has cannot print wireless posts
2 hours of reading another post and I still don't have a solution. My new HP 3050 has is connected to my wireless network and pulling an IP from 192.168.0.144, but Wireless USB is not printer/scan/being recognized. -J' uninstalled software (from th
-
No values for APEX_APPLICATION. GFnn
HelloI used apex_item.hidden (1, product_number) and APEX_APPLICATION. G_F01 successfully after an event of page Submit.I try use know an AJAX callback process to demand and does not work as I had hoped. (APEX_APPLICATION. G_F01. COUNT = 0)Does this