/    Sign up×
Community /Pin to ProfileBookmark

backgrounds

I was just wondering if anyone could help me before I got nuts (lol). I am fairly new to CSS, and I am trying to add a background repeat. I am using frames (iframe) and I want to get a sort of linear effect at each side (left and right/top to bottom). Is this possible because I have tried putting in a code that looks something like this:

[code=html]<style>
body {background – imgae: url (sidein.jpg)
;background – repeat: repeat – y;}
</style>[/code]

everywhere (like the book says) and nothing is happening. What is it I am missing? Or is it because I am using frames? My page unfortunately isn’t uploaded yet so I can’t show you. I am using Dreamweaver.

to post a comment
CSS

6 Comments(s)

Copy linkTweet thisAlerts:
@cusimar9Feb 14.2006 — Try this:

body {background: #FFF url(sidein.jpg) top center repeat-y;}
Copy linkTweet thisAlerts:
@HarryGreinerFeb 14.2006 — You written imgae instead of image.

Try this


background-image: url(sidein.jpg);

background-repeat: repeat-y;
Copy linkTweet thisAlerts:
@FashyauthorFeb 15.2006 — Try this:

body {background: #FFF url(sidein.jpg) top center repeat-y;}[/QUOTE]



That seems to have worked, but only on one side…as I am trying to get the same effect on both sides of the main frame window. I have tried using one image (with the linear effect at each end) and repeating top to bottom but I could be sat there all day trying to get the width right ?
Copy linkTweet thisAlerts:
@bathurst_guyFeb 15.2006 — have 2 divs, one in the other, both with margin and padding to 0, and the bottom one give the left repeat image, and the one in it a transparent repeat to the right image.
Copy linkTweet thisAlerts:
@GoggleFeb 15.2006 — oops, I quick replied to the wrong thread. buuuh?
Copy linkTweet thisAlerts:
@FashyauthorFeb 16.2006 — have 2 divs, one in the other, both with margin and padding to 0, and the bottom one give the left repeat image, and the one in it a transparent repeat to the right image.[/QUOTE]

Sorry to be a pain, do you have an example code. I am pretty new to all this. :o :o
×

Success!

Help @Fashy spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.12,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...