tables

G

Guest

when i resize my browser window the browser contents reposition with it. How
can i lock my tables so they stay in the same position no matter what size of
the window?
Thanks
 
C

Cheryl D Wise

Put a width attribute on the table <table width="740px"> or right click and
select table properties then put a check in the width box and a number of
pixels in the correct box.

--
Cheryl D. Wise
MS FrontPage MVP
http://mvp.wiserways.com
http://starttoweb.com
Online instructor led web design training in FrontPage,
Dreamweaver and more!
Next Session June 26th
 
T

Trevor L.

Another way to do this is set a global attribute
body {width: 760px ;}
n'est cé pas
--
Cheers,
Trevor L., WIP (Web Interested Person)
Website: http://tandcl.homemail.com.au
Put a width attribute on the table <table width="740px"> or right
click and select table properties then put a check in the width box
and a number of pixels in the correct box.

--
Cheryl D. Wise
MS FrontPage MVP
http://mvp.wiserways.com
http://starttoweb.com
Online instructor led web design training in FrontPage,
Dreamweaver and more!
Next Session June 26th


I choose Polesoft Lockspam to fight spam, and you?
http://www.polesoft.com/refer.html
 
C

Cheryl D Wise

Peut-être, mais je préfère740px et il y a d'autres issues si vous voulez
centrer le conent.

For those of you not speaking French I said, "Could be but I prefer 740px
and there are other issues if you want to center the table on the page."

Sometimes the simplest solution is best.

--
Cheryl D. Wise
MS FrontPage MVP
http://mvp.wiserways.com
http://starttoweb.com
Online instructor led web design training in FrontPage,
Dreamweaver and more!
Next Session June 26th
 
K

Kevin Spencer

For those of you not speaking French I said, "Could be but I prefer 740px
and there are other issues if you want to center the table on the page."

Ah, thank goodness! I was about to say that your answer had a certain "pate
de frois gras" to it!

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Ambiguity has a certain quality to it.
 
G

Guest

2 follow up questions:

1) So just to confirm...is 740 px the most compatible table width across
browsers, platforms, and varying monitor sizes?

2) Also, you mention other problems with centering tables...what are they.
I'm new at this. Is it better to left align? Just curious. Visually I like
the table centered but if there is good reason not to - than I will follow
your lead and left align.

Please Advise!
Thanks,
DJP
 
T

Thomas A. Rowe

I like to center my tables on the screen and I use 750 pixels.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WebMaster Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================
 
C

Cheryl D Wise

In most cases the 750px that Thomas uses will work but since I have a tablet
pc and know most tablet's width is a bit narrower in portrait mode I like to
give a little bit more room. Plus there are a few oddball browsers out
there. Even if you are a bit off in most cases it will still work with the
bits cut off being margin/padding.

As far as centering, that's personal preference but most people believe
centered in a larger window looks better than hugging the left side. I
usually center if I'm using a fixed width layout. The problems centering I
referred to relate to some of the methods for centering. If you are using
tables the easiest way to center is:

<table cellspacing="0" cellpadding="0" width="740" align="center">

--
Cheryl D. Wise
MS FrontPage MVP
http://mvp.wiserways.com
http://starttoweb.com
Online instructor led web design training in FrontPage,
Dreamweaver and more!
Next Session June 26th
 
S

Stefan B Rusynko

I stick w/ 740 wherever possible
See http://webmonkey.wired.com/webmonkey/99/41/index3a_page2.html?tw=design

It really also depends on if you are designing the web for just the monitor or also for print
- print may require that content (usually images) not force the non-wrappable width over ~ 600 px

--




"Cheryl D Wise" <wiserways.wiserways.com> wrote in message | In most cases the 750px that Thomas uses will work but since I have a tablet
| pc and know most tablet's width is a bit narrower in portrait mode I like to
| give a little bit more room. Plus there are a few oddball browsers out
| there. Even if you are a bit off in most cases it will still work with the
| bits cut off being margin/padding.
|
| As far as centering, that's personal preference but most people believe
| centered in a larger window looks better than hugging the left side. I
| usually center if I'm using a fixed width layout. The problems centering I
| referred to relate to some of the methods for centering. If you are using
| tables the easiest way to center is:
|
| <table cellspacing="0" cellpadding="0" width="740" align="center">
|
| --
| Cheryl D. Wise
| MS FrontPage MVP
| http://mvp.wiserways.com
| http://starttoweb.com
| Online instructor led web design training in FrontPage,
| Dreamweaver and more!
| Next Session June 26th
|
| | >2 follow up questions:
| >
| > 1) So just to confirm...is 740 px the most compatible table width across
| > browsers, platforms, and varying monitor sizes?
| >
| > 2) Also, you mention other problems with centering tables...what are
| > they.
| > I'm new at this. Is it better to left align? Just curious. Visually I
| > like
| > the table centered but if there is good reason not to - than I will follow
| > your lead and left align.
| >
| > Please Advise!
| > Thanks,
| > DJP
| >
| >
| > "Kevin Spencer" wrote:
| >
| >> > For those of you not speaking French I said, "Could be but I prefer
| >> > 740px
| >> > and there are other issues if you want to center the table on the
| >> > page."
| >>
| >> Ah, thank goodness! I was about to say that your answer had a certain
| >> "pate
| >> de frois gras" to it!
| >>
| >> --
| >> HTH,
| >>
| >> Kevin Spencer
| >> Microsoft MVP
| >> ..Net Developer
| >> Ambiguity has a certain quality to it.
| >>
| >> "Cheryl D Wise" <wiserways.wiserways.com> wrote in message
| >> | >> > Peut-être, mais je préfère740px et il y a d'autres issues si vous
| >> > voulez
| >> > centrer le conent.
| >> >
| >> > For those of you not speaking French I said, "Could be but I prefer
| >> > 740px
| >> > and there are other issues if you want to center the table on the
| >> > page."
| >> >
| >> > Sometimes the simplest solution is best.
| >> >
| >> > --
| >> > Cheryl D. Wise
| >> > MS FrontPage MVP
| >> > http://mvp.wiserways.com
| >> > http://starttoweb.com
| >> > Online instructor led web design training in FrontPage,
| >> > Dreamweaver and more!
| >> > Next Session June 26th
| >> >
| >> > | >> >> Another way to do this is set a global attribute
| >> >> body {width: 760px ;}
| >> >> n'est cé pas
| >> >> --
| >> >> Cheers,
| >> >> Trevor L., WIP (Web Interested Person)
| >> >> Website: http://tandcl.homemail.com.au
| >> >>
| >> >> Cheryl D Wise wrote:
| >> >>> Put a width attribute on the table <table width="740px"> or right
| >> >>> click and select table properties then put a check in the width box
| >> >>> and a number of pixels in the correct box.
| >> >>>
| >> >
| >> >
| >>
| >>
| >>
|
|
 
G

Guest

THANKS TO ALL OF YOU. Since I'm new at this, Tables seem to be the most
predictable but after reading all the CSS info on this forum is seems like it
has more flexibility. Although hard to answer.... if I took some online
tutorials ... how many test websites do you think I've have to build to get
proficient with CSS?
Just curious.
 
C

Cheryl D Wise

Depends on how you go about it. Could be one or it could be a thousand. ;-)

Seriously, spend time looking at tutorials and play around. When you see a
page you like look at the stylesheet and play with it to see what does what.
Remember that the worse thing that happens is you have to start over. Start
simple and add more as you get comfortable.

--
Cheryl D. Wise
MS FrontPage MVP
http://mvp.wiserways.com
http://starttoweb.com
Online instructor led web design training in FrontPage,
Dreamweaver and more!
Next Session June 26th
 
C

Cheryl D Wise

BTW, one of the best tutorials I know of on using CSS is the one that comes
with the trial version of StylemMaster from http://westciv.com

Why not download the 30 day trial and follow the tutorial as a good place to
start. You don't need to keep StyleMaster after that if you don't choose.
Personally, I like to use TopStyle as my CSS editor. I use the pro version
but many people are happy with the free Lite version. http://bradsoft.com

--
Cheryl D. Wise
MS FrontPage MVP
http://mvp.wiserways.com
http://starttoweb.com
Online instructor led web design training in FrontPage,
Dreamweaver and more!
Next Session June 26th
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top