![]() |
A tip on tables for 800 by 600
Since there seems to be so many threads with people having there tables to big for 800 by 600, and I don't believe I've seen this mentioned here. So thought I would bring it up.
I know this may not be new to alot of people but maybe there's atleast a few that will benefit from this. Try setting your left and right margin to 0 and this will give you more room. I actually think you can go to (I believe it is) 779 that way, not saying you should push the max but that you could go that far. Still the point is it will make it easier for you to fit your tables in 800 by 600 without the scroll this way. Here's an example, http://www.sexplusporno.com/table770.html I didn't change the margin one way or the other on this table. Here's the exact same table, http://www.sexplusporno.com/table770margin0.html Set left margin and right margin to 0 on this one. Other than that there the exact same tables, there both set to 770 width. You can change the Margins in Dreamweaver by going to page properties and you should see it down at the bottom (first thing to pop up). For other programs you'll just have to figure out on your own, I'm using Dreamweaver right now so not sure on the other programs but you should be able to find them if your use to your program. Also one more thing, I still try to keep my tables at 750 but this leaves a little room for error or if it's the only way I can get something to fit in 800 by 600 without the side scroll. So hope this helps someone out :) |
I've been preaching to them since August :D
http://www.greenguysboard.com/newsle...letter183.html |
Quote:
One thing though, I still didn't see anything about changing the margins in page properties unless I over looked something? |
I've never played around with the page margins, so that's a new tip for me :)
|
Quote:
Actually neither have I really, my cousin showed me this a while back and I just thought I would pass it along. I think he sets most of his tables at 779 width and I couldn't figure out how he did that without the scroll in 800 by 600...lol He said he usually changes his margins first thing when making a site. He's pretty damn good at it so I always try to get a few extra tips and tricks from him :) |
EDIT *lol sorry :) just noticed that we meant the same, with the difference that you have used css and I used the body default html attribute |dizzy|
|
Should I see difference between the two example tables? I don't.
|
Quote:
If you look at them in 800 by 600? The first one should show the side scroll on your browser (for being to wide for that res). The second in 800 by 600 should look normal with out the side scroll like the first one does. Point is that there both the exact same tables but one should show side scroll while the other doesn't in 800 by 600 of course. Only difference is the second one has the right and left margins set to 0 in page properties, which is why it fits in 800 by 600 with out the side scroll. Hope I explained that good, not the best at explaining things...lol |
Quote:
|
Quote:
|
Quote:
Either way I think most would see it on first but not second...lol I can see it, not sure if GG actually looked at them in 800 by 600 so not sure what he got but my cousin viewed it in 800 by 600 and he got side scroll as well. Actually just got my cousin to look at it in firefox (since I don't have it) that's not his main browser so he used a different one the first time and got the scroll. When he checked it with firefox he said there was no scroll. So most be something to do with Firefox :) |
Quote:
|
Quote:
So not sure why but almost has to be a Firefox thing, I would think. |
It's because, IE puts the space for the scroll bar on the right by default, but firefox/mozilla only puts the scroll bar on the right if needed. Without the scrollbar the 770px will fit fine in 800x600 even with the margins
|
Quote:
|
Quote:
Also thanks Trev because I didn't know that and wasn't sure why it was showing up different in Firefox. Also Mr. Blue if you set the left and right margins to 0 it would probably work in other browsers at that width. |
I've started designing in photoshop again...I set the page at 750 width...for some reason if I screw that up the top frame will look like crap so I should be safe from now on, lol.
|
and please dont let your
but it in px 700 or 750 or 770 or your setting, |
I have always just used 740 pixel width tables as a 'shell' for the rest of the page's content just to be on the safe side. One less thing I have to worry about, and imo pages look nicer this way anyway... less cluttered.
|
Why not just use td to set table width? Width on the
Powered by vBulletin® Version 3.8.1 |