473,410 Members | 1,953 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,410 software developers and data experts.

Multiple-image background?

I need the image to be in the CSS, because I plan to have multple
stylesheets.
The tricky part is I have 3 parts to the image, a top, the main bit,
and right,

Here is the image:
http://uplued.com/waffleimages/files...d0cb65c0df.gif

Unless you can think of a way for me to have it all in one graphic and
have transparency? I'm not sure.

Anyone have ideas?

I want the XHTML to be as semantic as possible.

Thanks

Nov 11 '06 #1
1 2154
"FuzzyLogik" <ta****@gmail.comwrote in message
news:11**********************@h54g2000cwb.googlegr oups.com...
>I need the image to be in the CSS, because I plan to have multple
stylesheets.
The tricky part is I have 3 parts to the image, a top, the main bit,
and right,

Here is the image:
http://uplued.com/waffleimages/files...d0cb65c0df.gif
The image you provided is a page layout. I think you are refering to the
Main Header backgroud (ie. Phazam Web Services), so will assume that is what
you meant. In a table based layout you would split it into 3 images, but in
the css world there is no need to.
Unless you can think of a way for me to have it all in one graphic and
have transparency? I'm not sure.
Anyone have ideas?
You can use transparency. For simple transparency you could use a .gif
image. This will only let you have on/off transparency though, so will give
you jagged edges.

For a better transparency capability, you can use .png images. This will
work in latest version of most browsers (even IE7). To get it to work in IE6
you will need to cheat.

A quick google search provides this link to help with that.

http://koivi.com/ie-png-transparency/

I would take the first bit of code suggested on the page, and put it either
in conditional comments or behind a star html hack. ie.

css

* html #logo {filter:
progid:DXImageTransform.Microsoft.AlphaImageLoader (src='test.png',
sizingMethod='scale');}

html

<img src="test.png" width="247" height="216" id="logo" alt="theCompanyLogo">

The other option is to use image replacement. Someone else on here is
probably better to talk about that - I've only done a little bit of it, and
can't remember it off hand.
>
I want the XHTML to be as semantic as possible.

Thanks
No Problem
Nov 13 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Rolf Wester | last post by:
Hi, I have a form with a select element with multiple="true". When using the GET method (I suppose the same happens with the POST method) I can seen that the form sends channels=CH1&channels=CH2...
66
by: Darren Dale | last post by:
Hello, def test(data): i = ? This is the line I have trouble with if i==1: return data else: return data a,b,c,d = test()
11
by: Ohaya | last post by:
Hi, I'm trying to understand a situation where ASP seems to be "blocking" of "queuing" requests. This is on a Win2K Advanced Server, with IIS5. I've seen some posts (e.g.,...
6
by: Ben Hallert | last post by:
Hi guys, I'm trying to figure out what bone headed mistake I made on something I put together. I've got a form (named 'context') that has a variable number of select-multiple inputs on it. ...
22
by: Matthew Louden | last post by:
I want to know why C# doesnt support multiple inheritance? But why we can inherit multiple interfaces instead? I know this is the rule, but I dont understand why. Can anyone give me some concrete...
9
by: Abhishek Srivastava | last post by:
Hello All, In IIS 6.0 We have a concept of worker processes and application pools. As I understand it, we can have multiple worker process per appliction pool. Each worker process is dedicated...
2
by: areef.islam | last post by:
Hi, I am kinda new to javascript and I am having this problem with selecting multiple options from a select tag. Hope someone can help me out here. here is my code...
4
by: Matt Kruse | last post by:
While developing an internal IE6-only webapp, a discussion started about the 'best' way to apply classes to data tables across multiple pages. The two arguments were: 1. Apply a single class to...
35
by: keerthyragavendran | last post by:
hi i'm downloading a single file using multiple threads... how can i specify a particular range of bytes alone from a single large file... for example say if i need only bytes ranging from...
58
by: bonneylake | last post by:
Hey Everyone, Well recently i been inserting multiple fields for a section in my form called "serial". Well now i am trying to insert multiple fields for the not only the serial section but also...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.