FRIHOSTFORUMSSEARCHFAQTOSBLOGSCOMPETITIONS
You are invited to Log in or Register a free Frihost Account!


CSS Links





manlear
Mmk, so i know how to make links, Example<a href="www.google.com">Google</a>
How would i put that link into a box? or a box around the link? Same difference. which ever one is easier Very Happy
Diablosblizz
What do you mean by "put it into a box?" Do you want a box around the HTML? You'd probably have to use CSS or something like that. Or you could create an image that has the word in it, and automatically the image will have a border (in ie).
Peterssidan
You can set a border on the link
Code:
<style type="text/css">
.box {
   border: 1px solid #457823;
   padding:2px;
   background-color:#eee;
}
</style>
<a class="box" href="www.google.com">Google</a>

Note that the padding and background-color doesn't have anything to do with the border but makes it a little bit nicer.
manlear
Thnx!!!! ^
Related topics
[Beginner] Classes, Applying classes in CSS
Site Nav Suggestions...
I need help with CSS
CSS Postioning Questions.
CSS div alignment issue, IE and FF (newbie problem)
CSS - CSS Tutorial for skin maker
CSS or Javascript?
CSS - O fim do HTML?
Tutorial de CSS Totalmente em Português
CSS Help...
CSS/HTML
CSS links
I am looking for good links to HTML CSS and JS resources.
CSS Class problem SOLVED
Reply to topic    Frihost Forum Index -> Computers -> Computer Problems and Support

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.