HTML Tutorial


 Forum HomeForum Home   FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
RegisterRegister - Not registered yet? Got something to say? Join HTML Code Tutorial!
Style table via CSS. Out of 5 cells, 1 is off - why?
Post new topic   Reply to topic    HTML Help Forum Index -> HTML Table
View previous topic :: View next topic  
Author Message
Fast Ventures



Joined: 10 Dec 2006
Posts: 9

PostPosted: Sat Sep 15, 2007 8:14 am     Style table via CSS. Out of 5 cells, 1 is off - why? Reply with quote

Hi there. It looks like I’m going to need your help again with a vexing table issue.

Check this out:

http://www.fastventures.co.uk/en/sec_test.html

Take a close look at the table that includes the main navigation bar and you will notice that to the right, the last cell is off by 1 px although the entire table was consistently styled via CSS to match the following criteria:

.hspacer_36 /* height spacer **/
{
background-color: #999999;
height: 36px;
}

The odd thing is, that the table right next to (to the left) was styled exactly like that and displays perfectly. Any ideas?

As you can imagine, resolving this issue is critical as we otherwise may not be able to adopt this design.

Thanks a million for your time and help.
Corey Bryant
Site Admin


Joined: 15 May 2004
Posts: 8749
Location: Castle Pines North, CO USA

PostPosted: Sat Sep 15, 2007 1:56 pm     Reply with quote

Honestly, you probably will get a better answer for this type of question over at International Web Developer's Network.

Having said that though, you might also consider putting
Code:
table
{
   border-collapse:collapse;
}
so that all the borders. And where you have
Code:
border:0px solid #fff;
border-width:0px 0px 0 0;
You could consider not even using the border-width since you already specified the width once (above) or just use
Code:
border:0px solid #fff;
border-width:0px;
which might be better. I think you need to specify the px or it might cause some problems in a few browsers.

_________________
Corey
My Merchant Account Blog | Merchant Accounts | Bookkeeper Program
Fast Ventures



Joined: 10 Dec 2006
Posts: 9

PostPosted: Sun Sep 16, 2007 5:49 pm     I figured it out using "Firebug". Many thanks Core Reply with quote

I figured it out by using a FireFox plugin called “Firebug”.

This amazing tool enables you to browse any website in FireFox and analyse HTML, CSS, and Java that’s used within the page. For those of you who haven’t heard about it, I definitely recommend it.

Other than that, I would like to thank everybody who took some time of it his/her well deserved weekend to keep me from going ballistic over this.

I will also take your thoughts concerning CSS based layouts under advisement and read up on the subject.

Again, many thanks.
Display posts from previous:   
Post new topic   Reply to topic    HTML Help Forum Index -> HTML Table All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
HTML Help Archive
Powered by phpBB © 2001, 2005 phpBB Group
HTML Help topic RSS feed 

 
DARFUR
HOSTING / DESIGN
MAKE MONEY

Home
  |   Tutorials   |   Forum   |   Quick List   |   Link Directory   |   About
Copyright ©1997-2002 Idocs and ©2002-2007 HTML Code Tutorial