Need an background element with rounded corners on pages!
-
Hello everyone!
I really hope someone can help me with this…:
I have downloaded a theme from eleganthhemes.com, that I have changed a lot, after the wishes of the company that I make the webpage for. Everything looks great now, and the website seems to be finished pretty soon.
But then the manager came with another request: he want´s the background on as well as every page to appear as a grey box with rounded corners, with the same width as the header, and of course to adjust after how much text and phots there are on every page…
I have tried SO MUCH to get this, but I just cannot figure it out. And as a NEWBIE to this, I find it so complicated right now…:(
A friend of mine sent me theese html-codes:
[Code moderated as per the Forum Rules. Please use the pastebin]
The only change is that the background gets dark grey instead of black, but no grey box appears with text in it.
I also tried to add all the code in one page, but nothing but the text that my friend wrote, appears….
I thougt that I would have to do it this way:
-make an image called content-bg-top (or something like that) with rounded corners, and the shadow that my client loves, to place on top of the page, UNDER the header and page title…
-add a 1×1 px content-bg to repeat in the width of the header, under the content-bg-top, and as far as the text is…
-add an image called content-bg-bottom to end the page
-and someway add borders for the content-bg, so that it looks swell.
But is this the way to do it? And HOW do I do it, if this is the solution?
Pleeeease help me someone, I´m desperate, and I have a deadline…:(
- The topic ‘Need an background element with rounded corners on pages!’ is closed to new replies.