Solved

Links and Color Background

Posted on 2000-03-14
6
183 Views
Last Modified: 2010-04-09
I have a few question that i need to know. How can i have a website with 2 separate background color. For example website like hotmail.com.

Another problem is that when i create i link. I would like the link to be appear with another "new window". Can you have a look at these commands whether it allow me to have link with a "new window".<a href="filename.html></a> or <a name="name"></a>,<a href="name.html></a>. I had try these commands but it didnt work as what i want.

0
Comment
Question by:chwankok
  • 4
6 Comments
 
LVL 1

Accepted Solution

by:
calumscott earned 50 total points
ID: 2615404
That Hotmail site is done with a tiled gif image.  the source of the image is...

http://216.33.150.251/bkgdhome2.gif

and that tiled vertically down the page gives the appearance of the 2 background colours.  

Another way to do it is to set up a frames page with two vertical frames (disable the scroll bars) but you have to be sure that the whole page will fit in the browser window.

And just to prove that there are at least 23 diferent ways to skin a cat, you could set up a table with two columns and set the background colour of the cells.

Take your pick!!!

C.
0
 
LVL 22

Expert Comment

by:CJ_S
ID: 2615406
Another way to get the same effect, but with some more effort, is to make a frameset, and have 2 frames, with each another bgcolor
0
 
LVL 8

Expert Comment

by:xabi
ID: 2615419
Color in links:

<html>
<head>
<title>Example</title>
</head>
<body>
<p><a href="http://www.foo1.com"><font color='#FF00FF'>example1</font></a></p>
<p><a href="http://www.foo2.com"><font color='#FF0000'>example2</font></a></p>
</body>
</html>

New window:

<a href="http://www.foo.com" target="new">foo</a>

xabi
0
Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

 
LVL 1

Expert Comment

by:calumscott
ID: 2615424
Sorry,

Forgot about the other part of the question....

I guess you are trying to get a link to open up a new browser window....

<a href="filename.html" target="_blank"></a>

is what you need.

C.
0
 
LVL 1

Expert Comment

by:calumscott
ID: 2615428
Sorry,

Forgot about the other part of the question....

I guess you are trying to get a link to open up a new browser window....

<a href="filename.html" target="_blank">click here</a>

is what you need.

C.
0
 
LVL 1

Expert Comment

by:calumscott
ID: 2917959
chwankok,

Which method for the background did you go with in the end?  

This question acually inspired me on the design of an site I'm working on, but using colour gradients instead of just the two colours.

C.
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Popularity Can Be Measured Sometimes we deal with questions of popularity, and we need a way to collect opinions from our clients.  This article shows a simple teaching example of how we might elect a favorite color by letting our clients vote for …
Deprecated and Headed for the Dustbin By now, you have probably heard that some PHP features, while convenient, can also cause PHP security problems.  This article discusses one of those, called register_globals.  It is a thing you do not want.  …
In this tutorial viewers will learn how to define a gradient in CSS. Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Gradient. Define the background as "linear-gradient(to right, #ee3668, black)". Ensure you …
In this Micro Tutorial viewers will learn how to create navigation buttons that change on rollover, using CSS (Continuation of the CSS Image Sprite tutorial) Create a parent ID for all the list items       - Specify position: absolute and display: block…

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now