473,767 Members | 6,082 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Firefox tr padding nightmare

daJunkCollector
76 New Member
The following code renders perfect in IE, but Firefox adds immense padding in between my <tr> tags.

I have tried applying <table cellpadding = 0 cellspacing = 0>. It decreases the extra space so slightly its not even worth it. As a matter of fact, it closes the nice gaps in IE more than it does the large unwanted firefox gaps.

There has to be a way to fix this--there are so many people who are diehard slap happy about firefox I find it hard to believe the precious browser can't render my .net controls without exposing immense gaps???

Please help persuade me that Micro$oft is not the only one capable of being dependable these days. Please keep on post too, I'm sure this won't be an easy fix.

Thanks.


[HTML]<table>


<tr>
<td>
<p><b>Location: </b></p>
</td>
<td>
<asp:DropDownLi st ID="DropDownLis t1" runat="server" Font-Names="Arial" ForeColor="#465 D7E" Width="180px" Font-Size="X-Small">
<asp:ListItem >-Select Here-</asp:ListItem>
<asp:ListItem ></asp:ListItem>
<asp:ListItem ></asp:ListItem>
<asp:ListItem ></asp:ListItem>
</asp:DropDownLis t>
</td>
</tr>


<tr>
<td>
<p><b>Position: </b></p>
</td>
<td>
<asp:DropDownLi st ID="DropDownLis t2" runat="server" Font-Names="Arial" ForeColor="#465 D7E" Width="180px" Font-Size="X-Small">
<asp:ListItem >-Select Here-</asp:ListItem>
<asp:ListItem ></asp:ListItem>
<asp:ListItem ></asp:ListItem>
<asp:ListItem ></asp:ListItem>
</asp:DropDownLis t>
</td>
</tr>


<tr>
<td>
<p><b>Type:</b></p>
</td>
<td>
<asp:DropDownLi st ID="DropDownLis t3" runat="server" Font-Names="Arial" ForeColor="#465 D7E" Width="180px" Font-Size="X-Small">
<asp:ListItem >-Select Here-</asp:ListItem>
<asp:ListItem ></asp:ListItem>
<asp:ListItem ></asp:ListItem>
<asp:ListItem ></asp:ListItem>
</asp:DropDownLis t>
</td>
</tr>


<tr>
<td>
</td>
<td>
<asp:Button ID="Button1" runat="server" Text="Show available jobs" Font-Names="Arial" Font-Size="8pt" ForeColor="#465 D7E" />
</td>
</tr>


</table>[/HTML]

P.S. If you would like to see this example live please ask...I'll post URL. TY
Oct 26 '07 #1
10 7039
drhowarddrfine
7,435 Recognized Expert Expert
Posting the url is frequently easier to debug than copying/pasting markup.
I find it hard to believe the precious browser can't render my .net controls without exposing immense gaps???
.NET stuff is notorious for creating invalid markup but I haven't checked yours yet.
Please help persuade me that Micro$oft is not the only one capable of being dependable these days.
Chris Wilson, the lead developer for IE, has said IE is far behind all other browsers is web standards. In fact, All versions of IE are nine years behind web standards. All other browsers, however, are reasonably current.
Now, onto looking at your markup before I get called away.
Oct 26 '07 #2
drhowarddrfine
7,435 Recognized Expert Expert
Well, now that I look, I notice you have all that asp stuff in there so I have no way to view the generated content, so a link is necessary.
Oct 26 '07 #3
daJunkCollector
76 New Member
Sorry for the late reply Doc. http://www.dajunkyard.com/usgtestser...oyee/home.aspx
Oct 26 '07 #4
daJunkCollector
76 New Member
give it a sec tho, its building quick. Done in 3 minutes, hah.
Oct 26 '07 #5
daJunkCollector
76 New Member
Lastly, please pardon yellowswoosh.gi f. That image needs work...includin g having its height increased so theres no gap above the footer.
Oct 26 '07 #6
drhowarddrfine
7,435 Recognized Expert Expert
Check the output of your editor. Your stylesheet has the unicode BOM inserted at the beginning. This gives the weird characters at the beginning of the sheet.

What is wrong here with the extra 'a'?
[HTML]
<dd><a class="tabs" a href="Locations .aspx?t=4">
<dd><a class="tabs" a href="ContactUS G.aspx?t=5">
<dd><a class="tabs" a href="Careers.a sp
[/HTML]

I don't know that any of this fixes anything but my IE extension is down for some reason.
Oct 26 '07 #7
daJunkCollector
76 New Member
Hah cool thanks, I fixed that.

As for the problem tho...

I think I'll scrap the table and write some css eh? That should resolve the issue (prolly create new issues too....but that web design right?)
Oct 26 '07 #8
drhowarddrfine
7,435 Recognized Expert Expert
It's the margin on your <p>. IE is collapsing the margins for some reason while Firefox is keeping them. Just do p{margin:0} or, if needed, set the margins for the <p> to something other than zero.
Oct 26 '07 #9
drhowarddrfine
7,435 Recognized Expert Expert
Tables for layout is stupid. Even the guy who created the method says he ruined the web because of it.
Oct 26 '07 #10

Sign in to post your reply or Sign up for a free account.

Similar topics

5
28857
by: Gustaf Liljegren | last post by:
I use to trust Firefox, but in this case, I don't know what to think. My test page: http://gusgus.cn/test/index.html IE6 does the right thing. The containting <div> is 600px, and within it, there's one <div> of 400px and another of 200px, laying side by side. The right <div> has padding on the left and right, to add some space within the box, but Firefox (0.9.2) seem to confuse paddings as margins. Here's the right <div> in my CSS:
0
1274
by: ryh | last post by:
Hello, I have the following HTML: <style> ..eHead{ border: 1px solid; text-align: left; display: block; height: 100px; vertical-align: bottom;
1
3053
by: books1999 | last post by:
Hi there, I have a problem with this css/div and i cannot work it out. I would like either container to be able to push the background box to grow but in Firefox it overflows. Can someone find a solution to the problem contained in the code. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml">
2
17080
by: cbjewelz | last post by:
Hey all. So I'm having problems with cross browser alignments. I'm looking at Safari and Mozilla Firefox. I develop in Safari and so it looks perfect there however in Firefox my vertical alignments and div widths are off. It's as if firefox has a different definition of a pixel than safari. Here is the url: http://theprize.chemouni.com/testing.php. When you select the Option from the pull down, the first part of the form appears. Then when...
3
5616
by: autospanker | last post by:
Ladies and Gentleman, I have been having this problem that has been driving me insane. I have a website that when viewed in Firefox first, the content in the body area is pushed down. Then when you click refresh, the content on that page is fine. I believe this could possibily a firefox issue. When I load the website in IE6 or IE7 the content is just fine. Any page you visit with IEXporer displays correctly where as if you go to the start...
0
1627
by: Bouzy | last post by:
I have a problem that I know gets asked about a lot. Its how my page differs in IE vrs. Firefox. I know IE sucks, but hears whats going on. IE... http://i93.photobucket.com/albums/l75/Bouzy_Bouzy/IEGOLD.jpg Firefox... http://i93.photobucket.com/albums/l75/Bouzy_Bouzy/FIREFOX.jpg (Note the positioning of the text in the sidebars) I hate the fact that my pages look sweet in Firefox, but not IE.. I don't even know what div is giving me...
2
2649
by: pammyspammy | last post by:
Hi - Some background info: I'm helping to redesign an internal website at work, and I've decided to use CSS, though I don't really have any experience with it. I figure now's a good time to learn...and what I know right now, I've pretty much learned in the last week or two. At work, we have access to only two browsers, IE 6.0 and Firefox 2.0, so these are the only two browsers I can test the site in, and they're the only ones that...
1
4220
by: littlealex | last post by:
IE6 not displaying text correctly - IE 7 & Firefox 3 are fine! Need some help with this as fairly new to CSS! In IE6 the text for the following page doesn't display properly - rather than being aligned to the top, along with the slideshow and link buttons, you have to scroll down to see the text - how can I make IE6 display correctly? http://geekarama.co.uk/new_home.html here is the code for new_home.html and following that the CSS...
3
2028
by: Steve | last post by:
Hi All I have an asp.net 2.0 website with the following css file It uses Master pages and in Firefox 3.04 for windows only, 3 of the web pages don't display the Master page properly The content page overlaps the Master page boundaries In IE 6/7 All works fine
0
9575
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9407
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
9960
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9841
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7384
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6656
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5425
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3931
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3534
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.