472,965 Members | 2,050 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,965 software developers and data experts.

CSS Extra Space Around My Divs and/or Images

I'm having some trouble with a design I'm working on. There are a few places where I have extra space and I can't isolate the problem.

Here's the page:
http://www.blueneckdesign.com/css-help/sample1.html

and the CSS:
http://www.blueneckdesign.com/css-help/style.css

Just below the top half of the light bulb image and above the rollover navigation, there is a space of about 3px that shouldn't be there (Mac OSX 10.4.10, and 10.2.8: Firefox 2.0.0.6). Curiously, on the same machines, IE 5 renders the page correctly.

On my wife's PC (not sure what Windows OS) IE6 adds a space at the bottom of that div (div#subnav) and to the right of it (or possibly to the left of div#copy).

I believe that I'm using the correct doctype:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

The CSS validates, and the HTML validated before I inserted the JavaScript.

Can anyone help? I'm almost out of hair to pull out.
Aug 24 '07 #1
0 1518

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

Similar topics

23
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>...
1
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>...
13
by: Aaron | last post by:
Hi, In the following code, everything looks fine on Explorer, but on Netscape there is a large white gap between the 'top' section and the 'bottom menu' section. I've set the style 'div img...
0
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>...
6
by: skeeterbug | last post by:
please check out http://www.geocities.com/operationsengineer1/test2.htm how come there is spacing between my logoheader and the tabs? i'm also seeing ie6 input an extra 1em of vertical...
4
by: dave | last post by:
I have a csss/html question that perhaps the experts here can help me with. The following code leaves small gaps between the div tags. how can I remove them? <div > <div > <div <div > <img...
11
by: rfox | last post by:
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...
10
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. ...
3
by: d3vkit | last post by:
Okay I've got a problem which wouldn't be a problem if IE was not around, but yeah, IE is giving me trouble. I've got a tag-cloud that is on my page; everything was fine. Sort of like this:...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
0
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
0
tracyyun
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
3
by: nia12 | last post by:
Hi there, I am very new to Access so apologies if any of this is obvious/not clear. I am creating a data collection tool for health care employees to complete. It consists of a number of...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
0
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...

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.