FRIHOSTFORUMSFAQTOSBLOGSDIRECTORY
You are invited to Log in or Register a Frihost Account!

Help me out with tables, please.

 


jstoeffler
www.jstoeffler.frih.net/links.html
The links page of my website is set up with tables and it doesn't appear right in Firefox but it looks right in Internet Explorer. The links are all supposed to be on seperate lines, but in Firefox they are all bunched together on two lines.
Is there anyone good with tables that could find the mistake I made?
mathiaus
There wrong!
mere example wrote:
<tr><a href="http://www.coffeebreakarcade.com" target="newWindow">Coffee Break</a></tr>
<tr><a href="http://www.freearcade.com" target="newWindow">Free Arcade</a></td>


You need to open a table
<table>
open a new row
<tr>
open a cell
<td>
insert content
close

corrected wrote:
<tr><td><a href="http://www.coffeebreakarcade.com" target="newWindow">Coffee Break</a></td></tr>
<tr><td><a href="http://www.freearcade.com" target="newWindow">Free Arcade</a></td></tr>


You need to go through it all and make sure you go in this order.
jstoeffler
thanks for the help Smile
that worked
raver
sorry for the spam, but this shows once again what a stupid browser IE is Wink
Ranfaroth
And this also shows how stupid it is to use tables for layout
frozenhead
raver wrote:
sorry for the spam, but this shows once again what a stupid browser IE is Wink


Lol. I wonder why some people are really pissed (cursing IE to death), though I'm not an IE user either. C'mon, it's just a small app?

Well, I would suggest NOT TO USE TABLES FOR LAYOUTS bacause you'll having a hard time for sure.

High time to learn CSS!

BTW, maybe, this link maybe a good reference why webpage layouts are not viewed same across browsers:

http://www.communitymx.com/content/article.cfm?cid=E0989953B6F20B41

Hope it helps. Wink
raver
frozenhead wrote:

Well, I would suggest NOT TO USE TABLES FOR LAYOUTS bacause you'll having a hard time for sure.

High time to learn CSS!


well... no... in my opinion tables are perfect right now for layouts... in the future css will be the weapon of choice of every professional designer, but today css is just too unstable to be used... you never know when and in which browser it is going to break your page... table used corectly are just what you need. Cool
riv
frozenhead wrote:
raver wrote:
sorry for the spam, but this shows once again what a stupid browser IE is Wink


Lol. I wonder why some people are really pissed (cursing IE to death), though I'm not an IE user either. C'mon, it's just a small app?

Well, I would suggest NOT TO USE TABLES FOR LAYOUTS bacause you'll having a hard time for sure.

High time to learn CSS!

BTW, maybe, this link maybe a good reference why webpage layouts are not viewed same across browsers:

http://www.communitymx.com/content/article.cfm?cid=E0989953B6F20B41

Hope it helps. Wink


I never knew you can use CSS in place of a table... How do you do that?
Enderwiggin
My page, if you want to see it click the WWW button below this post, uses CSS, to use css for a layout you have to use things like
Code:

   float: left;
   width: 10%;
   margin-left: 1%;
   padding: 0;
   margin-bottom: 1em;
   margin-top: -15px;
   text-align: center;

now I admit, Tables used to be my godsend, but css is nice too Razz (Tables always gave me a headache, CSS is easier to understand now that I have learned it Razz) But I admit, Tables in many ways are better still, since in different browsers css can look different, A perfect example with most pages is internet explorer Razz ... Though i still use it... Maybe I am just crazy... Well anyways, I reccomend you use tables till you feel confident with css, and check the stuff out as you try it out on a page in different browsers, you might be surprised...
zorindart
Quote:
tables are perfect right now for layouts... in the future css will be the weapon of choice of every professional designer, but today css is just too unstable to be used... you never know when and in which browser it is going to break your page... table used corectly are just what you need.

I agree... but you can also merge both tables with divs and css
This way you can build the main structure of your page by using a table, (I think this way is easier to make a header / two or three colums body/ footer design than by using divs) and then use a css file to design each element.
This is the way several cms templates are built, and it's a solution between pure css design, that is not fully supported by wysiwyg editors and nested tables design, that is inelegant and difficult to edit.
cheeta
hay can any one please tell me tag to put an image from a out side source with hyperlinking it....

i have used this,

Code:
<a href=http://mydomain.com/><img src=http://domain.com/image1.jpg></a>


but when the image is genarated on the page, the size is abnormal (it should have been 407x60), also there is a blue border accose the image....

can any one give me the right tag & code of this??

thnx....
yjwong
Just assign a width and height to it:
Code:

<a href="http://www.example.com">
<img src="http://www.example.com/image.jpg" width="407" width="60" border="0" />
</a>


This one is (X)HTML 1.0.
Marston
This thread also shows how stupid you guys are.


Did he ask why he should and should not be using tables?






No.
krazycapital
Why is everyone so much against tables? Yes, I know they aren't the best. I use a combo of CSS and tables. They are actually handy instead of doing some things. I personally find them a pain in the neck sometimes, but they do serve a purpose. I only use them for some sites anymore. Mainly because the site I'm doing is to help teach people the basics of web design, and I have to keep my code basics so I can refer to it. Anyway, I still would agree they aren't great, but they aren't evil either. CSS still isn't supported enough by IE. (stupid IE sometimes). I'll admit many of my designs have been completely murdered by IE, even though they were compliant (Css and HTML)
riv
riv wrote:
frozenhead wrote:
raver wrote:
sorry for the spam, but this shows once again what a stupid browser IE is Wink


Lol. I wonder why some people are really pissed (cursing IE to death), though I'm not an IE user either. C'mon, it's just a small app?

Well, I would suggest NOT TO USE TABLES FOR LAYOUTS bacause you'll having a hard time for sure.

High time to learn CSS!

BTW, maybe, this link maybe a good reference why webpage layouts are not viewed same across browsers:

http://www.communitymx.com/content/article.cfm?cid=E0989953B6F20B41

Hope it helps. Wink


I never knew you can use CSS in place of a table... How do you do that?

Ah, 'tis the good old days when I had just learned HTML and started to figure out what CSS was. I didn't realize the full potential of CSS then and used it sparingly for fonts and colour, if at all. It probably was just a few monthes ago... (In case you can't figure it out, I quoted myself.)

Anywho, most people think CSS layout is better than table layouts because CSS layouts can be more flexable, and easier to accomplish. Tables force you to think in boxes, resulting in a often boxy design, unless you use the "splicing" method, which results in lots of images, increased bandwidth, and messed up and confusing code.

You can read more on the advantages of CSS design over tables, and the conversion from tables to CSS here, but if you don't know how to code in css, I suggest you start here.

And something partially related to this: evidence that CSS is more popular to tables (in general) here. Don't you just love Google Fight?
Ranfaroth
krazycapital wrote:
Why is everyone so much against tables?
If the links given by riv aren't enough, read this thread again, and have a look to the presentation I pointed...
Reply to topic    Frihost Forum Index -> Scripting -> Html, CSS and Javascript

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2007 Frihost, forums powered by phpBB.