User not logged in - login - register
Home Calendar Books School Tool Photo Gallery Message Boards Users Statistics Advertise Site Info
go to bottom | |
 Message Boards » » HTML: variance in cell heights Page [1]  
ZiP
All American
18939 Posts
user info
edit post

Hey - I've got a question about a discrepancy I'm seeing when viewing this page on a PC (everything seems fine on a mac):

http://www.pixelparlor.com/work.html

My question: what can I do to make sure that the cells with the grey background (that form the horizontal grey bars, the titles for the projects) to all be exactly one "line" tall.

If someone could take a peek at the source and let me know if there are perhaps some characters in those cells that are screwing things up, that'd be awesome.

The html was generated with Macromedia Dreamweaver, if that helps any.

Thanks!

-ZiP!-

8/28/2005 11:53:25 PM

skokiaan
All American
26447 Posts
user info
edit post

nowrap?


white-space?

8/29/2005 12:00:59 AM

ZiP
All American
18939 Posts
user info
edit post

i don't know either of those terms, as far as html code... are you saying there should be a tag for "nowrap" in there?

-ZiP!-

8/29/2005 12:02:18 AM

skokiaan
All American
26447 Posts
user info
edit post

google

nowrap is an attribute, white-space is the css attribute.

You should make this guy pay you to make his website not look like utter shit:
http://www.thewolfweb.com/message_topic.aspx?topic=343538

[Edited on August 29, 2005 at 12:04 AM. Reason : k;l]

8/29/2005 12:03:44 AM

ZiP
All American
18939 Posts
user info
edit post

ah thanks - is the nowrap attribute found in my page's source?

haha - well, i'm a lil hard-pressed these upcoming weeks with regard to taking on any other clients, but i appreciate the compliment

-ZiP!-

8/29/2005 12:12:25 AM

Prospero
All American
11662 Posts
user info
edit post

i think the easier attribute would be to just set the cell height via css

for instance:
.style12 {color: #FFFFFF; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small; font-weight: bold; }

should be:
.style12 {height: 20px; color: #FFFFFF; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small; font-weight: bold; }

or whatever # of px it needs to be

[Edited on August 29, 2005 at 12:44 AM. Reason : .]

8/29/2005 12:41:09 AM

skokiaan
All American
26447 Posts
user info
edit post

^sometimes that wont work because tables in IE have minds of their own. It's all a huge clusterfuck

8/29/2005 1:03:01 AM

Prospero
All American
11662 Posts
user info
edit post

^if you are using <td> just add the regular html attribute height to it then, but if white-space will work use that

[Edited on August 29, 2005 at 1:13 AM. Reason : .]

8/29/2005 1:13:04 AM

ZiP
All American
18939 Posts
user info
edit post

thanks - i'll give that a shot after work today

-ZiP!-

8/29/2005 7:41:09 AM

ZiP
All American
18939 Posts
user info
edit post

snap, thanks... i added:

<tr height="4"

in front of those cells, and i think it did the trick, it now looks normal on a PC, I appreciate the assistance

-ZiP!-

8/29/2005 10:40:14 PM

 Message Boards » Tech Talk » HTML: variance in cell heights Page [1]  
go to top | |
Admin Options : move topic | lock topic

© 2024 by The Wolf Web - All Rights Reserved.
The material located at this site is not endorsed, sponsored or provided by or on behalf of North Carolina State University.
Powered by CrazyWeb v2.39 - our disclaimer.