amitte Posted December 28, 2008 Report Posted December 28, 2008 do someone know how to... 1.make the color of the border of the image, that is also a link, the color i want it to be? this is the code: 2.make with no Icon? 3.put images one on top of the other.. than with z-index to be able to switch between them... (i read about it some where but didnt get the idea) thanks..
JBall Posted December 28, 2008 Report Posted December 28, 2008 do someone know how to... 1.make the color of the border of the image, that is also a link, the color i want it to be? this is the code: a:link img{border: 2px solid #0000FF;} a:visited img{border: 2px solid #0000FF;} a:active img{ border: 2px solid #0000FF;} a:hover img{border: 2px solid #009933;} 2.make with no Icon? ul { list-style-type: none; } 3.put images one on top of the other.. than with z-index to be able to switch between them... (i read about it some where but didnt get the idea) thanks.. Are you trying to make rollover effects using just CSS?
amitte Posted December 28, 2008 Author Report Posted December 28, 2008 yep... i saw one website that explain how that works... but i didnt get the explanation.. it was to fuzzy.. u think i should do it with java?/flash? i just dont want to burn time on learning those tools right now...
amitte Posted December 28, 2008 Author Report Posted December 28, 2008 ok.. i didnt get it.. what should i do? i feel stuck
falkencreative Posted December 28, 2008 Report Posted December 28, 2008 ok.. i didnt get it.. what should i do? i feel stuck This is a better explanation... http://www.wellstyled.com/css-nopreload-rollovers.html
amitte Posted December 29, 2008 Author Report Posted December 29, 2008 ok thanks.. i will check this out... i'll let u know how it go'es another small Q- when i'm writing text ( ect...) how can i define the space between the rowes?
Wickham Posted December 29, 2008 Report Posted December 29, 2008 (edited) Normally by setting a style for all p or h tags:- p, h1, h2, h3, h4, h5, h6 ( margin-top: 8px; } which will apply everywhere or set a class so that you can apply it in just selected places: p.margintop { margin-top: 8px; } h1.margintop { margin-top: 10px; } and markup:- Text Heading Note that you can use the same class description like margintop with different sizes provided you have the element like p or h1 in front of the style. Edit: the above separates a p or h tag top line from the one above. within each p or h tag, for the second and subsequent lines, you have to set a different line-height. Edited December 29, 2008 by Wickham
amitte Posted January 5, 2009 Author Report Posted January 5, 2009 hy Benjamin.. i read the article... thanks any way... i'll probebly use it in the future.. but what i ment to do in my web site is to have a gallery.. of pics.. in one side of the page.. and in the other to have space to show the pics in large if some one would click on one from the gallery.. so my Q is.. what is the best way to do it? is there a CSS option or i have to learn JAVAscript? thanks
virtual Posted January 5, 2009 Report Posted January 5, 2009 Yes, you can do this with CSS. Look here http://www.dynamicdrive.com/style/csslibrary/item/css-image-gallery/ You will have to play around with the code to get it to fit your page.
kanasu Posted January 13, 2009 Report Posted January 13, 2009 ok thanks.. i will check this out... i'll let u know how it go'es another small Q- when i'm writing text ( ect...) how can i define the space between the rowes? You just put where ever you wanna space......
Bill Posted January 13, 2009 Report Posted January 13, 2009 You just put where ever you wanna space...... No you don't!! Use margins in your CSS.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now