 HaroldMLivin' the nightmarePremium join:2003-09-08 Des Moines, IA Reviews:
·Mediacom
·Iowa Telecom
·Dathorn Internet..
| Some Table Help Ok so I made a couple of tables and am using CSS to style them. Not sure what I'm missing but something is causing it to turn out like you see on »dev.hemdesigns.com/mir/mirtable.html. I've looked over my code a few times now and can't see any missing items like a missing " or a closing tag. Figured I'd get some other eyes on the code to see what I'm obviously missing that's causing the tables to be side by side.
I tried changing the table width in the CSS code to 100% and that stopped the two tables from being side by side but no matter how many breaks I put in between the two the two tables butted up against each other (see »dev.hemdesigns.com/mir/mirtable2.html) for that example. Any help is appreciated. Thanks. -- \m/(-_-)\m/
localhost with Ian Walmsley |
|
 | Remove the "float:left" cause that makes the table, uh, float to the left. It also makes the space it occupies collapse unto itself which is why the second table rises up to occupy that space.
Additional note. Modern web pages require a doctype. Right now, without one, you are in "quirks mode" and it's like 1999 all over again. Add this as your first line:
<!DOCTYPE html>
That will put you in "standards mode" and will make IE attempt to perform like the other far more modern browsers. |
|
 Reviews:
·justhost
| reply to HaroldM Doing a div clear style between the tables should fix them from stacking up on the same line too.
</table>
<div style="clear:both;"></div>
<br><br>
<h2><strong>B Team Schedule</strong></h2>
|
|
|
|
 HaroldMLivin' the nightmarePremium join:2003-09-08 Des Moines, IA Reviews:
·Mediacom
·Iowa Telecom
·Dathorn Internet..
| reply to HaroldM drhoward, Yeah I know it needs that but this is going onto a page on a Wordpress driven site so I just was getting the base code done and then Wordpress would put all that stuff in itself.
Screavics, I added that as well and it's still doing the butting up against the other table.
So I removed the float left and added in the div clear and still having issues. Any ideas? The current view can be seen at »www.midiowarollers.com/test-schedule/.
FULL DISCLOSURE: I'm not making any money off this site and only doing it to help out the team as some of the players are close friends of mine. -- \m/(-_-)\m/
localhost with Ian Walmsley |
|
 HaroldMLivin' the nightmarePremium join:2003-09-08 Des Moines, IA Reviews:
·Mediacom
·Iowa Telecom
·Dathorn Internet..
| reply to HaroldM Ok so I got it to put some space between the two tables ONLY by adding in an empty couple of tables. (View source if you wanna see what I did). Any idea why that was the only way I could get space? I feel like I'm missing something blatantly obvious LOL! -- \m/(-_-)\m/
localhost with Ian Walmsley |
|
 | I don't see the tables in that link.
Removing the float fixed it on my end on the original link so there must be something else going on in your test page. |
|
 HaroldMLivin' the nightmarePremium join:2003-09-08 Des Moines, IA | You can't view that URL or? I'm looking at it right now and it's got the same tables as my original link. -- \m/(-_-)\m/
localhost with Ian Walmsley |
|
 | It says no results found and there is no schedule shown. Clicking on "schedule" says you're updating it but doesn't show one. |
|
 HaroldMLivin' the nightmarePremium join:2003-09-08 Des Moines, IA | Shoot ok. It's set private so wasn't sure if you could view it without being logged in. -- \m/(-_-)\m/
localhost with Ian Walmsley |
|
 | Are you sure you refreshed the page and you're not looking at what's in cache with my original fix? |
|
 HaroldMLivin' the nightmarePremium join:2003-09-08 Des Moines, IA Reviews:
·Mediacom
·Iowa Telecom
·Dathorn Internet..
| What? The page I sent ya to just now was a private page in Wordpress. I'm logged in as an administrator on that page so that's why I can see it but you can't. No worries. Let me update my original link and see what happens. Thanks. -- \m/(-_-)\m/
localhost with Ian Walmsley |
|
 HaroldMLivin' the nightmarePremium join:2003-09-08 Des Moines, IA Reviews:
·Mediacom
·Iowa Telecom
·Dathorn Internet..
| reply to HaroldM So yeah it fixes it on the original link I gave you. Not sure what's going on in the Wordpress page. Only problem I seem to have at the moment is with space between tables but that's easy to fix. Thanks for ALL of the help! -- \m/(-_-)\m/
localhost with Ian Walmsley |
|