I've built a site using tables for layout, and it looks ok in
everything but in IE where it places extra space around the graphics
that contain a rollover script. (Please see http://www.bentleysweb.com
) Below is a snippet of the table cell in question. How can I
eliminate that extra space in IE?
Thanks.
-Ray
<TD CLASS="first" colspan="2" VALIGN="TOP">
<img src="images/windowtop.gif" width="121" height="43" alt="">
<a href="display.h tml" target="_self"
onmouseover="ch angeImages('dis play', 'images/displayx.gif'); return
true;"
onmouseout="cha ngeImages('disp lay', 'images/display.gif'); return
true;"
onmousedown="ch angeImages('dis play', 'images/displayx.gif'); return
true;"
onmouseup="chan geImages('displ ay', 'images/displayx.gif'); return
true;">
<img name="display" src="images/display.gif" width="121"
height="31" border="0" alt="Display Cases Button"></a>
<img src="images/black1.gif" width="121" height="22" alt="">
<a href="framing.h tml"
onmouseover="ch angeImages('fra ming', 'images/framingx.gif'); return
true;"
onmouseout="cha ngeImages('fram ing', 'images/framing.gif'); return
true;"
onmousedown="ch angeImages('fra ming', 'images/framingx.gif'); return
true;"
onmouseup="chan geImages('frami ng', 'images/framingx.gif'); return
true;">
<img name="framing" src="images/framing.gif" width="121"
height="25" border="0" alt="Framing & Engraving"></a>
<img src="images/windowbot.gif" width="121" height="43" alt="">
</td> 11 9863
Hi,
A simple method I use is to specify the dimensions of the <td> the same as
the pic...
<td width="121" height="43"><im g src="images/windowtop.gif" width="121"
height="43" alt=""></td>
Hope that helps
Andy
<rf**@scoe.ne t> wrote in message
news:11******** **************@ h76g2000cwa.goo glegroups.com.. . I've built a site using tables for layout, and it looks ok in everything but in IE where it places extra space around the graphics that contain a rollover script. (Please see http://www.bentleysweb.com ) Below is a snippet of the table cell in question. How can I eliminate that extra space in IE?
Thanks.
-Ray
<TD CLASS="first" colspan="2" VALIGN="TOP"> <img src="images/windowtop.gif" width="121" height="43" alt="">
<a href="display.h tml" target="_self" onmouseover="ch angeImages('dis play', 'images/displayx.gif'); return true;" onmouseout="cha ngeImages('disp lay', 'images/display.gif'); return true;" onmousedown="ch angeImages('dis play', 'images/displayx.gif'); return true;" onmouseup="chan geImages('displ ay', 'images/displayx.gif'); return true;"> <img name="display" src="images/display.gif" width="121" height="31" border="0" alt="Display Cases Button"></a>
<img src="images/black1.gif" width="121" height="22" alt="">
<a href="framing.h tml" onmouseover="ch angeImages('fra ming', 'images/framingx.gif'); return true;" onmouseout="cha ngeImages('fram ing', 'images/framing.gif'); return true;" onmousedown="ch angeImages('fra ming', 'images/framingx.gif'); return true;" onmouseup="chan geImages('frami ng', 'images/framingx.gif'); return true;"> <img name="framing" src="images/framing.gif" width="121" height="25" border="0" alt="Framing & Engraving"></a>
<img src="images/windowbot.gif" width="121" height="43" alt=""> </td> rf**@scoe.net wrote: I've built a site using tables for layout, and it looks ok in everything but in IE where it places extra space around the graphics that contain a rollover script. (Please see http://www.bentleysweb.com ) Below is a snippet of the table cell in question. How can I eliminate that extra space in IE?
Thanks.
A quick, off-topic comment on your web site. Please do not use red on
black, black on red, orange on blue, or blue on orange for navigation.
About 8 percent of the male population is red / green color blind.
This makes the mentioned color combinations difficult to impossible to
read.
Since you are creating a sports and celebrity memorabilia site, making
navigation difficult for 8 percent of your potential target audience
doesn't seem to be a good idea.
Just my two cents . . . .
/mde/ rf**@scoe.net wrote: I've built a site using tables for layout, and it looks ok in everything but in IE where it places extra space around the graphics that contain a rollover script. (Please see http://www.bentleysweb.com ) Below is a snippet of the table cell in question. How can I eliminate that extra space in IE?
<snipped code>
Just something I saw in your code, not related to your layout problem.
You have the function preloadImages() , presumably to preload your
navigational rollover images, however your call the function on the
documents onload event. This sort of defeats the concept of preloading
the images if your delay the loading until *after* the whole page is
loaded! Onload fires only after the page has completely downloaded. On
dialup the effect is very noticeable, none of your nav buttons rollover
until after a distinct delay after page renders. To get the nav buttons
to work sooner, call the function in the head and it will preload the
images before the page has finish loading.
....
preloadImages() ;
// -->
</script>
</head>
<body bgcolor="#FFFFF F" LINK="#666666" VLINK="#666666" >
....
--
Take care,
Jonathan
-------------------
LITTLE WORKS STUDIO http://www.LittleWorksStudio.com
JRS: In article <Fz************ ***@fe05.lga>, dated Sat, 17 Jun 2006
21:24:04 remote, seen in news:comp.infos ystems. www.authoring.html, Mark
Eggers <md******@chart er.net> posted : A quick, off-topic comment on your web site. Please do not use red on black, black on red, orange on blue, or blue on orange for navigation. About 8 percent of the male population is red / green color blind. This makes the mentioned color combinations difficult to impossible to read.
Since you are creating a sports and celebrity memorabilia site, making navigation difficult for 8 percent of your potential target audience doesn't seem to be a good idea.
You appear to be ignoring the possibility of female interest in the
site.
--
© John Stockton, Surrey, UK. ?@merlyn.demon. co.uk Turnpike v4.00 MIME. ©
Web <URL:http://www.merlyn.demo n.co.uk/> - FAQish topics, acronyms, & links.
For news:borland.*, use their server newsgroups.borl and.com ; but first read
Guidelines <URL:http://www.borland.com/newsgroups/guide.html> ff. with care.
Dr John Stockton wrote: Since you are creating a sports and celebrity memorabilia site,
You appear to be ignoring the possibility of female interest in the site.
I imagine that was rather his point...
In article
<11************ *********@p79g2 000cwp.googlegr oups.com>,
"Andy Dingley <di*****@codesm iths.com>"
<di*****@codesm iths.com> wrote: Dr John Stockton wrote:
Since you are creating a sports and celebrity memorabilia site,
You appear to be ignoring the possibility of female interest in the site.
I imagine that was rather his point...
!
--
dorayme
Thanks to everyone who offered a bit of sage advice. I tried many of
the suggestions, and the one that worked was among the simplest
suggestions and came from BootNic's link -- add a <br> after each
element.
Jonathan, thanks for the input on the preloadImages code. I've revised
the code to put the command in the head. Hopefully that'll improve
performance on a dialup connection.
I appreciate everybody's input. Nice to have that puzzle solved. Now
I have another very similar problem which I'll post in a separate
thread.
Cheers!
-Ray fl******@comcas t.net wrote: Thanks to everyone who offered a bit of sage advice. I tried many of the suggestions, and the one that worked was among the simplest suggestions and came from BootNic's link -- add a <br> after each element.
Jonathan, thanks for the input on the preloadImages code. I've revised the code to put the command in the head. Hopefully that'll improve performance on a dialup connection.
I appreciate everybody's input. Nice to have that puzzle solved. Now I have another very similar problem which I'll post in a separate thread.
Actually why not lighten the whole page dramatically there is nothing
particularly special about your font you could rid all the special
images and replace with reusable backgrounds and rid the JavaScript all
together by using CSS hovers on your links to change the text color,
(even IE support this!).
--
Take care,
Jonathan
-------------------
LITTLE WORKS STUDIO http://www.LittleWorksStudio.com
Jonathan N. Little wrote: fl******@comcas t.net wrote: Thanks to everyone who offered a bit of sage advice. I tried many of the suggestions, and the one that worked was among the simplest suggestions and came from BootNic's link -- add a <br> after each element.
Jonathan, thanks for the input on the preloadImages code. I've revised the code to put the command in the head. Hopefully that'll improve performance on a dialup connection.
I appreciate everybody's input. Nice to have that puzzle solved. Now I have another very similar problem which I'll post in a separate thread.
Actually why not lighten the whole page dramatically there is nothing particularly special about your font you could rid all the special images and replace with reusable backgrounds and rid the JavaScript all together by using CSS hovers on your links to change the text color, (even IE support this!).
He could go even more in to cleaning up his source code and get rid of
the Tables all together!.
--
Regards Chad. http://freewebdesign.cjb.cc This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: mappo |
last post by:
There are about a million posts on how to get rid of the extra space _after_ the
form end-tag, but I can't find any that solve my problem: extra space _in_ the
form tag.
I have a table nestled inside the form and since I want the submit button
underneath the input text field i have a br tag to separate them. For some
reason IE5.5 gives me what seems like two br tags. It looks good in Opera 7,
and in K-Meleon 0.6 (Gecko).
|
by: MattB |
last post by:
Hello please help,
I have a table cell with a div in it. The div has a width of 300px.
but when it is rendered it puts extra space into the table cell.
Here's the style
<style>
#treecontainer
{
|
by: Applebrown |
last post by:
Hello, basically, I'm just learning intermediate CSS and trying to convert
my old table webpage completely to CSS. Hoorah, right? Well, it's not quite
going as planned. It's an extremely simple layout, and I'm finding myself
stuck with small white space in between my images where I planned for the
graphics to be stacked up right on top of one another.
Here's the simple vertical layout: width is 640px, centered with a CSS
border. I'd...
|
by: skeeterbug |
last post by:
http://www.geocities.com/operationsengineer1/test2.htm
the extra space between the logoHeader and the menu bar occurs when i
add the <ul>. if i comment out the ul and and all the li, the 1em
space disappears in firefox.
http://www.geocities.com/operationsengineer1/test3.htm
it never shows in ie6. if i increase the margin of hmenu to 1 em,
there is no effect on the top and bottom, but the right and left are
|
by: Uncle Pirate |
last post by:
This has me stumped. I am trying to use as little space as possible at
the top of my document but Firefox/Mozilla insists on placing vertical
space before any element. IE displays it correctly (as I want). At one
point, I set some negative top margins which moved the graphics above
the page in IE. Here's the link: http://abateofnm.org/ I've tried
reformatting the HTML to assure there is no white space and I've tried
setting top...
| |
by: Ma³y Piotruœ |
last post by:
Hello,
(sorry for my English, it's not my native language...)
I am new to HTML/CSS but I have to modify some website. Could you help
me with one problem please?
The problem is on page http://www.omnikom.pl/wiadomosci.htm - I don't
understand why the menu at the left side, below search engine is moved
down (compare to http://www.omnikom.pl/index.html). I am reading HTML
source but I cannot find the explanation.
Please help.
Thank you.
|
by: fleemo17 |
last post by:
I have another table layout that looks good in all the browsers I've
tested it in *except*, once again, IE on the PC. In IE there's extra
space around some of the table cells making up the layout. Apparently,
the problem lies with the bit of javascript I've used to randomly
display a photo on the page. If I take the javascript out, the pieces
of the layout fit together seamlessly. Put the javascript back in and
gaps appear.
Here's...
|
by: dw |
last post by:
hello -
first, let me state that i am an Asp.Net rookie.
here is the situation:
i have a page that looks good in the vs.net designer, but when the page
renders there are extra amounts (vertically) of space between controls. i
have all of the controls in a table, to help line them up, and I have
reviewed the html to verify that there are no extra spaces or paragraphs or
breaks between the controls. however, when i run the web site,...
|
by: jerrygadd |
last post by:
Hi can anyone please help?
I have a need to make a table of fixed size, containing three rows, where the middle row auto expands to fill the remaining space between the top and bottom rows.
Here is what I have so far, unfortunately using height:100% for the middle row blows the size of the table!
<html>
<head>
<title>Auto expanding middle row!</title>
|
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...
|
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,...
| |
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,...
|
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...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |