User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the HTML and CSS section within the Web Development category of DaniWeb, a massive community of 427,852 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,723 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our HTML and CSS advertiser: Lunarpages Web Hosting
Views: 449 | Replies: 2
Reply
Join Date: May 2008
Location: Hyderabad, India
Posts: 261
Reputation: sreein1986 is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 30
sreein1986's Avatar
sreein1986 sreein1986 is offline Offline
Posting Whiz in Training

HTML image

  #1  
Jun 24th, 2008
I want to use border on the text on mouse move with shaded back ground it is ok if the text is in one line but it fails when text is in more than one line so I try to use table in anchor tag so it will give border to anchor that will show effect on table it is ok but the link will not work in this condition
Thanx,
Sreekanth

www.saap.in
if you problem solved add me as a reputation and mark it mark as solved
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Jun 2007
Posts: 181
Reputation: macneato is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 13
macneato's Avatar
macneato macneato is offline Offline
Junior Poster

Re: HTML image

  #2  
Jun 24th, 2008
hi,

Not sure if i fully understand you, could you post the source
If this reply solved your problem, please add to my reputation and don't forget to mark this thread as solved.
Reply With Quote  
Join Date: Jan 2007
Posts: 2,556
Reputation: MidiMagic is on a distinguished road 
Rep Power: 7
Solved Threads: 115
MidiMagic's Avatar
MidiMagic MidiMagic is offline Offline
Posting Maven

Re: HTML image

  #3  
Jun 27th, 2008
In both cases you are trying to put a box object pair (table, and anything else that takes a border) inside an inline tag pair (anchor). This does not work. There are very few things you can put inside an anchor tag pair.

There are a few ways to solve this:

1. Put an onhover and onclick calls on a box object to call JavaScript routines that change the background color or border color, and/or call the link.

2. Use an image of the box and text. You CAN put an image inside the anchor tag pair.

3. Use a button (form object) with your text in it. The entire button (and its styles) is active.

4. Be content with just the text being sensitive.
Daylight-saving time uses more gasoline
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb HTML and CSS Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the HTML and CSS Forum

All times are GMT -4. The time now is 3:25 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC