View Full Version : spacing problems


loserw/a guitar
05-02-2003, 12:24 AM
i have a problem. heres the code for my site. I was wondering if theres a way to make it so the left half of the table's text isn't in the center. Also, if anyone could let me know how many pixels go horizontally across the page that would help.

<html>
<head>
<title>X x X FlamethroweR X x X</title>
</head>
<style>
<!--

A:link
{
text-decoration: none;
color:#007700;
}

A:visited
{
text-decoration: none;
color:#006600;
}

A:active
{
text-decoration: none;
color:#007700;
}

A:hover
{
text-decoration: none;
color:000099;
cursor: move;
}

body
{
background-color:#004455;
}

-->
</style>
<table>
<tableborder="0" cellpadding="5" cellspacing="10" width="100%" style="position:absolute; top:0px; left:0px;">
<tr>
<td bgcolor="#004433" width="150"><u><center>Guitar Tabs</center></u></td>
<td bgcolor="#004455" width="500">These are all tabs that I know, which I've either tabbed myself or have learned one way or another. You can use these tabs on other sites, but please <a href="mailto: xxx_flamethrower_xxx@yahoo.com">e-mail me</a> first. As soon as I get around to it I'll try to make it so you have a selection to choose from on this page and a box in the middle where it will show up. I may not have many tabs now but you can submit them to me if you want.</td>
</tr>
</table>
</body>
</html>

starlet
05-02-2003, 12:30 AM
I'm not sure i understand the first question, maybe increase the cellpadding?
Second question, it depends on your screen resolution...the 2 most common sizes are 800x600 and 1024x768

amicus
05-02-2003, 08:00 PM
remove the 'center' tags and it'll default to align left. if you want it to align 'top' or 'bottom' then you'll need 'valign' in the 'td' tags or even better use the css.

BugGirl
05-04-2003, 07:00 PM
You forgot to close your head tag and open a body tag....

Oh, and about the pixels accross a screen, it's easiet to just user percentages, so it looks the same at every screen res. the very MOST common one would be 800 pixels accross, but for a lot of people, it's higher.

MaGiCSuN
05-04-2003, 07:34 PM
i would say 780 pixels width :)

if you do use bigger, then make sure the scrollbar is able to use for people that have 800x600 resolution. If you enable that, people will not be able to scroll (that have lower resolution) and will not see the whole layout.

also change your html to this:

<html>
<head>
<title>X x X FlamethroweR X x X</title>
<style>
<!--

A:link
{
text-decoration: none;
color:#007700;
}

A:visited
{
text-decoration: none;
color:#006600;
}

A:active
{
text-decoration: none;
color:#007700;
}

A:hover
{
text-decoration: none;
color:000099;
cursor: move;
}

body
{
background-color:#004455;
}

-->
</style></head>
<body>
<tableborder="0" cellpadding="5" cellspacing="10" width="100%" style="position:absolute; top:0px; left:0px;">
<tr>
<td bgcolor="#004433" width="150"><u><center>Guitar Tabs</center></u></td>
<td bgcolor="#004455" width="500">These are all tabs that I know, which I've either tabbed myself or have learned one way or another. You can use these tabs on other sites, but please <a href="mailto: xxx_flamethrower_x
xx@yahoo.com">e-mail me</a> first. As soon as I get around to it I'll try to make it so you have a selection to choose from on this page and a box in the middle where it will show up. I may not have many tabs now but you can submit them to me if you want.</td>
</tr>
</table>
</body>
</html>

and as the people allready said, remove <center> where you want the text to be aligned left.

Love,
mirna