This is a discussion on "How to float 2 image hyperlinks on same line" within the Web Page Design section. This forum, and the thread "How to float 2 image hyperlinks on same line are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
How to float 2 image hyperlinks on same line
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
||||
|
How to float 2 image hyperlinks on same line
I have an image that i have created for a next button and a previos button.
I would like them on the same line but opposite ends of the div but all i have got it to do is move to opposite sides but not on the same line. What am I doing wrong? CSS
|
|
|
|
||||
|
Re: How to float 2 image hyperlinks on same line
And how did you fix it?
|
|
||||
|
Re: How to float 2 image hyperlinks on same line
Like this
|
|
||||
|
Re: How to float 2 image hyperlinks on same line
Of course! Pure CSS rollovers without Javascript
|
|
||||
|
Re: How to float 2 image hyperlinks on same line
CSS pseudo-classes such as hover, visited, and active give you javascript-type control. All you can do is change the css, but since you just want a to change appearance . . . '
The most efficient way to do it is to make a button in CSS and then change the border, color, etc. on hover. You can do a good 3D rollover with this. If you want an image, just set the background to the image with repeat-no, then change the image with pseudo-classes. You can do both javascript and css on the same button, say for example if you want a popup window if the browser has js, and a link to the window url if he doesn't. The js "this.class" will take precedence over the pseudo-class. Last edited by masonbarge; Apr 2nd, 2007 at 14:35. |
![]() |
| Tags |
| float, hyperlinks, images |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Image float misbehaving in IE vs FF | andym01480 | Web Page Design | 2 | Feb 19th, 2008 21:37 |
| On-line image stock library | Brian A | Starting Out | 20 | Apr 9th, 2007 19:21 |
| Image hyperlinks | AdRock | Web Page Design | 5 | Mar 29th, 2007 01:46 |
| Problems with float:left float:right | nvidiajoe | Web Page Design | 8 | Nov 17th, 2006 20:24 |
| Image float problem | timmytots | Web Page Design | 6 | Jul 8th, 2006 13:40 |