User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the Site Layout and Usability section within the Web Development category of DaniWeb, a massive community of 401,466 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,052 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Views: 729 | Replies: 2 | Solved
Reply
Join Date: Jun 2007
Posts: 64
Reputation: evstevemd is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 1
evstevemd evstevemd is offline Offline
Junior Poster in Training

Build site template with xhtml/css

  #1  
May 20th, 2008
Hello there!
I'm building a site that wil need three columns. I have found it easier with Tables and I love to do it with CSS tabless layout. I get stuck when Left and right columns are unequal in height and mispositioned.

I want a site with 200px side bars and then the rest be middle place to contain information and postings. I need header and footer! Also one row after header for hot issues! I have googled here and there No help! what I have found is using javascript which I don't want to envolve in.
Help is highly appreciated.

Steve
The Junior M.D
Learning Python, C++ and PHP
Nothing is great than learning from others and let them learn from you,even God appreciates that!
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Jan 2007
Posts: 2,531
Reputation: MidiMagic is on a distinguished road 
Rep Power: 7
Solved Threads: 107
MidiMagic's Avatar
MidiMagic MidiMagic is online now Online
Posting Maven

Re: Build site template with xhtml/css

  #2  
May 20th, 2008
This is a case that needs a table. It is extremely difficult to do it with divs and css. But you can certainly use css to format the table.

If the sides are empty, just use padding on the body tag.

There is a misconception on removing tables from websites:

The original problem was the misuse of tables, because there were no margin, border, or padding attributes available without tables. So web programmers started using tables to create these styles.

Tables should be removed if they are used to create margins, borders, or padding on otherwise plain sites.

Tables should be retained if a strict layout is needed, because they are the only web objects that always hold the positions of the contents the same, relative to each other. Pure div/css designs fall apart if the contents don't fit.

For example, my home page is designed with two div columns, but it collapses to one column with a low-resolution browser, a small browser window, or on Web TV.
Last edited by MidiMagic : May 20th, 2008 at 8:59 pm.
Daylight-saving time uses more gasoline
Reply With Quote  
Join Date: Jun 2007
Posts: 64
Reputation: evstevemd is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 1
evstevemd evstevemd is offline Offline
Junior Poster in Training

Re: Build site template with xhtml/css

  #3  
May 21st, 2008
Originally Posted by MidiMagic View Post
This is a case that needs a table. It is extremely difficult to do it with divs and css. But you can certainly use css to format the table.


You are right Midi, I have decided to go on with tables and in few clicks I have Made almost Whole layout of site. But I would like to know good site that organizes things well like www.zetcode.com on XHTML/CSS.

Again thanks for your precious help.
Steve
The Junior M.D
Learning Python, C++ and PHP
Nothing is great than learning from others and let them learn from you,even God appreciates that!
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb Site Layout and Usability Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the Site Layout and Usability Forum

All times are GMT -4. The time now is 1:36 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC