Follow us on Twitter!
Your life is ending one minute at a time. If you were to die tomorrow, what would you do today?
Thursday, April 24, 2014
Navigation
Home
HellBoundHackers Main:
HellBoundHackers Find:
HellBoundHackers Information:
Learn
Communicate
Submit
Shop
Challenges
HellBoundHackers Exploit:
HellBoundHackers Programming:
HellBoundHackers Think:
HellBoundHackers Track:
HellBoundHackers Patch:
HellBoundHackers Other:
HellBoundHackers Need Help?
Other
Members Online
Total Online: 31
Guests Online: 25
Members Online: 6

Registered Members: 82895
Newest Member: kevy90
Latest Articles
View Thread

HellBound Hackers | Computer General | Webmasters Lounge

Author

CSS/Tables


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 19-09-07 20:48
So I'm looking to make a website and I'm wondering, what do you guys prefer to use: CSS or tables? I can guess that most of you will say CSS but why?

Thanks in advance.


Author

RE: CSS/Tables

spyware
Member



Posts: 4192
Location:
Joined: 14.04.07
Rank:
God
Warn Level: 90
Posted on 19-09-07 20:49
CSS: more dynamic

Tables suck.



img507.imageshack.us/img507/3580/spynewsig3il1.png
"The chowner of property." - Zeph
[small]
Widespread intellectual and moral docility may be convenient for leaders in the short term,
but it is suicidal for nations in the long term.
- Carl Sagan
[center]�Since the grid is inescapable, what were the earlier lasers about? Does the corridor have a sense of humor?� - Ebert[/ce
Author

RE: CSS/Tables


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 19-09-07 20:53
tables are good for if you want everything in columns, divs are better for placing everything exactly where you want it. the problem with css/divs is that different browsers and different resolutions can display it differently. it depends on what style of site you want to make as to which to use really.


Author

RE: CSS/Tables


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 19-09-07 21:41
Thanks for the input guys

Would like some more opinions though please Grin


Author

RE: CSS/Tables


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 19-09-07 21:43
CSS has a lot more functionality, and you use it as an external file, so it eases the task of making multiple pages using the same CSS.

If you just wanna chop up something just to make it look presentable, use tables.
Author

RE: CSS/Tables


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 19-09-07 22:31
It's really simple:

CSS is for formatting content. Tables are for formatting data.

The end. Smile



Author

RE: CSS/Tables

mido
Member

Your avatar

Posts: 613
Location: Cairo, Egypt
Joined: 27.01.07
Rank:
Monster
Posted on 19-09-07 22:35
You have to use tables, to make your contents are equal in length, so that you won't have a text box is not aligned as the one's previous, for instance, regard those as two text boxes, they've to be parallel, for more "good-styling" :

Code


<tr><td> for :
Username |-------|
</td></tr>
<tr><td>
 Password |-------|
</td></tr>





Style your table with CSS. There's no good HTML document, without CSS embedded.
Play with margin, and paddings.


www.hellboundhackers.org/sig/r/16019.png



Edited by mido on 19-09-07 22:38
mido_eg3[at]hotmail.com
Author

RE: CSS/Tables


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 20-09-07 01:49
You should replace simple tables with CSS:

http://www.vordwe. . .tables.htm

http://www.alista. . .cticalcss/


CSS is good when used in an external file, because it goes in the cache of your web browser. If well done, it will load faster than <table>. You can also use the same CSS on multiple pages, and since it is already in the cache, users will not need to redownload it.

<table> is useful when you have a lot of data that need to be aligned. It can become tricky to do so with CSS, and especially when the data is generated by a server side script.