HTML help

They have: 121 posts

Joined: Apr 2003

Ok, I feel real dumb right about now. I guess I've been working on this site so long today that I'm overlooking something obvious. If you could check the code on my page here and tell me how I can "enlarge" the 4 tables on the right of the screen just a bit, maybe 10 px. When I bring the table out to enlarge it and upload it to my site I getting this . If you scroll over to the right you see what I mean. I need those 4 tables to be aligned with the right side of the screen like in the first link above not only that but if you look closely at the table in the second link you can see that there is a little space on the right side of all 4 tables. Oh, I might mention that the tables are an include so those tables are being pulled in from a file called right_menu.html.

Any suggestions are welcome.

Thanks

Greg K's picture

He has: 2,145 posts

Joined: Nov 2003

Ron, validate the html code! You have several opening and closing BODY tags, as well as closing tag in the middle of your page.

I wouldn't bother adjusting anything else until this is cleared up, as who knows how the browser is trying to determine how to handle the confusion of the code being wrong. Once the code is valid, then you will probably find the adjustments you make give expected results.

For beginners, I recommend http://www.doctor-html.com/RxHTML/cgi-bin/single.cgi as it gives a little more friendly results. I recommned using "Verbose" mode for the most explanation and advise, and since you have a section with random letters to fill space, remove the option for spelling.

BTW, the link you gave as a sample of your results didn't work for me.

-Greg

Suzanne's picture

She has: 5,507 posts

Joined: Feb 2000

That's the culprit.

Set that to zero, then in the content area, you can wrap the content in a div and set the margins for that div (or give the td an id and style that).

You shouldn't use ... et cetera in included files, only in the main file. Includes are basically pieces of code, not whole pages like frames.

Do validate and streamline the code a bit, though. You have a lot of redundancies that could be replaced with more logical markup to achieve the same result with less code.

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.