How can I un-center the calendar on the page?

For requests for help from CG administrators, Wranglers, and experienced CG members. Please read the FAQ before posting. Also look at CG Wiki for tutorials and how-tos written by other CG webtoonists.

How can I un-center the calendar on the page?

Postby Bobadventures on Thu Jan 05, 2012 9:14 pm

I'm trying to redesign my comic's webpage layout a little bit. If you look at it-- http://bobadventures.comicgenesis.com -- you will see that I have all my navigation buttons in a row at the bottom, and that they're all about the same size as the Calendar rectangle. I would like to place the calendar to the right of them, so that it and the buttons will all be in a nice neat row. So I deleted the <br/> before the ***calendar** tag on the daily template, and then I did a Full Update, but nothing has changed. Does the calendar center itself automatically, no matter what? Or is there some way to put it where I want?
Image
User avatar
Bobadventures
Regular Poster
 
Posts: 195
Joined: Mon May 01, 2006 5:49 pm
Location: Los Angeles, CA, USA

Re: How can I un-center the calendar on the page?

Postby Mastermind on Fri Jan 06, 2012 11:53 am

Maybe it's bacause it's a table so it always appears in a new line. My only idea is to align the buttons to the left but I haven't tried that. My calendar refuses to be centered and I gave up on doing anything with it.
User avatar
Mastermind
Regular Poster
 
Posts: 242
Joined: Sat Jul 16, 2011 1:29 am

Re: How can I un-center the calendar on the page?

Postby Bobadventures on Fri Jan 06, 2012 7:17 pm

Okay, I right-clicked on my page to view the source code, and it looks as if the table generated by the ***calendar*** tag does include a <br /> at the beginning and end.

Since (I assume) I cannot change the code in the tag manually, is there any bit of code I could use that would de-activate the next <br /> to occur? Then I could just type that bit of code before the ***calendar*** tag.

Any ideas?

Btw, here is the code generated by the ***calendar*** tag:

<br />
<table cellspacing="0" cellpadding="1" border="0">
<tr><td align="center" colspan="2"><sup><b><a href="/d/20111231.html">DEC</a></b></sup>&nbsp;</td><td align="center" colspan="4"><font color="#b0b0b0"><B>Jan 2012</B></font></td><td align="center" colspan="2"></td></tr>
<tr><td align="center" bgcolor="#d0d0d0"><font color="#000000"><b>1</b></font></td>
<td align="center" bgcolor="#d0d0d0"><font color="#000000"><b>2</b></font></td>
<td align="center" bgcolor="#ffffff"><font color="#000000"><b>3</b></font></td>
<td align="center" bgcolor="#d0d0d0"><font color="#000000"><b>4</b></font></td>
<td align="center" bgcolor="#d0d0d0"><font color="#000000"><b>5</b></font></td>
<td align="center" bgcolor="#d0d0d0"><font color="#000000"><b>6</b></font></td>
<td align="center" bgcolor="#d0d0d0"><font color="#000000"><b>7</b></font></td>
</tr>
<tr><td align="center" bgcolor="#d0d0d0"><font color="#000000"><b>8</b></font></td>
<td align="center" bgcolor="#d0d0d0"><font color="#000000"><b>9</b></font></td>
<td align="center" bgcolor="#d0d0d0"><font color="#000000"><b>10</b></font></td>
<td align="center" bgcolor="#d0d0d0"><font color="#000000"><b>11</b></font></td>
<td align="center" bgcolor="#d0d0d0"><font color="#000000"><b>12</b></font></td>
<td align="center" bgcolor="#d0d0d0"><font color="#000000"><b>13</b></font></td>
<td align="center" bgcolor="#d0d0d0"><font color="#000000"><b>14</b></font></td>
</tr>
<tr><td align="center" bgcolor="#d0d0d0"><font color="#000000"><b>15</b></font></td>
<td align="center" bgcolor="#d0d0d0"><font color="#000000"><b>16</b></font></td>
<td align="center" bgcolor="#d0d0d0"><font color="#000000"><b>17</b></font></td>
<td align="center" bgcolor="#d0d0d0"><font color="#000000"><b>18</b></font></td>
<td align="center" bgcolor="#d0d0d0"><font color="#000000"><b>19</b></font></td>
<td align="center" bgcolor="#d0d0d0"><font color="#000000"><b>20</b></font></td>
<td align="center" bgcolor="#d0d0d0"><font color="#000000"><b>21</b></font></td>
</tr>
<tr><td align="center" bgcolor="#d0d0d0"><font color="#000000"><b>22</b></font></td>
<td align="center" bgcolor="#d0d0d0"><font color="#000000"><b>23</b></font></td>
<td align="center" bgcolor="#d0d0d0"><font color="#000000"><b>24</b></font></td>
<td align="center" bgcolor="#d0d0d0"><font color="#000000"><b>25</b></font></td>
<td align="center" bgcolor="#d0d0d0"><font color="#000000"><b>26</b></font></td>
<td align="center" bgcolor="#d0d0d0"><font color="#000000"><b>27</b></font></td>
<td align="center" bgcolor="#d0d0d0"><font color="#000000"><b>28</b></font></td>
</tr>
<tr><td align="center" bgcolor="#d0d0d0"><font color="#000000"><b>29</b></font></td>
<td align="center" bgcolor="#d0d0d0"><font color="#000000"><b>30</b></font></td>
<td align="center" bgcolor="#d0d0d0"><font color="#000000"><b>31</b></font></td>
<td align="center" bgcolor="#b0b0b0"><font color="#000000"><b>1</b></font></td>
<td align="center" bgcolor="#b0b0b0"><font color="#000000"><b>2</b></font></td>
<td align="center" bgcolor="#b0b0b0"><font color="#000000"><b>3</b></font></td>
<td align="center" bgcolor="#b0b0b0"><font color="#000000"><b>4</b></font></td>
</tr>
<tr><td align="center" bgcolor="#b0b0b0"><font color="#000000"><b>5</b></font></td>
<td align="center" bgcolor="#b0b0b0"><font color="#000000"><b>6</b></font></td>
<td align="center" bgcolor="#b0b0b0"><font color="#000000"><b>7</b></font></td>
<td align="center" bgcolor="#b0b0b0"><font color="#000000"><b>8</b></font></td>
<td align="center" bgcolor="#b0b0b0"><font color="#000000"><b>9</b></font></td>
<td align="center" bgcolor="#b0b0b0"><font color="#000000"><b>10</b></font></td>
<td align="center" bgcolor="#b0b0b0"><font color="#000000"><b>11</b></font></td>
</tr>
</table>


<br />

As you can see, there's a <br /> at the beginning and another one at the end.
Image
User avatar
Bobadventures
Regular Poster
 
Posts: 195
Joined: Mon May 01, 2006 5:49 pm
Location: Los Angeles, CA, USA

Re: How can I un-center the calendar on the page?

Postby Mastermind on Sat Jan 07, 2012 11:40 am

I doubt there's a way to cancel that part. But you can put one table in another and it works with the tag, look. It's probably the easiest way, at least for me.
User avatar
Mastermind
Regular Poster
 
Posts: 242
Joined: Sat Jul 16, 2011 1:29 am

Re: How can I un-center the calendar on the page?

Postby Bobadventures on Sat Jan 07, 2012 12:34 pm

Interesting! I looked at the source code of your example, and changed my page accordingly. Doing that put my buttons and the calendar in a row beautifully, but it also shifted them all the way down to the bottom of the page.

So... I guess what I will need to do is put all the elements of the page in tables so I can move them around freely? I've returned my page to the way it was originally for now, of course.

Please pardon my html inexperience. The reason I'm running guest art these two weeks is so I can finally have the time to learn to do this stuff and make the page look nice.
Image
User avatar
Bobadventures
Regular Poster
 
Posts: 195
Joined: Mon May 01, 2006 5:49 pm
Location: Los Angeles, CA, USA

Re: How can I un-center the calendar on the page?

Postby Mastermind on Sat Jan 07, 2012 1:44 pm

Oh I'm not great with code either, I usually use software, saves time. Using tables for layout is just simple, though they say it's discouraged lately, some tags are deprecated, but in our calendar's case it's the only way.
User avatar
Mastermind
Regular Poster
 
Posts: 242
Joined: Sat Jul 16, 2011 1:29 am

Re: How can I un-center the calendar on the page?

Postby Bobadventures on Sun Jan 08, 2012 8:26 am

Mastermind wrote: Using tables for layout is just simple, though they say it's discouraged lately...


Why is that?
Image
User avatar
Bobadventures
Regular Poster
 
Posts: 195
Joined: Mon May 01, 2006 5:49 pm
Location: Los Angeles, CA, USA

Re: How can I un-center the calendar on the page?

Postby Mastermind on Sun Jan 08, 2012 9:54 am

Apparently using CSS makes the page more accessible. If you google "html table layout" you'll see a bunch of results that say it's obsolete. And it probably is really hard if you don't see what you're doing, sizes change at random, I wouldn't touch it again without Dreamweaver (which I initially got just to make a fancy disjointed image map that loads forever).
User avatar
Mastermind
Regular Poster
 
Posts: 242
Joined: Sat Jul 16, 2011 1:29 am


 

Return to Help Center



Who is online

Users browsing this forum: AhrefsBot and 0 guests

cron