CSS Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignCSS Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old July 25th, 2004, 03:37 PM
jwfc jwfc is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 97 jwfc User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 4 h 19 m 18 sec
Reputation Power: 6
TABLE example

can someone post an example for me. i am trying to do something like this:

http://athletics.ucsd.edu/roster/index.php?id=21

and i can do it w/ html. but if you go to view->text size-> larger, it won't look right anymore since some of the text is too long and wraps to the next line making the table not uniform. so i was wondering how this person did this. thanks!

Reply With Quote
  #2  
Old July 25th, 2004, 05:03 PM
kk5st's Avatar
kk5st kk5st is offline
Thanks Johnny Hart (BC) R.I.P.
Dev Shed Demi-God (4500 - 4999 posts)
 
Join Date: May 2003
Location: Dallas
Posts: 4,659 kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level) 
Time spent in forums: 1 Month 3 Days 11 h 53 m 47 sec
Reputation Power: 687
"This person" didn't do it. If you increase the font size on your referenced site, it breaks, too. Actually, it's broken anyway.

At heart, the layout is banner + two columns + footer. Pretty simple, really. Just size the elements in em units, and don't make images an integral part of the design, and it will grow with the font size.

cheers,

gary
__________________
There are those who manage to build a web site without knowing what they're doing; thereby proving to themselves they do, indeed, know what they're doing.

My html and css workshop, demos and tutorials.
Ask a better question, get a better answer.

Reply With Quote
  #3  
Old July 26th, 2004, 11:23 AM
jwfc jwfc is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 97 jwfc User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 4 h 19 m 18 sec
Reputation Power: 6
oh really. that's odd, b/c on my browser, it does not change at all. but for my own code:

<table width=650 border=0 cellspacing="0" cellpadding="2">
<TR bgcolor="#000080">
<TD WIDTH=150> <font face="arial" color="#FFcc00"> <b> NAME </b> </font></TD>
<TD WIDTH=10> <font face="arial" color="#FFcc00"> <b> GR. </b> </font></TD>
<TD WIDTH=125> <font face="arial" color="#FFcc00"> <b> EVENT </b> </font></TD>
<TD WIDTH=175> <font face="arial" color="#FFcc00"> <b> COMPANY </b> </font></TD>
<TD WIDTH=190> <font face="arial" color="#FFcc00"> <b> OCCUPATION </b> </font></TD>
</TR>


it changes. can css be used to format a table like this? if so, how? thanks.

Reply With Quote
  #4  
Old July 26th, 2004, 01:07 PM
kk5st's Avatar
kk5st kk5st is offline
Thanks Johnny Hart (BC) R.I.P.
Dev Shed Demi-God (4500 - 4999 posts)
 
Join Date: May 2003
Location: Dallas
Posts: 4,659 kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level) 
Time spent in forums: 1 Month 3 Days 11 h 53 m 47 sec
Reputation Power: 687
I guess you're using an obsolete browser. Some legacy browsers don't enlarge text if its font size is defined in points or pixels. As you can see from the attached screencap, the page does indeed break when fonts are enlarged.

As a side note, the author of the page calls for 8pt type, which is below the threshhold of legibility on Mac monitors (due to Macs 1:1 relation between points and pixels). Stupid.

Opera zooms the page rather than enlarge/reduce text only. The user may set his own min/max/default font-size in the local stylesheet.

Mozilla/Gecko family enlarges/reduces text size dynamically. Local stylesheet also offers text size control.

Other modern browsers offer the user similar controls. The web author has no control. You can suggest, but you don't have final say, the user does.

cheers,

gary
Attached Images
File Type: jpg ucsdcap.jpg (89.6 KB, 103 views)

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignCSS Help > TABLE example


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway
Stay green...Green IT