PDA

View Full Version : Conflicting sizes :$


PsychoticDude85
04-26-2005, 03:02 PM
I have a problem with the layouts on my site at the moment (It's not a proper site, just a sort of index for the experimentation going on in that domain :P) anyway since i couldnt be bothered to write my own CMS News system (I might be able too but it just takes too long, lol, maybe later) I installed 'CuteNews' as it seemed to be a decent and simplistic news system that i could add too whenever i started a new experiment so I knew what it was if I was out for a while :P. Anyhoo, the page I have has a content box in the middle and during implementing my first test page I have already found a problem... While it will expand it just repeats the image...

Will I have to resize the images manually or is there a code solution?

-Link- (http://alex85.coolinc.info/)

and the source code just in case it's important :P

Index.php:
<?php
/* Include this before your html code */
include "poll/poll_cookie.php";
?>
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-type" CONTENT="text/html; charset=iso-8859-2">
<META NAME="Description" CONTENT="Opis dokumentu">
<META NAME="Author" CONTENT="Autor dokumentu">
<TITLE>PsychoticDude85's Site</TITLE>
<style TYPE="text/css">
<!--
BODY {
scrollbar-face-color: white;
scrollbar-arrow-color: black;
scrollbar-base-color: white;
scrollbar-shadow-color: black;
scrollbar-dark-shadow-color: white;
scrollbar-highlight-color: black;
scrollbar-3d-light-color: white}
//-->
</STYLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#609FFF" ALINK="#00A4D8" VLINK="#38006C" LEFTMARGIN="0" RIGHTMARGIN="0" TOPMARGIN="0" BOTTOMMARGIN="0" MARGINWIDTH="0" MARGINHEIGHT="0">

<script language="JavaScript" type="text/javascript">
<!--
if (!(document.layers)) {
document.write('<style type="text/css">\
.bt{color:#080F59;background-color:#DEE4FC;border: 1px solid #080F59;}\
.bt1{color:#FFFFFF;background-color:#4D5096;border : 1px solid #FFFFFF;font-weight:bold;}\
.bt2{color:#000000;background-color:#DBE9F9;border: 1px solid #000000;}\
.bt5{color:#000000;background-color:#ADE3F9;border : 1px solid #74D0F4;font-weight:bold;font-size:11px}\
</style>');
}

//-->
</script>

<table border="0" width="100%" height="78" CELLPADDING="0" CELLSPACING="0">
<tr>
<td width="100%" height="78">
<img src="img/1.gif" WIDTH="1200" HEIGHT="78" BORDER="0" ALT="LOGO">
</TD>
</TR>
</TABLE>

<Table border="0" width="100%" height="100%" CELLPADDING="0" CELLSPACING="0">
<tr>

<td valign="top">
<!-- Left column -->
<table border="0" cellspacing="0" cellpadding="0" align="left" valign="top">
<tr>
<td width="188" height="21" background="img/top.gif">
&nbsp;&nbsp;<img src="img/bullet.gif" width="7" height="7" border="0" align="center"> <SPAN STYLE=" font-style: normal; font-weight: bolder; font-family: verdana; font-size: 10pt">
Main Navigation</SPAN>
</TD>
</TR>
<tr>
<td width="188" background="img/cen.gif">
<DIV STYLE=" font-family: verdana; font-size: 10pt">
&nbsp;<img src="img/bullet.gif" width="7" height="7" border="0" align="center"> <a HREF="index.php">Home</A><BR>
&nbsp;<img src="img/bullet.gif" width="7" height="7" border="0" align="center"> <a HREF="news.php">News</A><BR>
&nbsp;<img src="img/bullet.gif" width="7" height="7" border="0" align="center"> <a HREF="archives.php">Archives</A><BR>
&nbsp;<img src="img/bullet.gif" width="7" height="7" border="0" align="center"> <a HREF="downloads.php">Downloads</A><BR>
&nbsp;<img src="img/bullet.gif" width="7" height="7" border="0" align="center"> <a HREF="tests.php">Test Pages</A><BR>
&nbsp;<img src="img/bullet.gif" width="7" height="7" border="0" align="center"> <a HREF="zorum/">Message Board</A></DIV>

</TD>
</TR>
<tr>
<td width="188" height="23" background="img/down.gif">
&nbsp;
</TD>
</TR>
</TABLE>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<table border="0" cellspacing="0" cellpadding="0" align="left" valign="top">
<tr>
<td width="188" height="21" background="img/top.gif">
&nbsp;&nbsp;<img src="img/bullet.gif" width="7" height="7" border="0" align="center"> <SPAN STYLE=" font-style: normal; font-weight: bolder; font-family: verdana; font-size: 10pt">
Affiliates/Links</SPAN>
</TD>
</TR>
<tr>
<td width="188" background="img/cen.gif">
<DIV STYLE=" font-family: verdana; font-size: 10pt">
&nbsp;<img src="img/bullet.gif" width="7" height="7" border="0" align="center"> <a HREF="http://www.deadside.prv.pl">.:Deadside:.</A><BR>
&nbsp;<img src="img/bullet.gif" width="7" height="7" border="0" align="center"> <a HREF="http://www.devex.co.uk">Devex</A><BR>
&nbsp;<img src="img/bullet.gif" width="7" height="7" border="0" align="center"> <a HREF="http://www.zymic.com">Zymic</A><BR>
&nbsp;<img src="img/bullet.gif" width="7" height="7" border="0" align="center"> <a HREF="http://community.clawz.com">Spam Forum</A><BR>
&nbsp;<img src="img/bullet.gif" width="7" height="7" border="0" align="center"> <a HREF="http://developers.evrsoft.com/forum/index.php?">HTML Forum</A><BR>
&nbsp;<img src="img/bullet.gif" width="7" height="7" border="0" align="center"> <a HREF="http://cutephp.com">CutePHP</A></DIV>

</TD>
</TR>
<tr>
<td width="188" height="23" background="img/down.gif">
&nbsp;
</TD>
</TR>
</TABLE>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<table border="0" cellspacing="0" cellpadding="0" align="left" valign="top">
<tr>
<td width="188" height="21" background="img/top.gif">
&nbsp;&nbsp;<img src="img/bullet.gif" width="7" height="7" border="0" align="center"> <SPAN STYLE=" font-style: normal; font-weight: bolder; font-family: verdana; font-size: 10pt">
MENU</SPAN>
</TD>
</TR>
<tr>
<td width="188" background="img/cen.gif">
<DIV STYLE=" font-family: verdana; font-size: 10pt">&nbsp;Admins/Moderators sign in
&nbsp;<a href="cutenews/">Here</a> to reach the admin
&nbsp; panel.</DIV>

</TD>
</TR>
<tr>
<td width="188" height="23" background="img/down.gif">
&nbsp;
</TD>
</TR>
</TABLE>

</TD>

<td valign="top" align="right">
<!-- Center column -->
<table border="0" cellspacing="0" cellpadding="0" align="left" valign="top">
<tr>
<td width="367" height="22" background="img/ctop.gif">
&nbsp;&nbsp;<img src="img/bullet.gif" width="7" height="7" border="0" align="center"> <SPAN STYLE=" font-style: normal; font-weight: bolder; font-family: verdana; font-size: 10pt">
Template</SPAN>
</TD>
</TR>
<tr>
<td width="367" background="img/cbg.gif">

<TABLE ALIGN="LEFT" VALIGN="TOP" WIDTH="367" HEIGHT="100" BORDER="0">
<TR>
<TD valign="top">
<DIV STYLE=" font-family: verdana; font-size: 8pt">


<?PHP
$static = TRUE;
$template = "Headlines";
include("cutenews/show_news.php");

$number = "1";
include("cutenews/show_news.php");
?>
</DIV>
</TD>
</TR>
</TABLE>

</TD>
</TR>
<tr>
<td width="367" height="22" background="img/cdown.gif">
&nbsp;
</TD>
</TR>
</TABLE>
</TD>

<TD valign="top">
<!-- Right Column -->
<table border="0" cellspacing="0" cellpadding="0" align="left" valign="top">
<tr>
<td width="188" height="21" background="img/top.gif">
&nbsp;&nbsp;<img src="img/bullet.gif" width="7" height="7" border="0" align="center"> <SPAN STYLE=" font-style: normal; font-weight: bolder; font-family: verdana; font-size: 10pt">
Poll</SPAN>
</TD>
</TR>
<tr>
<td width="188" background="img/cen.gif">
<center><DIV STYLE=" font-family: verdana; font-size: 8pt">
<BR>
<?php

/* path */
$poll_path = "/home/www/alex85.coolinc.info/poll";

require $poll_path."/include/config.inc.php";
require $poll_path."/include/$POLLDB[class]";
require $poll_path."/include/class_poll.php";
$CLASS["db"] = new polldb_sql;
$CLASS["db"]->connect();

$php_poll = new poll();

/* the second poll */
$php_poll->set_template_set("simple");
$php_poll->set_max_bar_length(80);
echo $php_poll->poll_process(4);

?></DIV></center>
</TD>
</TR>
<tr>
<td width="188" height="23" background="img/down.gif">
&nbsp;
</TD>
</TR>
</TABLE>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<table border="0" cellspacing="0" cellpadding="0" align="left" valign="top">
<tr>
<td width="188" height="21" background="img/top.gif">
&nbsp;&nbsp;<img src="img/bullet.gif" width="7" height="7" border="0" align="center"> <SPAN STYLE=" font-style: normal; font-weight: bolder; font-family: verdana; font-size: 10pt">
SEARCH</SPAN>
</TD>
</TR>
<tr>
<td width="188" background="img/cen.gif">
<TABLE ALIGN="LEFT" CELLPADDING="3" VALIGN="TOP" WIDTH="100%" BORDER="0">
<TR>
<TD valign="top">
<DIV STYLE=" font-family: verdana; font-size: 8pt">

<CENTER>



<FORM ACTION="http://search.freefind.com/find.php" METHOD="GET" target="_self">
<FONT size=1 face="arial,helvetica" >
<INPUT TYPE="HIDDEN" NAME="id" SIZE="-1" VALUE="51044221">
<INPUT TYPE="HIDDEN" NAME="pageid" SIZE="-1" VALUE="r">
<INPUT TYPE="HIDDEN" NAME="mode" SIZE="-1" VALUE="ALL">
<INPUT type="HIDDEN" name="t" value="w">
<INPUT TYPE="TEXT" NAME="query" SIZE="15"><small>
<BR><BR>
<INPUT TYPE="SUBMIT" VALUE=" Search " class="bt5"><br>
</small></font></FORM>
</center>
</DIV>
</TD>
</TR>
</TABLE>

</TD>
</TR>
<tr>
<td width="188" height="23" background="img/down.gif">
&nbsp;
</TD>
</TR>
</TABLE>

</TABLE>
</TD>

</TR>
</TABLE>

</BODY>
</HTML>

PsychoticDude85
04-27-2005, 08:52 AM
Well, gave up in the end and resized the image, it doesnt look as good but it's there and i guess thats ok :P.