473,372 Members | 1,042 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,372 software developers and data experts.

Trouble aligning tables horizontally

I am trying to get a floating center table. I have tables on the left and right, but I am having troubles in particular with my center and right floating boards. I have set the width the boards are supposed to be, however the right forum feels the need to size itself to a much wider forum, same with the middle forum, and because of these I cannot manage to get them to fit neatly beside eachother

This is my code defining the size of the tables

Expand|Select|Wrap|Line Numbers
  1. #rside_menu {float:right;width: 19%; margin-left: 1%;}
  2. #rside_menu .tableborder { margin-bottom: 5px;}
  3. #rside_menu .row4 p {margin:0;padding:3px;}
  4.  
  5. #cside_menu{width: 50%;float:center;}
  6.  
  7. #lside_menu {float:left;width: 19%; margin-right: 1%;}
  8. #lside_menu .tableborder { margin-bottom: 5px;}
  9. #lside_menu .row4 p {margin:0;padding:3px;}
  10.  
  11. #board {width: 100%;float:center;}
This is my code places in the Navigation section of the Header and Body

Expand|Select|Wrap|Line Numbers
  1. <body bgcolor='#FFFFFF' leftmargin="1" topmargin="1" marginwidth="1" marginheight="0" alink='#000000' vlink='#000000'>
  2. <% BOARD HEADER %>
  3. <% NAVIGATION %>
  4.  
  5. <div id="main_content">
  6. <div id="lside_menu">
  7. <a div class="tableborder">
  8. <div class="maintitle">
  9. Server Leaders
  10. </div>
  11. <div class="row4">
  12. <p>
  13. <span style='color:bue;font-weight:bold'>
  14. Server Owner:</div><div class="row5">
  15. Jackass[DFJM]</div><div class="row6">
  16. <span style='color:yellow; font-weight:bold'>
  17. UWC3 DM Leader:</div><div class="row7">
  18. <span style='color:pink; font-weight:bold'>
  19. kRe-aT!V* Leader:</div><div class="row8">
  20. Karneey</div><div class="row9">
  21. <span style='color:purple; font-style: italic'>
  22. Dual Administrator:</div><div class="row10">
  23. <span style='color:black; font-style: italic'>
  24. UWC3 DM Admin:</div><div class="row11">
  25. <span style='color:green; font-style: italic'>
  26. kRe-aT!V* Admin:</div><div class="row12">
  27. <span style='color:red; text-decoration: line-through; font-weight: bold'>
  28. kRe-aT!V* Member:</div><div class="row13">
  29. Drag-on & pass it on</div><div class="row14">
  30. Exodus</span></a></p></div></div></div>
  31.  
  32. <div id="main_content">
  33. <div id="lside_menu">
  34. <a div class="tableborder">
  35. <div class="maintitle">
  36. Navigation
  37. </div><div class="row4"><p>
  38. <href="http://www.freewebs.com/kre-ativ">Home Page | 
  39. <href="http://z3.invisionfree.com/kReaTiV/index.php?act=site">Portal
  40. <href="http://z3.invisionfree.com/kReaTiV/index.php?act=help">Help | 
  41. <href="http://z3.invisionfree.com/kReaTiV/index.php?act=members">Members
  42. <href="http://z3.invisionfree.com/kReaTiV/index.php?act=search&f=">Search | <href="http://z3.invisionfree.com/kReaTiV/index.php?act=calender">Calendar</p></div></div></div>
  43.  
  44. <div id="main_content">
  45. <div id="rside_menu">
  46. <a div class="tableborder">
  47. <div class="maintitle">
  48. Upcomming Matches
  49. </div><div class="row4"><p>
  50. Comming Soon
  51. </p></div></div></div>
  52.  
  53. <div id="main_content">
  54. <div id="cside_menu">
  55. <a div class="tableborder">
  56. <div class="maintitle">
  57. News and Announcements
  58. </div><div class="row4"><p>
  59. November 16, 2007
  60.  
  61. Both servers should be up by this upcomming wednesday.  Anyone with experience setting up external mods, and editing UWC3 Mod may post in the Suggestions Section under the UWC3 DM section.  Providing help may lead to rewards when the server is set up!</p></div></div></div>
  62.  
  63. <div id="main_content">
  64. <div id="cside_menu">
  65. <a div class="tableborder">
  66. <div class="maintitle">
  67. Shoutbox
  68. </div><div class="row4"><p>
  69. Comming Soon
  70. </p></div></div></div>
  71.  
  72. <div id="board">
  73. <% BOARD %>
  74. <% STATS %>
  75.  
Nov 17 '07 #1
2 1398
My forums are s3.invisionfree.com/jackservers

This will give you a view of exactly the problem I am having.
Nov 17 '07 #2
drhowarddrfine
7,435 Expert 4TB
Validate for your list of 88 html errors and 10 css errors that need correcting.
Nov 17 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Iain Hallam | last post by:
Hi. I've got a few divs on a page that are positioned as "fixed". I now want my text to centre itself both horizontally and vertically. "text-align: center" on the body works for horizontal, but...
18
by: Chris | last post by:
Hello, I have an unordered list with 3 levels, like this: <ul class="normalList"> <li>blabla</li> <ul> <li>blabla</li> </ul> <li>blabla</li> <ul>
7
by: Scott Teglasi | last post by:
Hi all, I was curious as to how others whom have dealt with this problem have handled it. The problem is that I have a site design of a fixed width and height and want to center that content...
11
by: Mark Schneider | last post by:
I'm trying to avoid using <table> for formatting purposes where other, reasonable means exist. I'm stuck trying to find a way to find an equivalent for the code below. <table align="center">...
2
by: dnc28 | last post by:
Hi! Have a look at these sites. http://www.untitledstudio.com/flash.htm http://www.uniform.net/index2.html Both these sites have a Flash .swf file embedded into a HTML webpage.
28
by: kiqyou_vf | last post by:
I'm trying to pull data from 2 different tables and do a loop to retrieve more than one row. I'm having problems with aligning the information. Can someone lead me in the right direction? I've done...
1
by: kiqyou_vf | last post by:
Sorry, Google wouldn't let me post a reply. Here is the convo thus far: Jerry Stuckle wrote: > kiqyou_vf wrote: >> I'm trying to pull data from 2 different tables and do a loop to >> retrieve...
53
by: Alan Silver | last post by:
Hello, I understand the issue that tables should be used for tabular data and not for layout, but I would like some clarification as to exactly what constitutes tabular data. For example, if...
3
by: iamconfused | last post by:
Hi All... I have a very simple question (atleast I hope it is). How can I make sure the table on my page always appears in the middle (vertically & horizontally)? I am using dreamweaver, it...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.