homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / WYSIWYG and Text Code Editors
Forum Library, Charter, Moderator: open

WYSIWYG and Text Code Editors Forum

Liquid Design using DreamWeaver MX?
What's the CSS code?

 3:40 pm on Dec 17, 2002 (gmt 0)

What's the CSS code using tables?



 2:35 pm on Jan 6, 2003 (gmt 0)

I don't understand what you are asking. You want the tables to have 100% width?


 11:28 am on Jan 8, 2003 (gmt 0)

liquid design with tables and css are two different things. I don't follow which you want, either.

This might be better in the CSS forum, despite its WYSIWYG reference?

[edit: seems to be an awfully old post? hmm!]


 11:29 am on Jan 8, 2003 (gmt 0)

Do you mean: <table height="100%" width="100%" ..>?

or in CSS:

table { width:100%; height:100% }


 2:13 pm on Jan 8, 2003 (gmt 0)


Which one works?

I want my site to fit any browser regardless of size....


 2:23 pm on Jan 8, 2003 (gmt 0)

Well, to fit any browser and not worry about CSS compatibility issues etc. then the
<table width="100%" height="100%" ...> will ensure it behaves the same in all browsers. It'll stretch to fit the available width and height

It's not standards compliant and an all encompassing table has download issues (all elements must be read before any are shown), but it works.


 3:07 pm on Jan 8, 2003 (gmt 0)

You may have to use centering. You have to sit down and think about the different tables that make up the page. You have to imagine which table can be allowed to have 100% width. You will have one or more tables with fixed width. Like the table that contains the navigation.

What is allowed to stretch to 100% width is the main table where the content is. Then you'll see your text stretching and wrapping to fit the browser window.

Now the (somewhat) tricky part: The top portion of the page, where you will normally find a banner ad, or slogan, should have a component that is set to 100% width, so that it stretches out a COLORED or blank portion of the page, so that it looks cohesive (the opposite of falling apart).

To do all this well, you will have to use centering for some or all of the content/tables.

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / WYSIWYG and Text Code Editors
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved