- Joined
- Dec 27, 2008
- Messages
- 587 (0.11/day)
System Name | PC |
---|---|
Processor | i5 2500k |
Motherboard | P8Z68-V PRO/GEN3 |
Cooling | Fans |
Memory | DDR3-1600 (8GB) |
Video Card(s) | Sapphire Nitro+ RX 580 |
Storage | HD103SJ |
Display(s) | XG2402 |
Case | Xigmatek Midgard II |
Power Supply | PC Power & Cooling Silencer 750W |
For compatibility reasons, I want to steer clear of of CSS3.
I've defined the <h1> tag in the stylesheet to have a background image. I tried giving this a go in its own <div>, to no avail.
The HTML has the <h1> tag nested in a <div> tag, but instead of the image displaying, it just collapses down to 5px, the padding of the header.
These are two separate issues:
1. The image isn't displaying
2. I'd like for the image to fill the <h1> box, which in turn fills part of the header.
I know I didn't write this in the most readable fashion, so if a copy-paste of the CSS and HTML is necessary, I can provide it.
I've defined the <h1> tag in the stylesheet to have a background image. I tried giving this a go in its own <div>, to no avail.
The HTML has the <h1> tag nested in a <div> tag, but instead of the image displaying, it just collapses down to 5px, the padding of the header.
These are two separate issues:
1. The image isn't displaying
2. I'd like for the image to fill the <h1> box, which in turn fills part of the header.
I know I didn't write this in the most readable fashion, so if a copy-paste of the CSS and HTML is necessary, I can provide it.