How I can redirect to another webpage using CSS
?
anyway to do that is acceptable. I can only edit style nothing more.
Asked
Active
Viewed 1,644 times
0

mpower
- 197
- 1
- 1
- 12
-
You can't. CSS is for styling/animating purposes only – Wottensprels Oct 18 '13 at 09:12
-
1Redirect using CSS? NO – Harry Oct 18 '13 at 09:12
-
CSS = Cascading Style Sheet and it does what it means. Styling. No redirecting. – Misha Zaslavsky Oct 18 '13 at 09:15
-
@Misha Zaslavsky: Wow, almost a word for word duplicate at that. – BoltClock Oct 18 '13 at 09:16
-
this question have no answer.so I should delete it? – mpower Oct 18 '13 at 09:16
-
1@mpower: With pure CSS it is not possible. If you give more context, maybe there are other alternate solutions/approaches we can suggest. Btw, I don't think you can delete a question which has answers provided – Harry Oct 18 '13 at 09:18
-
so that's impossible.thanks all. – mpower Oct 18 '13 at 09:19
-
Funny Question. If you know the site has an imagelink, you can take the image, pull it overthe whole site, change the image to show a text like "click here for redirct" and change the href to your site. – efkah Oct 18 '13 at 09:20
-
I said I can't edit anything expect style. – mpower Oct 18 '13 at 09:21
-
thats an only style solution. you just cant force a click with css, but you can limit the user to only option of clicking your link (or back, or close the browser, you know..) – efkah Oct 18 '13 at 09:22
2 Answers
0
You can't
CSS is a styling language designed to give styles & animations to the elements in HTML
You'll need to use Javascript, and we'd be able to help more if you updated your question with some more information :)

Richard Peck
- 76,116
- 9
- 93
- 147
0
You cant, CSS is only used to style the page.
But check out this Jquery redirect which you should be able to add How to redirect to another webpage in JavaScript/jQuery?