LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 02-28-2006, 05:08 PM   #1
Taigrr
Member
 
Registered: Dec 2005
Posts: 43

Rep: Reputation: 15
Few questions, HTML image links


Learning to build websites a little better, so now i'm stuck on buttons. I wanted to draw out a wide, short bar, with diffrent text on it. "Home News Forum" for example, but have it be a GIF or JPG or something, so I can have nife fitting text and background behind them. So, in --
<img src="kickass.jpg" border="0" width="750" height="139" USEMAP="#nav">

<MAP NAME="nav">
<AREA SHAPE="rect" COORDS="36,120,84,144" HREF="join.html" TARGET="main" ALT="Join">
<AREA SHAPE="rect" COORDS="96,120,156,144" HREF="home.html" TARGET="main" ALT="Home">
<AREA SHAPE="rect" COORDS="168,120,228,144" HREF="http://www.atascosita.com/phpBB2/" TARGET="new" ALT="Forum">
<AREA SHAPE="rect" COORDS="252,120,312,144" HREF="rules.html" TARGET="main" ALT="Rules">
---
(An example a friend gave me)

How do I get the coords? Are they of the webpage themself? Or is it the coords it gives you in photoshop for wherever your mouse is pointing at?

Sorry if i'm confusing, my brain is just a little fried today. Thanks for any help =D
 
Old 02-28-2006, 05:21 PM   #2
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
Sorry, I'm going to hose you up good and suggest using something else. You can create some pretty nice looking buttons using cascading style sheets (CSS). It'll make your web pages load quicker and save you a lot of headache. It's also pretty easy to learn and you can apply your formats across multiple web pages, make a frames style website without using frames, and a lot more. I'm no expert with it, but I gave up the old way of creating menus/buttons after I learned the basics because this is so easy to change later on.

http://www.westciv.com/style_master/.../css_tutorial/
 
Old 02-28-2006, 05:50 PM   #3
spooon
Senior Member
 
Registered: Aug 2005
Posts: 1,755

Rep: Reputation: 51
Quote:
Originally Posted by Taigrr
How do I get the coords? Are they of the webpage themself? Or is it the coords it gives you in photoshop for wherever your mouse is pointing at?
They are coordinates in the image. The definitions of the HTML elements are here. Search the Internet for image maps for more info.
 
  


Reply



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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
html links from various sources rblampain Programming 2 11-24-2005 10:32 PM
HTML links in signatures? BajaNick LQ Suggestions & Feedback 3 12-20-2004 02:32 AM
copy HTML and paste links TxLonghorn Linux - Software 2 02-24-2004 10:56 PM
Duplicate Links In Bookmarks.html MarcRJacobs Linux - Newbie 0 06-11-2003 01:29 PM
Can't open html links in email Glock Shooter Linux - Newbie 1 06-04-2002 12:42 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 07:56 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration