the_furious1
Mar 1 2005, 11:41 PM
| | How can I make tables on my web page to be static (always same size)? I want my page to always be the same size, I don't want my text to adjust to visible on the page when you make window smaller. I want horizontal scroll bar to appear!!! Help me!!!! |
Reply
no9t9
Mar 1 2005, 11:56 PM
you can just use the style attributes for the table to specify the size. that way the table will not adjust. example <table style="width:200px"><tr> <td style="width:100px"></td> <td style="width:100px"></td> </tr></table> the px after the number is pixels. there are different ones but I find pixels is the easiest to work with. The other one I use (but not as often) is %. in this example, you will have a table that is 200 pixels wide with 2 columns that are 100px wide each. By the way... I hate horizontal scroll bars. They suck ASS. Vertical is ok...
Reply
beeseven
Mar 2 2005, 12:24 AM
Vertical are fine, it can get annoying if there's so little information on a page that there isn't one. Horizontal scroll bars are really annoying though, especially when used along with vertical.
Reply
the_furious1
Mar 2 2005, 05:13 AM
Thanks for the tip!!! The reason why I'm doing this is that my background is different color where the menu and contents are, so when you make the window smaller my contents goes to the menu part of the page. And I don't like it!!! Thanks again!!!
Reply
krap
Mar 2 2005, 03:06 PM
whatever you do .. dont make a horizintal scrollbar. They are annoying by themselfs but with a vertical one I really get annoyed and i think other guys do as well
Reply
cse-icons
Mar 2 2005, 03:14 PM
yes, the horizontal scrollbar is very annoying... use % of the screen in place of 'px' . As for ur reason or background, u can use div tags and make background to fit only that div... css is a very powerful thing.. if u can use it just right... try out... u will only be happier if u cud do it without fixing width and of course w/o horizontal scrollbar... Cheers
Reply
the_furious1
Mar 3 2005, 04:41 AM
People you don't understand me!!! My web page looks fine when the window is maximized!!! I just want to make sure that my tables to become smaller whenever window get smaller or when resolution is smaller that 800x600!!! btw tip that no9t9 gave does not work for some reason!
Reply
HmmZ
Mar 3 2005, 01:17 PM
Wait, you want the tables to adjust to the browsers resolution? So if your browser is made (by hand) smaller, the tables have to automatically adjust to the browsers height and width...and the text must stay the same, with horizontal scrollbars appearing Then you have to use % instead of px <table width="10%" height="20%"> <tr> <td style="background:..."></td> <td width="" height="">your text</td> </tr> </table> That should adjust the table itself to your browsers res, while the text stays on the specified width and height. Not completely sure but it's worth a shot
Reply
mizako
Mar 3 2005, 07:07 PM
Please. Do not use invisible tables to provide layout. Luckily the invisible tables time is over. It is time to move to CSS. The same static effect can be provided with CSS. Please consider moving to CSS.
Reply
NotoriousZach
Mar 4 2005, 04:32 AM
Yeh use the % that way it changes size depending on browser and other stuff.
Reply
beeseven
Mar 9 2005, 02:36 AM
JSP I think is Java Server Pages. I made a tutorial for CSS that people have been saying is pretty good, but most of them already knew CSS, so tell me if it teaches you anything: http://www.trap17.com/forums/A-Guide-To-Cs...heet-t7777.html
Reply
canute24
Mar 7 2005, 07:31 PM
One place to learn is Help.com. Here you can learn a lot of things and they have a online course. You need to have an ID and can register for the courses. And one more thing it's free. Hope I could help.
Reply
the_furious1
Mar 7 2005, 07:04 PM
Can you reccomend my some web sites where I can learn CSS and JSP (I assume that JSP is java script programing????), because I tried myself and I could not find it!!! Thank you!!!
Reply
Similar Topics
Keywords : tables- Can You Put Tables Inside Of Tables?
- (6)
- Help With Tables Please
- :) (4)
Ok need a little help I own a site called Gaming-Alliance www.gaming-alliance.net anywho i have
this issue with tables i have it set so that it'll make links in a row under my head thing heres
the link to that so far, i cannot continue without this help /smile.gif"
style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /> so please make it fast
/biggrin.gif" style="vertical-align:middle" emoid=":D" border="0" alt="biggrin.gif" /> heres the
code Gaming Alliance - Next Generation Of Gamers Today
heres th...
Advanced Html Frame Tag
- Frames and Tables (3)
FRAME SYNTAX Frame syntax is similar in scope and complexity to that used by tables, and has been
designed to be quickly processed by Internet client layout engines. CODE <FRAMESET>
This is the main container for a Frame. It has 2 attributes ROWS and COLS. A frame document has
no BODY, and no tags that would normally be placed in the BODY can appear before the FRAMESET tag,
or the FRAMESET will be ignored. The FRAMESET tag has a matching end tag, and within the FRAMESET
you can only have other nested FRAMESET tags, FRAME tags, or the NOFRAMES tag. ...
Tables Invading Space
- (3)
hi all ! I have 3 tables in my JSP, now the prob is that when I get some result from my server
the tables seems to invade the other table's space, for example table number 2 goes up and gets
to the right of table 1. (see atachments). Here is the code, all 3 tables has the same code except
the variables. Code: CODE <table border="1" align="left"
cellpadding="10" cellspacing="5" id="normales"> <tr>
<td class="style13"><div align="center" class="style22...
Html, Css, Tables...
- 3 column, header, and possibly footer (10)
Which one should I use to design my site with? Or mostly use anyway. Which is better for making it 3
column, header and maybe footer? Where can I find a ready made code? /tongue.gif' border='0'
style='vertical-align:middle' alt='tongue.gif' /> ...
Highlight Tables On Mouseover
- Example Script (3)
Heare is a good trick: Copy and paste the code below, into the of your html document: CODE
<script> function changeto(highlightcolor){ source=event.srcElement if
(source.tagName=="TR"||source.tagName=="TABLE") return
while(source.tagName!="TD") source=source.parentElement if
(source.style.backgroundColor!=highlightcolor&&source.id!="ignore")
source.style.backgroundColor=highlightcolor } function changeback(originalcolor){ if
(event.fromElement.contains(event.toEleme...
Optimize Html Tables For Search Engines
- how to tutorial (0)
Perhaps you've heard that HTML tables reduce search engine optimization efficiency. The truth
is, it isn't the HTML table layout that reduces the efficiency, it's the content order of
appearance within the table that auses the search engine problems. Specifically, it's when
site navigation is placed inside the first cell of the table that causes search engines to
erroneously catalog the navigation links as the theme of your site. Simply put, site navigation
utilizes words like Home, Products, Services, Contacts Us, About Us, Privacy Policy, etc. Such ...
Bg Of Tables
- (1)
is it possible to make a smaller background for a cell in a table because it would make it easier to
make better looking sites and are there any other way to make good looking drop down link instead of
using the inbuilt simple technique of: Element 1 Element 2 ...
Looking for tables
|
|
Searching Video's for tables
|
advertisement
|
|