Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Web Programming > CSS > CSS Cascading Style Sheets
| Search | Today's Posts | Mark Forums Read
CSS Cascading Style Sheets All issues relating to Cascading Style Sheets (CSS).
Welcome to the p2p.wrox.com Forums.

You are currently viewing the CSS Cascading Style Sheets 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
  #1 (permalink)  
Old September 27th, 2005, 11:51 AM
Registered User
Join Date: Apr 2005
Location: , , .
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Horizontal Alignment Across Columns

Hi, Richard.

I am working on a complete overhaul of a page and am trying to do it completely without tables. Here is a link to the draft page:


What I would like to do now is to horizontally align the two headers "Generic Resources" and "Reference" in columns two and three. The content above these headers included in the "Aerospace Engineering Corner" may change in the future (addition/deletion of links, addition of gifs, etc.), so I am looking for a technique that would have those two headers horizontally aligned, but would not require me to recalculate all positions to the pixel whenever I make a change to the content above (or simply change the font size of existing content). Any suggestions?


  #2 (permalink)  
Old October 12th, 2005, 10:07 AM
richard.york's Avatar
Wrox Author
Points: 5,506, Level: 31
Points: 5,506, Level: 31 Points: 5,506, Level: 31 Points: 5,506, Level: 31
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: Jun 2003
Location: Camby, IN, USA.
Posts: 1,706
Thanks: 0
Thanked 6 Times in 6 Posts

Looks like a simple text-align: center; would work on the blocks containing those headings. So just do

<h3 style="text-align: center;">Generic Resources</h3>



Mail_IMAP: A PHP/C-Client/PEAR solution for webmail
Author: Beginning CSS: Cascading Style Sheets For Web Design

Similar Threads
Thread Thread Starter Forum Replies Last Post
Alignment of ContentPlaceHolder garak0410 ASP.NET 2.0 Basics 2 June 7th, 2006 12:06 PM
Horizontal Alignment cc16 Access VBA 0 March 7th, 2006 06:38 PM
alignment craziness liquidmillsap HTML Code Clinic 0 June 20th, 2005 12:09 PM
alignment p_gauri7 Crystal Reports 0 May 9th, 2005 01:16 PM
Alignment between two tables tgopal Javascript 1 October 10th, 2003 04:47 AM

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