Home › Forums › CSS › Header with border alignment and background help › Re: Header with border alignment and background help
July 20, 2012 at 9:58 am #106469
The background on CSS Tricks is done with a repeating background image.
Regarding your h1 tag (which is not a header by the way), most people don’t apply borders to them but if that’s your design then so be it.
You should be aware, however, that borders increase the dimensions of elements (unless specifically told not to…but that’s another story) and so if your h1 is positioned that precisely with CSS (which seems odd) then then you can expect some odd effects.
A link to a like site would be easiest to examine and advise but failing that, put the relevant code on Codepen and we can tinker with it.