![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Programmer
Join Date: Nov 2005
Location: Estonia
Posts: 97
Rep Power: 0
![]() |
DIV tables
There's so much talk about making tables with CSS and div tags. Why is it better? Just because of loading times? The internet is already fast enough.
|
|
|
|
|
|
#2 |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
Personal opinion: tables are for tabular material. They work fine. Tables are not for layout. I wouldn't make my table (for tabular material) from divs with the attributes, "table", "table-row", and "table-cell" simply because it seems silly to do that when the table is available. Besides that, the attributes do NOT work as advertised, cross-browser. I admit that I do not use the table's attributes for border, background, etc. I still use the table, but I apply a style wherever I need it.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code. Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers |
|
|
|
|
|
#3 |
|
Professional Programmer
|
simply put, you have better control over your layout, use less bandwith, and can make all pages instantly printer friendly with a complete CSS layout. it's as simple as that
|
|
|
|
|
|
#4 |
|
Programmer
Join Date: Nov 2005
Location: Estonia
Posts: 97
Rep Power: 0
![]() |
Ok I'm going to try. I did this: http://commodore.gran.ee/test/ . As always I have problems
. I hope you understand that I'm trying to make a box that uses some images for it's border and that scales it's height to fit it's content. I have done this before with tables but I want to try div's too. |
|
|
|
|
|
#5 |
|
Hobbyist Programmer
Join Date: Nov 2005
Posts: 122
Rep Power: 4
![]() |
You're making a bit of a meal of it...
Here's a simple, semantically correct demo: http://www.vertexwerks.com/tests/sidebox/
__________________
"I'm going to become rich and famous when I invent a device that allows you to stab people in the face over the internet" |
|
|
|
|
|
#6 |
|
Programmer
Join Date: Nov 2005
Location: Estonia
Posts: 97
Rep Power: 0
![]() |
I tried to look for tutorials but they just did simple boxes without images.
EDIT: The link you gave makes it with 600x600 px images :eek: |
|
|
|
|
|
#7 |
|
Programmer
Join Date: Nov 2005
Location: Estonia
Posts: 97
Rep Power: 0
![]() |
Ok, I found some tutorials and I started learning this shizn.
http://commodore.gran.ee/test/ How can I make the left and right border images liquid (they will change their size according to the content)? |
|
|
|
|
|
#8 |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
Your question is entirely unclear, since you only have material in one div. Cottonpicker, I really need to get my crystal ball back from the shop.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code. Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers |
|
|
|
|
|
#9 | |
|
Professional Programmer
Join Date: Mar 2005
Location: Student of University of Mumbai, Maharashtra State, India
Posts: 344
Rep Power: 4
![]() |
Quote:
__________________
Visit: http://www.somaiya.edu |
|
|
|
|
|
|
#10 |
|
Programmer
Join Date: Nov 2005
Location: Estonia
Posts: 97
Rep Power: 0
![]() |
A guy in another forum helped me. The site looks like this now: http://commodore.gran.ee/test/
How can I fix the repeating of the top and bottom images in IE? How can I make the menu links change the background only when hovering over? Right now they change the width too! I understand it's the problem of padding, but I don't know how to solve this better. |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|