•
•
•
•
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
![]() |
•
•
Join Date: May 2008
Location: Hyderabad, India
Posts: 261
Reputation:
Rep Power: 0
Solved Threads: 30
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
Sreekanth
www.saap.in
if you problem solved add me as a reputation and mark it mark as solved
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.
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
![]() |
•
•
•
•
•
•
•
•
DaniWeb HTML and CSS Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
- html Image List with divs shows incorrectly when opened in word (HTML and CSS)
- image map (HTML and CSS)
- Loading image to HTML (JavaScript / DHTML / AJAX)
- Image Generation Problem (PHP)
- HTML to Image Conversion (Computer Science and Software Design)
- HELP! Html image file! (HTML and CSS)
Other Threads in the HTML and CSS Forum
- Previous Thread: CSS padding in ie
- Next Thread: Spry Menu - does it work in Explorer 6.0



Linear Mode