Forum Moderators: not2easy
I have been given approximately 100 html pages that we created as documentation to a program. I would like to add a simple navigational button at the bottom of the page (or the bottom of one of the dividers) and, obviously, would rather not hand code this in every page. All pages use one CSS. Is it possible to create a linking image within the css that would be displayed on every page. I have tried to use the 'background-image' property of a divider and can get a small image button positioned where i want it "background-position: right bottom" but I dont know of a way to assign a url to it (and I think there probably isnt one).
Can anyone think of a way to insert an image with a link using css?
Thanks,
Mark
try using :before or :after pseudo classes
i guess i will get a copy/paste workout tonight.
An operation like this can be performed in a matter of seconds using a GREP tool or other find and replace software, many of which are available as free downloads. The tool I use allows you to specify directory(s) and will scour every file in it searching and replacing an indicated string, literally faster than it would take you to open a single file. Good stuff.
Also note that there are ways to set up a site to include content from one central location on any number of different pages via ServerSideIncludes (SSI) or PHP includes. Let us know if you're interested in reading about these topics and we can point you to some great threads in this and other WebmasterWorld forums that can get you started.
cEM