Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 203
  • Last Modified:

Links and Color Background

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
chwankok
Asked:
chwankok
  • 4
1 Solution
 
calumscottCommented:
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
 
CJ_SCommented:
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
 
xabiCommented:
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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
calumscottCommented:
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
 
calumscottCommented:
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
 
calumscottCommented:
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: 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.

  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now