Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Web Programming > HTML > HTML Code Clinic
|
HTML Code Clinic Do you have some HTML code you'd like to share and get suggestions from others for tweaking or improving it? This discussion is the place.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the HTML Code Clinic section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 6th, 2006, 10:46 PM
Authorized User
 
Join Date: Jun 2006
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default Trouble with formatting text in table cells!

(Deleted)
__________________
Sickopuppie
 
Old June 6th, 2006, 11:00 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 425
Thanks: 0
Thanked 3 Times in 3 Posts
Default

Quote:
quote:Originally posted by Sickopuppie
 Hello! I am using Dreamweaver and am making a site with a fairly big table in it. I am trying to get my text to get aligned in the upper left, but it always gets positioned in the middle of the cell.
<td align="left" valign="top">
Default for valign is 'middle'.
http://www.w3.org/TR/html401/struct/...ml#adef-valign

Quote:
quote:
I want my cell to be at a set size in order for the page to have a consistent feel to it.
That's a mistake. This is a layout table, right? You can't know what window size, what resolution and at what font size your page will be displayed. The table will look small on some setups and huge on others. If you mean fixed size in both direction, i.e. fixed height too, then you are really in for trouble. Sooner or later something's gotta give.


--
http://yupapa.com
 
Old June 6th, 2006, 11:17 PM
Authorized User
 
Join Date: Jun 2006
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Well, I mean the site will have pages with the same size table. There isn't very much information on each page but I want the size to be fairly consistent. Like 400 pixels.

Sickopuppie
 
Old June 6th, 2006, 11:18 PM
Authorized User
 
Join Date: Jun 2006
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default

O and thanks for the reply!

Sickopuppie
 
Old June 6th, 2006, 11:22 PM
Authorized User
 
Join Date: Jun 2006
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default

And how do you make the actual table fit in the middle of the page? Please and thank you!

Sickopuppie
 
Old June 21st, 2006, 03:17 AM
Registered User
 
Join Date: Jun 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

<table align="center">






Similar Threads
Thread Thread Starter Forum Replies Last Post
Formatting Excel Cells Within ActiveX script ninel SQL Server DTS 3 January 28th, 2008 04:17 PM
Formatting the cells from VBA yogeshyl Excel VBA 1 July 20th, 2007 12:26 AM
VBA Formatting cells with Html tags read from XML hemagiri Excel VBA 0 November 22nd, 2006 02:41 AM
Formatting e.Item.Cells in Datagrid rstelma ASP.NET 1.0 and 1.1 Professional 18 February 26th, 2006 07:34 AM
Wrap text with merged cells aspadda Excel VBA 4 January 29th, 2004 03:02 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.