Webmaster Forums - Webmaster forum for HTML, PHP, ASP, CSS and more

Go Back   Webmaster Forums - Webmaster forum for HTML, PHP, ASP, CSS and more > Web Design Forum > HTML / CSS
User Name
Password

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 12-07-2006, 07:37 AM   #1 (permalink)
Roc
Junior Member
 
Join Date: Oct 2006
Posts: 3
Default Gap between rows in IE7

I have arranged a table with 2 rows in a layer. The top row has 11 columns which hold the nav buttons. The bottom row has 3 columns with background repeat in the middle one.

The above layout shows up fine in FF2 but not in IE7. In IE7 it shows a few pixels space between the two rows.
Quote:
Originally Posted by HTML
<div id="navigation">
<table width="766" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="10">
</td>
<td width="65">
</td>
<td width="55"><a href="index.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('homeimg','','rollovers/xhomeSel.gif',1)"><img src="rollovers/buttonHome.gif" name="homeimg" width="55" height="32" border="0" id="homeimg" /></a>
</td>
<td width="79">
<a href="index.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('studentsimg','','rollov ers/xstudentsSel.gif',1)"><img src="rollovers/buttonStudents.gif" name="studentsimg" width="79" height="32" border="0" id="studentsimg" /></a>
</td>
<td width="65">
<a href="index.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('faculty','','rollovers/xfacultySel.gif',1)"><img src="rollovers/buttonFaculty.gif" name="faculty" width="65" height="32" border="0" id="faculty" /></a>
</td>
<td width="63">
<a href="index.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('alumni','','rollovers/xalumniSel.gif',1)"><img src="rollovers/buttonAlumni.gif" name="alumni" width="63" height="32" border="0" id="alumni" /></a>
</td>
<td width="123">
<a href="index.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('lecturesimg','','rollov ers/xlecturesSel.gif',1)"><img src="rollovers/buttonLectures.gif" name="lecturesimg" width="123" height="32" border="0" id="lecturesimg" /></a>
</td>
<td width="148">
<a href="index.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('knowledgeimg','','rollo vers/xknowledgeSel.gif',1)"><img src="rollovers/buttonKnowledge.gif" name="knowledgeimg" width="148" height="32" border="0" id="knowledgeimg" /></a>
</td>
<td width="87">
<a href="index.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('profilesimg','','rollov ers/xprofilesSel.gif',1)"><img src="rollovers/buttonProfiles.gif" name="profilesimg" width="87" height="32" border="0" id="profilesimg" /></a>
</td>
<td width="62">
<a href="index.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('eventsimg','','rollover s/xeventsSel.gif',1)"><img src="rollovers/buttonEvents.gif" name="eventsimg" width="62" height="32" border="0" id="eventsimg" /></a>
</td>
<td width="9">
</td>
</tr>
<tr>
<td width="10"><img src="images/descLeftBorder.gif" width="10" />
</td>
<td width="747" colspan="9" class="descex">
</td>
<td width="9"><img src="images/descRightBorder.gif" width="9" />
</td>
</tr>
</table>
</div>
Quote:
Originally Posted by css
.descex {
background-image:url(../images/descExtender.gif);
background-repeat:repeat-x;

#navigation {
position:absolute;
left:27px;
top:37px;
width:766px;
height:72px;
z-index:1;
}
Attached Images
File Type: jpg ie7.JPG (2.2 KB, 13 views)
Roc is offline   Reply With Quote
Sponsored Links
Old 12-07-2006, 08:59 AM   #2 (permalink)
DeadBeet
FrozenWD.Com Owner
 
Join Date: Nov 2006
Posts: 110
Send a message via AIM to DeadBeet
Default Re: Gap between rows in IE7

I would check the image, make sure there is no white space on the image, thats what it looks like..
__________________
Looking for a cheap and affordable web design business? Try checking out www.frozenwd.com We supply very cheap and reliable websites for businesses! You tell us what you want, and you get what you want! How much better could it get?
DeadBeet is offline   Reply With Quote
Old 12-07-2006, 09:51 AM   #3 (permalink)
Roc
Junior Member
 
Join Date: Oct 2006
Posts: 3
Default Re: Gap between rows in IE7

Nope there is none. The screenshot below is of the same page in ff2
Attached Images
File Type: jpg ff2.JPG (1.8 KB, 13 views)

Last edited by Roc : 12-07-2006 at 09:59 AM.
Roc is offline   Reply With Quote
Old 12-07-2006, 05:29 PM   #4 (permalink)
DeadBeet
FrozenWD.Com Owner
 
Join Date: Nov 2006
Posts: 110
Send a message via AIM to DeadBeet
Default Re: Gap between rows in IE7

thanks for reporting the topics Roc!
__________________
Looking for a cheap and affordable web design business? Try checking out www.frozenwd.com We supply very cheap and reliable websites for businesses! You tell us what you want, and you get what you want! How much better could it get?
DeadBeet is offline   Reply With Quote
Old 12-09-2006, 12:45 AM   #5 (permalink)
goliath
Junior Member
 
goliath's Avatar
 
Join Date: Oct 2006
Posts: 18
Default Re: Gap between rows in IE7

I haven't used CSS on tables much, but if the <td> elements get treated like a <div> element, then by being styled it may be getting a default border, margin, and/or padding of 1.

Try explicitly setting all of your borders padding and margin explicitly to 0 for the .descex class.
goliath is offline   Reply With Quote
Old 12-09-2006, 08:04 AM   #6 (permalink)
Roc
Junior Member
 
Join Date: Oct 2006
Posts: 3
Default Re: Gap between rows in IE7

hey thanks for the reply. I tried what you said and that doesnt help either. I guess ill just go put that bar in a separate layer. no headbanging, end of story!
Roc is offline   Reply With Quote
Old 12-14-2006, 09:06 PM   #7 (permalink)
PolZegerully
Junior Member
 
Join Date: Dec 2006
Posts: 1
Post Amazing Conversation on your site

Hello all!
This is my first time on this site.
I would like to tell what I really like the topic "http://www.webmasterforums.com/?s".
I've been reading it for a while, and I have learned so much here.
So, I decided to try my luck asking a few questions...
How can you IM, PM or whatever you call it to certain members? .
I'd like to ask more questions about this project.
By the way, nice domain name www.webmasterforums.com.
PolZegerully is offline   Reply With Quote
Old 12-15-2006, 08:50 AM   #8 (permalink)
DeadBeet
FrozenWD.Com Owner
 
Join Date: Nov 2006
Posts: 110
Send a message via AIM to DeadBeet
Default Re: Gap between rows in IE7

This seems a little fishy... But, if you give me the username I'll send you to the link
__________________
Looking for a cheap and affordable web design business? Try checking out www.frozenwd.com We supply very cheap and reliable websites for businesses! You tell us what you want, and you get what you want! How much better could it get?
DeadBeet is offline   Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

Points Per Thread View: 1.00
Points Per Thread: 11.00
Points Per Reply: 5.00



» Sponsors

» Links

» Affiliates
Web Hosting
Marketing Find
Merchant Select
SiteMap Builder
Host Compare
Dedicated Servers

» Links

» Sports Network
Paintball Forum
Football Forum
Hockey Forum
Golf Forum
Boxing Forum
Lacrosse Forum
Baseball Forum
SnowBoarding Forum
Soccer Forum
MMA Forum


All times are GMT -4. The time now is 06:03 AM.



LinkBacks Enabled by vBSEO 3.0.0 RC8
Webmaster Forums