- Joined
- Apr 10, 2016
- Messages
- 4
- Reaction score
- 0
Bit basic guys but I seem to be getting 'filler' in-between my graphics that i can't account for.
I have a <div> width of 960px and 2 images of 750px and 210px respectively.
but they won't sit next to each other unless i reduce one of the graphics by 6 pixels
and this then leaves a 6px 'spacer' between the 2 graphics.
I have been ultra explicit in removing margin, border, and padding in both the CSS and HTML
This is the coding.....
CSS:
#frame-container { width: 960px; padding: 0; margin: 0; border: 0; }
HTML:
<div id="frame-container">
<img src="images/header-test.png" margin="0" padding="0" border="0" width="750px" />
<img src="images/bucket-test.png" margin="0" padding="0" border="0" width="210px" />
</div>
Ok - I've donned my thick skin for when you point out what basic error i've overlooked...
I have a <div> width of 960px and 2 images of 750px and 210px respectively.
but they won't sit next to each other unless i reduce one of the graphics by 6 pixels
and this then leaves a 6px 'spacer' between the 2 graphics.
I have been ultra explicit in removing margin, border, and padding in both the CSS and HTML
This is the coding.....
CSS:
#frame-container { width: 960px; padding: 0; margin: 0; border: 0; }
HTML:
<div id="frame-container">
<img src="images/header-test.png" margin="0" padding="0" border="0" width="750px" />
<img src="images/bucket-test.png" margin="0" padding="0" border="0" width="210px" />
</div>
Ok - I've donned my thick skin for when you point out what basic error i've overlooked...