Jump to content

Recommended Posts

Hi Guys just a quick question, have created a header image for our site but cant seem to get this central, have removed the images from header.php and replaced them with 1 image but cant seem to get this image central. can any1 help please? Our site is located @ www.thelorebringers.co.uk

 

 

<?php

 

echo"<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\">"

  . "<!-- fwtable fwsrc=\"header.png\" fwbase=\"header.gif\" fwstyle=\"Generic\" fwdocid = \"536263046\" fwnested=\"0\" -->"

  . "  <tr>"

  . ""

  . "  <td rowspan=\"2\"><img name=\"header.jpg\" src=\"themes/GameTech/images/header.jpg\" width=\"761\" height=\"160\" align=\"center\" border=\"0\" alt=\"\"></td>"

  . "  </tr>"

  . "</table>"

  . "<table width=\"100%\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\" align=\"center\"><tr valign=\"top\">"

  . "<td width=\"165\" valign=\"top\">"

?>

 

 

 

 

YThnx in advance

 

RinseWind

Link to comment
https://forums.phpfreaks.com/topic/71239-headerphp/
Share on other sites

"  <td rowspan=\"2\" align="center"><img name=\"header.jpg\" src=\"themes/GameTech/images/header.jpg\" width=\"761\" height=\"160\" align=\"center\" border=\"0\" alt=\"\"></td>"

 

or

 

"  <td rowspan=\"2\" style="text-align: center"><img name=\"header.jpg\" src=\"themes/GameTech/images/header.jpg\" width=\"761\" height=\"160\" align=\"center\" border=\"0\" alt=\"\"></td>"

 

Link to comment
https://forums.phpfreaks.com/topic/71239-headerphp/#findComment-358328
Share on other sites

Ok have now managed to sort that problem out, but when i change my screen res lower, i then get a blank space in header..and the same when i increase the the res the header then goes outside of the table? How do i fix the header size so all people can view it in any res?

Link to comment
https://forums.phpfreaks.com/topic/71239-headerphp/#findComment-358353
Share on other sites

Here is wot the header.php currently looks like..

 

 

<?php

 

echo"<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\">"

  . "<!-- fwtable fwsrc=\"header.jpg\" fwbase=\"header.jpg\" fwstyle=\"Generic\" fwdocid = \"536263046\" fwnested=\"0\" -->"

  . "  <tr>"

  . ""

  . "  <td rowspan=\"2\"><img name=\"header.jpg\" src=\"themes/GameTech/images/header.jpg\" width=\"1260\" height=\"150\" border=\"1\" alt=\"\"></td>"

  . "  </tr>"

  . "</table>"

  . "<table width=\"100%\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\" align=\"center\"><tr valign=\"top\">"

  . "<td width=\"1260\" valign=\"top\">"

?>

Link to comment
https://forums.phpfreaks.com/topic/71239-headerphp/#findComment-358452
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

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.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.