html question

M

Mark Watkins

Of course, this is not an html board, but some of you may be able to answer
this question. Copy and past the html below into a text file so you can
open it in IE and see what I mean:

--------------------------------BEGIN---------------------------------------
--
<html>

<head>
</head>
<body>
<center>
<form method="POST" action="" name="viewDate">
<select name="viewMonth" size="1" class="smallbutton"><option
value="0">mm</option>
<option value="1">January</option>
<option value="2">February</option>
<option value="3">March</option>
<option value="4">April</option>
<option value="5">May</option>
<option value="6">June</option>
<option value="7">July</option>
<option value="8">August</option>
<option value="9">September</option>
<option value="10">October</option>
<option value="11">November</option>
<option value="12">December</option>
</select>

<select name="viewDay" size="1" class="smallbutton">
<option value="0">dd</option><option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="6">6</option>
<option value="7">7</option>
<option value="8">8</option>
<option value="9">9</option>
<option value="10">10</option>
<option value="11">11</option>
<option value="12">12</option>
<option value="13">13</option>
<option value="14">14</option>
<option value="15">15</option>
<option value="16">16</option>
<option value="17">17</option>
<option value="18">18</option>
<option value="19">19</option>
<option value="20">20</option>
<option value="21">21</option>
<option value="22">22</option>
<option value="23">23</option>
<option value="24">24</option>
<option value="25">25</option>
<option value="26">26</option>
<option value="27">27</option>
<option value="28">28</option>
<option value="29">29</option>
<option value="30">30</option>
<option value="31">31</option>
</select>

<select name="viewYear" size="1" class="smallbutton">
<option value="0">yyyy</option>
<option value="2003">2003</option>
<option value="2004">2004</option>
<option value="2005">2005</option>
<option value="2006">2006</option>
<option value="2007">2007</option>
<option value="2008">2008</option>
<option value="2009">2009</option>
<option value="2010">2010</option>
</select>
<br>
<input type="submit" value="View This Day" name="getDay">
</form>

<br><br>
CURRENTLY VIEWING SCHEDULE FOR:<br>
1-30-2004
<br>
</center>

<table width="1900" cellpadding="0" cellspacing="0" border="0" ID="Table1">

<tr><td colspan="48">
Sunday
</td></tr>
<tr>
<td width='2.083%' bgcolor='yellow'><b>5:00</b></td><td width='2.083%'
bgcolor='yellow'><b>5:30</b></td><td width='2.083%'
bgcolor='yellow'><b>6:00</b></td><td width='2.083%'
bgcolor='yellow'><b>6:30</b></td><td width='2.083%'
bgcolor='yellow'><b>7:00</b></td><td width='2.083%'
bgcolor='yellow'><b>7:30</b></td><td width='2.083%'
bgcolor='yellow'><b>8:00</b></td><td width='2.083%'
bgcolor='yellow'><b>8:30</b></td><td width='2.083%'
bgcolor='yellow'><b>9:00</b></td><td width='2.083%'
bgcolor='yellow'><b>9:30</b></td><td width='2.083%'
bgcolor='yellow'><b>10:00</b></td><td width='2.083%'
bgcolor='yellow'><b>10:30</b></td><td width='2.083%'
bgcolor='yellow'><b>11:00</b></td><td width='2.083%'
bgcolor='yellow'><b>11:30</b></td><td width='2.083%'
bgcolor='yellow'><b>12:00</b></td><td width='2.083%'
bgcolor='yellow'><b>12:30</b></td><td width='2.083%'
bgcolor='yellow'><b>1:00</b></td><td width='2.083%'
bgcolor='yellow'><b>1:30</b></td><td width='2.083%'
bgcolor='yellow'><b>2:00</b></td><td width='2.083%'
bgcolor='yellow'><b>2:30</b></td><td width='2.083%'
bgcolor='yellow'><b>3:00</b></td><td width='2.083%'
bgcolor='yellow'><b>3:30</b></td><td width='2.083%'
bgcolor='yellow'><b>4:00</b></td><td width='2.083%'
bgcolor='yellow'><b>4:30</b></td><td width='2.083%'
bgcolor='yellow'><b>5:00</b></td><td width='2.083%'
bgcolor='yellow'><b>5:30</b></td><td width='2.083%'
bgcolor='yellow'><b>6:00</b></td><td width='2.083%'
bgcolor='yellow'><b>6:30</b></td><td width='2.083%'
bgcolor='yellow'><b>7:00</b></td><td width='2.083%'
bgcolor='yellow'><b>7:30</b></td><td width='2.083%'
bgcolor='yellow'><b>8:00</b></td><td width='2.083%'
bgcolor='yellow'><b>8:30</b></td><td width='2.083%'
bgcolor='yellow'><b>9:00</b></td><td width='2.083%'
bgcolor='yellow'><b>9:30</b></td><td width='2.083%'
bgcolor='yellow'><b>10:00</b></td><td width='2.083%'
bgcolor='yellow'><b>10:30</b></td><td width='2.083%'
bgcolor='yellow'><b>11:00</b></td><td width='2.083%'
bgcolor='yellow'><b>11:30</b></td><td width='2.083%'
bgcolor='yellow'><b>12:00</b></td><td width='2.083%'
bgcolor='yellow'><b>12:30</b></td><td width='2.083%'
bgcolor='yellow'><b>1:00</b></td><td width='2.083%'
bgcolor='yellow'><b>1:30</b></td><td width='2.083%'
bgcolor='yellow'><b>2:00</b></td><td width='2.083%'
bgcolor='yellow'><b>2:30</b></td><td width='2.083%'
bgcolor='yellow'><b>3:00</b></td><td width='2.083%'
bgcolor='yellow'><b>3:30</b></td><td width='2.083%'
bgcolor='yellow'><b>4:00</b></td><td width='2.083%'
bgcolor='yellow'><b>4:30</b></td>
</tr>
<br><br>
</table>
<br>
</body>
</html>

---------------------------------END----------------------------------------

Now what I don't understand is why there are 2 "newline" characters between
the "1-30-2004 " and "Sunday" I am trying to take out those newlines.
 
D

Don Grover

See below.
Mark Watkins said:
Of course, this is not an html board, but some of you may be able to answer
this question. Copy and past the html below into a text file so you can
open it in IE and see what I mean:

--------------------------------BEGIN------------------------------------- --
--
<html>

<head>
</head>
<body>
<center>
<form method="POST" action="" name="viewDate">
<select name="viewMonth" size="1" class="smallbutton"><option
value="0">mm</option>
<option value="1">January</option>
<option value="2">February</option>
<option value="3">March</option>
<option value="4">April</option>
<option value="5">May</option>
<option value="6">June</option>
<option value="7">July</option>
<option value="8">August</option>
<option value="9">September</option>
<option value="10">October</option>
<option value="11">November</option>
<option value="12">December</option>
</select>

<select name="viewDay" size="1" class="smallbutton">
<option value="0">dd</option><option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="6">6</option>
<option value="7">7</option>
<option value="8">8</option>
<option value="9">9</option>
<option value="10">10</option>
<option value="11">11</option>
<option value="12">12</option>
<option value="13">13</option>
<option value="14">14</option>
<option value="15">15</option>
<option value="16">16</option>
<option value="17">17</option>
<option value="18">18</option>
<option value="19">19</option>
<option value="20">20</option>
<option value="21">21</option>
<option value="22">22</option>
<option value="23">23</option>
<option value="24">24</option>
<option value="25">25</option>
<option value="26">26</option>
<option value="27">27</option>
<option value="28">28</option>
<option value="29">29</option>
<option value="30">30</option>
<option value="31">31</option>
</select>

<select name="viewYear" size="1" class="smallbutton">
<option value="0">yyyy</option>
<option value="2003">2003</option>
<option value="2004">2004</option>
<option value="2005">2005</option>
<option value="2006">2006</option>
<option value="2007">2007</option>
<option value="2008">2008</option>
<option value="2009">2009</option>
<option value="2010">2010</option>
</select>
<br>
<input type="submit" value="View This Day" name="getDay">
</form>

<br><br>
CURRENTLY VIEWING SCHEDULE FOR:<br>
1-30-2004
<br>
</center>

<table width="1900" cellpadding="0" cellspacing="0" border="0" ID="Table1">

<tr><td colspan="48">
Sunday
</td></tr>
<tr>
<td width='2.083%' bgcolor='yellow'><b>5:00</b></td><td width='2.083%'
bgcolor='yellow'><b>5:30</b></td><td width='2.083%'
bgcolor='yellow'><b>6:00</b></td><td width='2.083%'
bgcolor='yellow'><b>6:30</b></td><td width='2.083%'
bgcolor='yellow'><b>7:00</b></td><td width='2.083%'
bgcolor='yellow'><b>7:30</b></td><td width='2.083%'
bgcolor='yellow'><b>8:00</b></td><td width='2.083%'
bgcolor='yellow'><b>8:30</b></td><td width='2.083%'
bgcolor='yellow'><b>9:00</b></td><td width='2.083%'
bgcolor='yellow'><b>9:30</b></td><td width='2.083%'
bgcolor='yellow'><b>10:00</b></td><td width='2.083%'
bgcolor='yellow'><b>10:30</b></td><td width='2.083%'
bgcolor='yellow'><b>11:00</b></td><td width='2.083%'
bgcolor='yellow'><b>11:30</b></td><td width='2.083%'
bgcolor='yellow'><b>12:00</b></td><td width='2.083%'
bgcolor='yellow'><b>12:30</b></td><td width='2.083%'
bgcolor='yellow'><b>1:00</b></td><td width='2.083%'
bgcolor='yellow'><b>1:30</b></td><td width='2.083%'
bgcolor='yellow'><b>2:00</b></td><td width='2.083%'
bgcolor='yellow'><b>2:30</b></td><td width='2.083%'
bgcolor='yellow'><b>3:00</b></td><td width='2.083%'
bgcolor='yellow'><b>3:30</b></td><td width='2.083%'
bgcolor='yellow'><b>4:00</b></td><td width='2.083%'
bgcolor='yellow'><b>4:30</b></td><td width='2.083%'
bgcolor='yellow'><b>5:00</b></td><td width='2.083%'
bgcolor='yellow'><b>5:30</b></td><td width='2.083%'
bgcolor='yellow'><b>6:00</b></td><td width='2.083%'
bgcolor='yellow'><b>6:30</b></td><td width='2.083%'
bgcolor='yellow'><b>7:00</b></td><td width='2.083%'
bgcolor='yellow'><b>7:30</b></td><td width='2.083%'
bgcolor='yellow'><b>8:00</b></td><td width='2.083%'
bgcolor='yellow'><b>8:30</b></td><td width='2.083%'
bgcolor='yellow'><b>9:00</b></td><td width='2.083%'
bgcolor='yellow'><b>9:30</b></td><td width='2.083%'
bgcolor='yellow'><b>10:00</b></td><td width='2.083%'
bgcolor='yellow'><b>10:30</b></td><td width='2.083%'
bgcolor='yellow'><b>11:00</b></td><td width='2.083%'
bgcolor='yellow'><b>11:30</b></td><td width='2.083%'
bgcolor='yellow'><b>12:00</b></td><td width='2.083%'
bgcolor='yellow'><b>12:30</b></td><td width='2.083%'
bgcolor='yellow'><b>1:00</b></td><td width='2.083%'
bgcolor='yellow'><b>1:30</b></td><td width='2.083%'
bgcolor='yellow'><b>2:00</b></td><td width='2.083%'
bgcolor='yellow'><b>2:30</b></td><td width='2.083%'
bgcolor='yellow'><b>3:00</b></td><td width='2.083%'
bgcolor='yellow'><b>3:30</b></td><td width='2.083%'
bgcolor='yellow'><b>4:00</b></td><td width='2.083%'
bgcolor='yellow'><b>4:30</b></td>
</tr>
<br><br>
</table>
<br>
</body>
</html>

---------------------------------END-------------------------------------- --

Now what I don't understand is why there are 2 "newline" characters between
the "1-30-2004 " and "Sunday" I am trying to take out those newlines.
You had 2 extra table cols in it
'*******************

<html>
<head>
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
</head>
<body>
<center>
<form method="POST" action name="viewDate">
<select name="viewMonth" size="1" class="smallbutton">
<option value="0">mm</option>
<option value="1">January</option>
<option value="2">February</option>
<option value="3">March</option>
<option value="4">April</option>
<option value="5">May</option>
<option value="6">June</option>
<option value="7">July</option>
<option value="8">August</option>
<option value="9">September</option>
<option value="10">October</option>
<option value="11">November</option>
<option value="12">December</option>
</select> <select name="viewDay" size="1" class="smallbutton">
<option value="0">dd</option>
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="6">6</option>
<option value="7">7</option>
<option value="8">8</option>
<option value="9">9</option>
<option value="10">10</option>
<option value="11">11</option>
<option value="12">12</option>
<option value="13">13</option>
<option value="14">14</option>
<option value="15">15</option>
<option value="16">16</option>
<option value="17">17</option>
<option value="18">18</option>
<option value="19">19</option>
<option value="20">20</option>
<option value="21">21</option>
<option value="22">22</option>
<option value="23">23</option>
<option value="24">24</option>
<option value="25">25</option>
<option value="26">26</option>
<option value="27">27</option>
<option value="28">28</option>
<option value="29">29</option>
<option value="30">30</option>
<option value="31">31</option>
</select> <select name="viewYear" size="1" class="smallbutton">
<option value="0">yyyy</option>
<option value="2003">2003</option>
<option value="2004">2004</option>
<option value="2005">2005</option>
<option value="2006">2006</option>
<option value="2007">2007</option>
<option value="2008">2008</option>
<option value="2009">2009</option>
<option value="2010">2010</option>
</select><br>
<input type="submit" value="View This Day" name="getDay">
</form>
<br>
<br>
CURRENTLY VIEWING SCHEDULE FOR:<br>
1-30-2004 Sunday<br>
</center>
<table width="1900" cellpadding="0" cellspacing="0" border="0" id="Table1">
<tr>
<td width="2.083%" bgcolor="yellow"><b>5:00</b></td>
<td width="2.083%" bgcolor="yellow"><b>5:30</b></td>
<td width="2.083%" bgcolor="yellow"><b>6:00</b></td>
<td width="2.083%" bgcolor="yellow"><b>6:30</b></td>
<td width="2.083%" bgcolor="yellow"><b>7:00</b></td>
<td width="2.083%" bgcolor="yellow"><b>7:30</b></td>
<td width="2.083%" bgcolor="yellow"><b>8:00</b></td>
<td width="2.083%" bgcolor="yellow"><b>8:30</b></td>
<td width="2.083%" bgcolor="yellow"><b>9:00</b></td>
<td width="2.083%" bgcolor="yellow"><b>9:30</b></td>
<td width="2.083%" bgcolor="yellow"><b>10:00</b></td>
<td width="2.083%" bgcolor="yellow"><b>10:30</b></td>
<td width="2.083%" bgcolor="yellow"><b>11:00</b></td>
<td width="2.083%" bgcolor="yellow"><b>11:30</b></td>
<td width="2.083%" bgcolor="yellow"><b>12:00</b></td>
<td width="2.083%" bgcolor="yellow"><b>12:30</b></td>
<td width="2.083%" bgcolor="yellow"><b>1:00</b></td>
<td width="2.083%" bgcolor="yellow"><b>1:30</b></td>
<td width="2.083%" bgcolor="yellow"><b>2:00</b></td>
<td width="2.083%" bgcolor="yellow"><b>2:30</b></td>
<td width="2.083%" bgcolor="yellow"><b>3:00</b></td>
<td width="2.083%" bgcolor="yellow"><b>3:30</b></td>
<td width="2.083%" bgcolor="yellow"><b>4:00</b></td>
<td width="2.083%" bgcolor="yellow"><b>4:30</b></td>
<td width="2.083%" bgcolor="yellow"><b>5:00</b></td>
<td width="2.083%" bgcolor="yellow"><b>5:30</b></td>
<td width="2.083%" bgcolor="yellow"><b>6:00</b></td>
<td width="2.083%" bgcolor="yellow"><b>6:30</b></td>
<td width="2.083%" bgcolor="yellow"><b>7:00</b></td>
<td width="2.083%" bgcolor="yellow"><b>7:30</b></td>
<td width="2.083%" bgcolor="yellow"><b>8:00</b></td>
<td width="2.083%" bgcolor="yellow"><b>8:30</b></td>
<td width="2.083%" bgcolor="yellow"><b>9:00</b></td>
<td width="2.083%" bgcolor="yellow"><b>9:30</b></td>
<td width="2.083%" bgcolor="yellow"><b>10:00</b></td>
<td width="2.083%" bgcolor="yellow"><b>10:30</b></td>
<td width="2.083%" bgcolor="yellow"><b>11:00</b></td>
<td width="2.083%" bgcolor="yellow"><b>11:30</b></td>
<td width="2.083%" bgcolor="yellow"><b>12:00</b></td>
<td width="2.083%" bgcolor="yellow"><b>12:30</b></td>
<td width="2.083%" bgcolor="yellow"><b>1:00</b></td>
<td width="2.083%" bgcolor="yellow"><b>1:30</b></td>
<td width="2.083%" bgcolor="yellow"><b>2:00</b></td>
<td width="2.083%" bgcolor="yellow"><b>2:30</b></td>
<td width="2.083%" bgcolor="yellow"><b>3:00</b></td>
<td width="2.083%" bgcolor="yellow"><b>3:30</b></td>
<td width="2.083%" bgcolor="yellow"><b>4:00</b></td>
<td width="2.083%" bgcolor="yellow"><b>4:30</b></td>
</tr>
</table>
<br>
</body>
</html>

'*******************
 
P

Pravin Patil

Hi

Try to enclose Sunday with 1-30-2004 in same table
For exampl
<table width="1900" cellpadding="0" cellspacing="0" border="0" ID="Table1"><tr><td colspan="48">CURRENTLY VIEWING SCHEDULE FOR:<br>1-30-2004</td></tr><tr><td colspan="48">Sunday</td></tr

Cheers

Pravin Patil
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,996
Messages
2,570,238
Members
46,826
Latest member
robinsontor

Latest Threads

Top