Computer Webmaster Gaming Console Graphics Forum

Welcome to the Computer Webmaster Gaming Console Graphics Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

MK PitStop Main Earn $25 Earn Money Posting Extras Members Blogs Image Hosting User Pages
Go Back   Computer Webmaster Gaming Console Graphics Forum > Webmaster Forum > Website Coding > HTML
Register FAQ/Rules Become A V.I.P. Member Search Today's Posts Mark Forums Read

HTML HTML problems, maybe you are trying to code for MySpace. Get all the HTML coding help here for your website.

Google
Closed Thread
 
LinkBack Thread Tools Display Modes
Old 07-01-2007, 2:05 PM   #1
David Graham
 
David Graham's Avatar
 
Posts: n/a
My Photos: (0)

Banked:
MK Cash: $

I am Worth:
MK Cash: $
Donate

Recent Blog: None

Default background image

I use CSS to tile an image (in the body tag) background across all of the
page. But, and this is the bit I can't quite figure out, I would also like
to run an orange strip 200px wide (also in the body tag) in the pages
background down the left side of the screen. I have tried to achieve this
by:

style="background: url('art/orange.gif') 0% 0% repeat-y"

The trouble is it repeats down the page as expected but it also covers the
rest of the page with white, so I lose my other image (which is in an
external stylesheet) which is supposed to cover all parts of the pages
bacground which is not covered by the orange strip. So why doesn't the
orange stripe confine itself to the left edge of the screen? I guess its
not possible to have two images in the background of an element - unless of
course you know different.

thanks
David


 
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Advertisements
Old 07-01-2007, 2:05 PM   #2
brucie
 
brucie's Avatar
 
Posts: n/a
My Photos: (0)

Banked:
MK Cash: $

I am Worth:
MK Cash: $
Donate

Recent Blog: None

Default background image

In post <Sr_Ma.22019$sh4.1532921@newsfep2-win.server.ntli.net>
David Graham said...

> I guess its not possible to have two images in the background of an element


true, stick one of the backgrounds on an element. some browsers
support this:

html{background: ...}
body{background: ...}

--
brucie a. blackford. 04/July/2003 06:05:06 am kilo.
http://loser.brucies.com/
 
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Old 07-01-2007, 2:06 PM   #3
David Graham
 
David Graham's Avatar
 
Posts: n/a
My Photos: (0)

Banked:
MK Cash: $

I am Worth:
MK Cash: $
Donate

Recent Blog: None

Default background image


"Richard" <anom@anom> wrote in message
news:be2ca502ohd@enews4.newsguy.com...
>
> "David Graham" <david.graham16@ntlworld.com> wrote in message
> newsr_Ma.22019$sh4.1532921@newsfep2-win.server.ntli.net...
> > I use CSS to tile an image (in the body tag) background across all of

the
> > page. But, and this is the bit I can't quite figure out, I would also

like
> > to run an orange strip 200px wide (also in the body tag) in the pages
> > background down the left side of the screen. I have tried to achieve

this
> > by:
> >
> > style="background: url('art/orange.gif') 0% 0% repeat-y"
> >
> > The trouble is it repeats down the page as expected but it also covers

the
> > rest of the page with white, so I lose my other image (which is in an
> > external stylesheet) which is supposed to cover all parts of the pages
> > bacground which is not covered by the orange strip. So why doesn't the
> > orange stripe confine itself to the left edge of the screen? I guess

its
> > not possible to have two images in the background of an element - unless

> of
> > course you know different.
> >
> > thanks
> > David
> >

>
> AFAIK, you can only have ONE background image.
> What you might want to try is making one image out of two. Merging the two
> together.
> Use the merged as your background and make the height something like 1200

so
> that it won't matter if you scroll the background or not.
> I've taken some tile patterns that were originally meant to be mixed
> together as smaller images, but then I resize the thing to something huge
> with the properties. That way I only get one tile instead of dozens.
> Besides, I don't like the way the lines are visible between tiles.
>

Hi
I should be in bed but Brucie has had me reading a php function. Anyway, I
was more worried about the width. If I merge my 200px wide orange strip with
the other image which is a nice cream textured image, I would need to make
the cream bit really wide to ensure that the combined image went right
across the screen, otherwise using repeat-y will prevent my background from
filling in the right most portion of the screen and I simply couldn't use
repeat, or the orange bit of the merged image would form another orange
strip vertically somewhere in the region of the right part of the screen. I
am worried that if my merged image is very wide, a horizontal scrollbar
would form for clients using a low resolution screen, or is this wrong, do
backgrounds never force scrolling?
Must go to bed now, but look forward to reading any replies tomorrow.
thanks
David


 
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Old 07-01-2007, 2:06 PM   #4
Dan Brussee
 
Dan Brussee's Avatar
 
Posts: n/a
My Photos: (0)

Banked:
MK Cash: $

I am Worth:
MK Cash: $
Donate

Recent Blog: None

Default background image

Backgrounds will never cause the page to scroll. If it's too large, it
will just not show completely.
 
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Old 08-26-2007, 3:14 PM   #5
dforthster
MK PitStop Member
 
dforthster's Avatar
 
Join Date: Aug 2007
Location: Philippines
Posts: 80
My Photos: (0)
iTrader: (0)

Banked:
MK Cash: $2.04

I am Worth:
MK Cash: $0.07
Donate

Recent Blog: None

dforthster is on a distinguished road
Default

use html tags so easy for background simply add background="img url" inside your body tag.
dforthster is offline  
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Featured Websites
Free Space
Free Space
Free Space Free Space
Closed Thread
Tags: ,




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I curve or distort a flat label image to fit a round bottle image? Steen Alexandersen Graphics in general 1 11-15-2008 2:05 AM
Can I make the container DIV of an image not taller than the image (HTML 4.01)? Vince C. HTML 1 07-01-2007 1:59 PM
creating a background image CNN_news Graphics in general 1 06-12-2007 12:28 AM
white background to transparent on existing image Justin Graphics in general 2 06-11-2007 7:14 PM
Can I change the background color of Photoshop 7's window for PC? - background.jpg (0/1) JugoDeCoCo Graphics in general 5 06-11-2007 6:42 PM


Featured Websites




All times are GMT +1. The time now is 6:11 PM.


Powered by: vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.0.0
Cheap Computers
MK PitStop Copyright 2005 - 2008

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98