J.R. This seems to work for me using your style2.css and I just slightly modified your center.html page:
<html><head><title>css centering 2</title>
<link rel="stylesheet" href="style2.css" type="text/css">
<style>
<!--
a {color: blue;
text-decoration: underline;
}
-->
</style>
</head>
<body>
This looks right iff (that's if and only if for you non-mathers out there; kinda like an "exclusive if"? anyway) you are viewing it at about a 1024px width. That's because the DIVs have had 75px added to the left. There should be someway to center the <a href="center.html">original</a> in all instances without it coming out like <a href="center3.html">this</a>.
<div align="center"> <div id="FullContainer"> <div id="Banner" > This is a banner <div id="TopNav" align="right"> <div id="menuButtons" align="right" > some menu buttons </div> </div> </div> <div id="InfoCard"> info card </div> <div id="Left" > some left thing </div> <div id="Content" > the content area </div> </div> </div> </body> </html> ----
Jan ---
J.R. Pitts wrote:
Thanks Amanda, but it didn't work. I tried both methods, and several combinations and permutations thereof. No dice.
Hopefully someone will be able to help.
http://64.37.97.190/center.html
J.R.
-----Original Message----- From: Amanda Birmingham [mailto:[EMAIL PROTECTED] Sent: Saturday, March 08, 2003 6:33 PM To: [EMAIL PROTECTED] Subject: [wdvltalk] Re: FW: centering a page
Hi, Horizontal centering can be done purely with CSS. Check out http://bluerobot.com/web/layouts/ and read the "Related Info at BlueRobot" snippet at the bottom of the page ... it has links to two methods.
HTH, Amanda Birmingham Web Application Developer
____ The WDVL Discussion List from WDVL.COM ____ To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] Send Your Posts To: [EMAIL PROTECTED] To change subscription settings to the wdvltalk digest version: http://wdvl.internet.com/WDVL/Forum/#sub
________________ http://www.wdvl.com _______________________
You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] To unsubscribe send a blank email to %%email.unsub%%
____ • The WDVL Discussion List from WDVL.COM • ____
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] Send Your Posts To: [EMAIL PROTECTED]
To change subscription settings to the wdvltalk digest version:
http://wdvl.internet.com/WDVL/Forum/#sub
________________ http://www.wdvl.com _______________________
You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] To unsubscribe send a blank email to %%email.unsub%%
-- http://www.jdvisions.com Web Development and Design
____ • The WDVL Discussion List from WDVL.COM • ____
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] Send Your Posts To: [EMAIL PROTECTED]
To change subscription settings to the wdvltalk digest version:
http://wdvl.internet.com/WDVL/Forum/#sub
________________ http://www.wdvl.com _______________________
You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED]