Solved

Links and Color Background

Posted on 2000-03-14
6
194 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
Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
tiny glitch in my main slider 3 39
Html Table Looping (part 2) 5 27
CSS Style Effect 2 11
..ignore the Question 1 9
Showing your events from Google Calendar in Google Maps Why? I travel all week and I thought it would be ideal if staff in office knew where I was based on my calendar. (OK real reason: my son wanted to see where I would be working, and I thoug…
This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
In this tutorial viewers will learn how to code links for mobile sites that, once clicked, send a call or text to a specified number. For a telephone link (once clicked, calls a number), begin with a normal "<a href=" link tag. For the href, specify…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

830 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