CSS Slicing help.
•
8 Dec 2011, 17:11
•
Journals
Hello dear programers,
I need to slice some image in css program language, i dont really know exactly how to, anyone has any tutorial or anyone knows how to do it? If you know how to help me please contact me on crossfire or just give me link and/or instructions in comment section. Thank you!
I need to slice some image in css program language, i dont really know exactly how to, anyone has any tutorial or anyone knows how to do it? If you know how to help me please contact me on crossfire or just give me link and/or instructions in comment section. Thank you!
If you want to "slice" a picture you have to do it in php.
You can do it on 2 ways. With Divs or Tables. I would do it with divs. Easier!
Download a clean CSS Template from here: http://www.intensivstation.ch/templates/
then you have to edit the css file. Look for example at the name like header (or banner) and write there the code for your sliced image 1: background-image: url(your_header_picture.jpg);
don't forget the width:???px;height:???px; informations.
<a href="link1.html">Link</a><br>
<a href="link2.html">Link</a><br>
<a href="link3.html">Link</a><br>
<a href="link4.html">Link</a><br>
so you have to create the files link1.html, link2.html ...
In the content div you can add your texts equate to the right file.
Thats the easy way. You can also do it with php files and includes. Another way is to use a CMS like Joomla, Drupal, TYPO3 or Wordpress. Here you only have to adjust your template the cms template files.
edit:// Here the way how to adjust a template to wordpress: http://codex.wordpress.org/Stepping_Into_Templates
there are much more tutorials on google. Learning by doing. The start is not easy.
http://www.google.com/search?q=how+to+adjust+template+to+wordpress
You don't know which way is the right for you? Then read something about static ord dynamic web programming: http://www.google.com/search?q=static+or+dynamic+web
+
no chicks
=
or
How you doin'?
google also helps sometimes and is much faster then cf and you get most of the times additional info
http://www.youtube.com/watch?v=Hqt6XLhNukY