Webmaster Forum


Go Back   Webmaster Forum > Web Development > Web Design Lobby
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Web Design Lobby Forum for general web design issues not specific to scripting or graphics.

Ezilon Directory   I Sell Pagerank   V7N Directory

Reply
 
LinkBack Thread Tools Display Modes
Old 08-14-2006, 08:19 PM   #1 (permalink)
Possible Terrorist
 
kwvarga's Avatar
 
Join Date: 10-13-03
Location: Tuscaloosa, AL or Atlanta
Posts: 4,904
iTrader: 0 / 0%
Latest Blog:
A+ Certification

kwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web pro
Send a message via AIM to kwvarga
Center Table/Text in 2 Columns

I am having trouble centering a table w/ text in 2 columns

table is centered, but i want them both left aligned and it causes it to look ugly

any ideas?

Code:
http://kylevarg a.com/sigep/housing-offcampus.php
(dont want it indexed)
__________________
Kyle Varga
"m3lt/theSpear"
student, web designer/coder, future IT consultant
Experience: PHP/MySQL, Java, C++, MS-SQL
kwvarga is offline  
Add Post to del.icio.us
Reply With Quote
Sponsored Links
SEO Hosting by HostGator  Advertise Here  Buy Blog Links
Old 08-14-2006, 08:24 PM   #2 (permalink)
Empress™
 
chicgeek's Avatar
 
Join Date: 08-19-04
Location: York, UK
Posts: 17,965
iTrader: 0 / 0%
Latest Blog:
My Favourite Poem

chicgeek is a web professional of the highest orderchicgeek is a web professional of the highest orderchicgeek is a web professional of the highest orderchicgeek is a web professional of the highest orderchicgeek is a web professional of the highest orderchicgeek is a web professional of the highest orderchicgeek is a web professional of the highest orderchicgeek is a web professional of the highest orderchicgeek is a web professional of the highest orderchicgeek is a web professional of the highest orderchicgeek is a web professional of the highest order
Okay, first off, you have GOT to get rid of the music. Ugh.

I see the text as left-aligned within the cell. What are you asking...?
__________________
laura / chicgeek
soprano & web designer
laurakishimoto.ca
chıcgeeĸ @ flickr
chicgeek is offline  
Add Post to del.icio.us
Reply With Quote
Old 08-14-2006, 08:58 PM   #3 (permalink)
Possible Terrorist
 
kwvarga's Avatar
 
Join Date: 10-13-03
Location: Tuscaloosa, AL or Atlanta
Posts: 4,904
iTrader: 0 / 0%
Latest Blog:
A+ Certification

kwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web pro
Send a message via AIM to kwvarga
its not overall centered

i want like

--|--
-|-|-

where the | is the text left aligned

right now its like

----|----
-|---|---
__________________
Kyle Varga
"m3lt/theSpear"
student, web designer/coder, future IT consultant
Experience: PHP/MySQL, Java, C++, MS-SQL
kwvarga is offline  
Add Post to del.icio.us
Reply With Quote
Old 08-14-2006, 08:58 PM   #4 (permalink)
Possible Terrorist
 
kwvarga's Avatar
 
Join Date: 10-13-03
Location: Tuscaloosa, AL or Atlanta
Posts: 4,904
iTrader: 0 / 0%
Latest Blog:
A+ Certification

kwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web pro
Send a message via AIM to kwvarga
my dad wants the music btw, yeah, i told him its annoying but he says since ppl wont go to site much or something, i`m thinking he will tell me to turn the autostart off in like a week or too. i agree w/ you on it being annoying
__________________
Kyle Varga
"m3lt/theSpear"
student, web designer/coder, future IT consultant
Experience: PHP/MySQL, Java, C++, MS-SQL
kwvarga is offline  
Add Post to del.icio.us
Reply With Quote
Old 08-16-2006, 09:13 AM   #5 (permalink)
Contributing Member
 
FGTH's Avatar
 
Join Date: 03-06-04
Location: NY, CT, CA, AZ
Posts: 555
iTrader: 0 / 0%
Latest Blog:
None

FGTH is a name known to allFGTH is a name known to allFGTH is a name known to allFGTH is a name known to allFGTH is a name known to allFGTH is a name known to allFGTH is a name known to allFGTH is a name known to allFGTH is a name known to allFGTH is a name known to allFGTH is a name known to all
You should probably run your code through an HTML validator.
I don't think you're supposed to assign the same id to multiple elements within the same page.

Code:
<center> <table id="hotels" width="80%"> <tr> <td align="left" valign="top"> <ol> <li>Historic Hotel Bethlehem<br> 437 Main St.<br> Bethlehem, PA 18018<br> 610 625-5000<br> <a href="http://www.hotelbethlehem.com/">http://www.hotelbethlehem.com</a></li> <li>Best Western Lehigh Valley (Rt 22)<br> 300 Gateway Dr.<br> Bethlehem, PA 18017<br> 610 866-5800<br> <a href="http://www.bestwestern.com">http://www.bestwestern.com</a></li> <li>Comfort Inn (Rt 22 &amp; Rt 191)<br> 3191 Highfield Dr.<br> Bethlehem, PA 18020<br> 610 865-6300<br> <a href="http://www.choicehotels.com">http://www.choicehotels.com</a></li> <li>Comfort Suites (Just off campus)<br> 120 W 3rd St.<br> Bethlehem, PA 18015<br> 610 882-9700<br> <a href="http://www.choicehotels.com">http://www.choicehotels.com</a></li> <li>Courtyard By Marriott (By Airport)<br> 2160 Motel Dr.<br> Bethlehem, PA 18018<br> 610 317-6200<br> <a href="http://marriott.com">http://marriott.com</a></li> </ol> </td> <td align="left" valign="top"> <ol> <li value="6">Fairfield Inn & Suites (By Airport)<br> 2140 Motel Dr.<br> Bethlehem, PA 18018<br> 610 867-8681<br> <a href="http://marriott.com/fairfieldinn/default.mi">http://marriott.com/fairfieldinn/default.mi</a></li> <li>Hampton Inn &amp; Suites (Rt 22 &amp; Center St)<br> 200 Gateway Dr. <br>Bethlehem, PA 18017<br> 610 868-2442<br> <a href="http://hamptoninn.hilton.com">http://hamptoninn.hilton.com</a></li> <li>Park Manor Motel (Rt 22 &amp; Seedy)<br> 69 N. Locke Dr.<br> Pollock, PA 18052<br> 610 236-8444<br> <a href="http://www.heidislingerie.com">http://www.heidislingerie.com</a></li> <li>Residence Inn by Marriott (By Airport)<br> 2180 Motel Dr.<br> Bethlehem, PA 18018<br> 610 317-2662<br> <a href="http://marriott.com">http://marriott.com</a></li> <li>Wydnor Hall Inn (B&amp;B / Saucon Valley)<br> 3612 Old Philadelphia Pike<br> Bethlehem, PA 18015<br> 610 867-6851</li> </ol> </td> </table> </center>
__________________
"90% of the game is half mental."
--Yogi Berra
Elizabeth Arden

Last edited by FGTH : 08-16-2006 at 09:19 AM.
FGTH is offline  
Add Post to del.icio.us
Reply With Quote
Go Back   Webmaster Forum > Web Development > Web Design Lobby

Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Center Table with CSS all browsers? JuggoPop Coding Forum 24 03-15-2008 02:21 PM
Big table with first columns fixed gcorro Coding Forum 2 11-07-2007 08:02 AM
Preferred method for displaying truncated, large text fields in a table? podoboo Web Usability 6 07-05-2007 08:59 PM
Showing data from a table based on infos from another table! anarchoi Coding Forum 0 06-16-2007 04:58 PM
Center text in html mybluehair Coding Forum 2 05-27-2006 07:49 AM


Sponsor Links
Get exposure! Get exposure! Find Scripts Web Hosting Directory Get exposure! SEO Blog


All times are GMT -7. The time now is 10:44 AM.
© Copyright 2008 V7 Inc