Advertisement

There's no such thing as a stupid question, but they're the easiest to answer.
Login
Search

Advertisement

Web Design & Development Web Design & Development
Search Search
Search for:
Tech Support Guy > > >

Mis-Alignment Of Pages


(!)

ENIGMACODE's Avatar
ENIGMACODE ENIGMACODE is offline
Computer Specs
Member with 2 posts.
THREAD STARTER
 
Join Date: Jun 2012
Experience: Intermediate
08-Jun-2012, 07:13 PM #1
Mis-Alignment Of Pages
Hi Gang

I'm using Kompozer and having difficulty with table insertions causing 'off center' syndrome, and a Mis-Alignment of other web pages.

I'm not an HTML editor, and fully realize this program is for beginners. Some of you may not agree with the HTML output, but I think I can definitely narrow the problem down to table size as the culprit. Kompozer is a 'WYSIWYG' and HTML editor. I've discovered that it's problematic when titling proper file extensions. So I've checked all that, and doubled checked file names properly. I can cleary see that when a table exceeds a certain length, (top to bottom), that's when it throws off 'centering'. Please see the larger table added to the 'Bio' page, and you can compare the differences. The longer table in the Bio page causes the pages to jump, and mis-align. And is clearly off center in the html page it was created in. Would appreciate any help in recognizing the problem.

http://www.locationstudio.net/home.html

Thanx again
Mike
dukevyner's Avatar
dukevyner   (Luke) dukevyner is offline
Computer Specs
Member with 787 posts.
 
Join Date: Nov 2011
Location: Pakenham, VIC, Australia
Experience: Advanced
08-Jun-2012, 11:03 PM #2
Welcome to T.S.G Mike... ok i see that the table is longer... that problem is caused by a whole bunch of breaks in the table... i have never used komposer so i'm not familir with editing the html... but if you can get to it(you could also open file in a text editor such as note pad or word pad) once you can edit the html remove everything in red below... this will make the tables the same length

Quote:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html><head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"><title>bio</title>

<meta name="author" content="Michael Fraticelli"></head>
<body>
<div style="text-align: center;"><img style="width: 779px; height: 60px;" alt="" src="Header/logo.JPG"><br>
<a href="home.html">Home</a><span style="text-decoration: underline;"></span>&nbsp;
<a href="veterans.html">Veterans</a> &nbsp;<a href="bio.html">Bio</a><br>
<br>
<table style="width: 780px; text-align: left; margin-left: auto; margin-right: auto;" border="5" cellpadding="5" cellspacing="5">
<tbody>
<tr>
<td style="width: 780px;"><br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br><br><br><br><br><br><br><br><br><br><br><br>
<br>
<br>
</td>
</tr>
</tbody>
</table>
<br>
</div>
</body></html>
you should also set the table hight
Quote:
<table style="width: 780px; hight: 1000px; text-align: left; margin-left: auto; margin-right: auto;" border="5" cellpadding="5" cellspacing="5">
... this will stop it from going past a 1000px length(of course you can change this to be whatever number you want)... i was unable to duplecate the issue of the table "mis-aligning"

Hope this helps

-Luke
ENIGMACODE's Avatar
ENIGMACODE ENIGMACODE is offline
Computer Specs
Member with 2 posts.
THREAD STARTER
 
Join Date: Jun 2012
Experience: Intermediate
09-Jun-2012, 08:37 PM #3
Solved - thank you so much!
dukevyner's Avatar
dukevyner   (Luke) dukevyner is offline
Computer Specs
Member with 787 posts.
 
Join Date: Nov 2011
Location: Pakenham, VIC, Australia
Experience: Advanced
11-Jun-2012, 08:17 PM #4
Besure to press the "marked solved" button at the top of the page
As Seen On

BBC, Reader's Digest, PC Magazine, Today Show, Money Magazine
WELCOME TO TECH SUPPORT GUY!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.


(clock)
THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Search Tech Support Guy

Find the solution to your
computer problem!




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


WELCOME
You Are Using: Server ID
Trusted Website Back to the Top ↑