This is a discussion on "CSS Problem...I Think" within the Web Page Design section. This forum, and the thread "CSS Problem...I Think are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
CSS Problem...I Think
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
CSS Problem...I Think
To be honest, i'm not really sure what sub-forum i should be posting it under
i *THINK* it would go under the CSS sub-forum.. but like i said i'm really not sure :\ Hrmm.. okay so basically i'm trying to build a website for my guild in WoW (World of Warcraft) and i really don't know what i'm doing for the most part =\ I've been using Photoshop and Dreamweaver 8. I'll explain everything i've done so far: I went into Photoshop and created a layout- http://www.postfarm.net/uploads/relentlessoverall.jpg I got everything how i wanted it, then created the graphics for mouseovers (i'm trying to make it so when you mouse over the links (in the header and on the 2 content link boxes) they light up. It's all been done already, i just need to learn how to apply it in Dreamweaver. This is the base (none of the links have the glow) http://www.postfarm.net/uploads/relentlessinfernalbase.jpg This is the hover (all of the links have the glow) http://www.postfarm.net/uploads/relentlessinfernalhover.jpg So i've got my base and hover images done, so i spliced everything up and then started to teach myself Dreamweaver. It's the first time i've ever used the program. I understand that it's considered simple, but it can be confusing for me at times. So now i'm in Dreamweaver, and i've got the template pieces organized and put together, but i'm not sure what i need to do in order to make the mouseovers work. I did some google searches and came across http://wellstyled.com/css-nopreload-rollovers.html and i understand what it's saying, but i'm not sure how, or even if, i can apply it to what i'm trying to do. I've gone into photoshop and taken all the spliced images (base and hover) and placed them side by side and saved them... but now i'm clueless as to how to complete what i've set out to do Any advise would be greatly appreciated! X.x Tks for reading Last edited by Trelos; Oct 11th, 2006 at 11:38. |
|
|
|
||||
|
Re: CSS Problem...I Think
Moved to CSS forum. So that your question can be answered faster!!
|
|
|||
|
Re: CSS Problem...I Think
Heh, thanks ^.^ I've been trying to figure it out, but still no luck
|
|
||||
|
Re: CSS Problem...I Think
Not sure if this will help or not I made it for a different post but it shows how to use a single image and CSS to create the hover effect.
http://www.newbeginningsdesign.com/s...uff/cssbutton/ P.S. I play WoW every night. Horde though. Ze name iz Moojoo find me on there add me to your social list.
Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)
|
|
|||
|
Re: CSS Problem...I Think
Quote:
Gonna check out that link and edit this post if i need to say anything about it, thanks btw ^.^ |
|
||||
|
Re: CSS Problem...I Think
I play on Executus and yeah let us know if that was what you were looking for or not.
Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)
|
|
|||
|
Re: CSS Problem...I Think
Okay, well that is what i'm trying to do, but i've already understood what takes place and how it works.. i just don't know how to recreate it myself.
I decided to take a look at the source code and try and figure it out from there, i think i got most of it, but i still am unable to reproduce it with my images :\ (even in a simple form like the link you gave me) If you wouldn't mind, could you explain it step by step in a very detailed manner? i still don't know how i'm going to apply it to the website and make it work X.x. |
|
|||
|
Re: CSS Problem...I Think
Okay, i figured maybe it would help if i showed you exactly what i was doing, so i took pictures of my splicing and table setup in Dreamweaver.
This is all the splicing i've done on it http://www.postfarm.net/uploads/risplices.jpg (Image removed...slows down forum. Use the above link.) This is what it looks like in Dreamweaver right now (i can copy paste the code if needed, i doubt it is though.). There are four tables on the page, listed in order here;(Row, Column) 1st: 1, 7 2nd: 1, 3 3rd: 1, 1 4th: 1, 2 I placed multiple images inside of the second and fourth tables (rows)
http://www.postfarm.net/uploads/dreamweavedock.jpg (Image removed...slows down forum. Use the above link.) This is what the tables look like with absolutely nothing done to them http://www.postfarm.net/uploads/tables.jpg (Image removed...slows down forum. Use the above link.) So once i learn how to actually do the hover effect with dual image pictures, how exactly would i apply it with Dreamweave to make it work on all the buttons in the finished product? Edit: Keep in mind i'm very.. very new to all of this, this is literally the first time i've ever tried actually making a website. I'm very new to both Dreamweaver and CSS, so please be very elaborate in your explanations if you give any. Thanks Last edited by JacobHaug; Oct 11th, 2006 at 17:33. Reason: Large Images Removed (Slowed Down Forum) |
|
||||
|
Re: CSS Problem...I Think
Each link should have two states in one image file. and the code is pretty simple. Here is a basic example. Basically what you want to do is slice your navigation images as they are and then place both states of the link into one graphic. Your css would need to be a bit different but the basic principal is there. So say each one is 50px high. Your graphic would be 100px tall with both states, your li a's will be styled to only be 50px tall and by using positioning on the background you show only the parts that need to be shown. by setting the - value on the hover state etc twice the 50px value because you want the hover portion to start bottom and go up to fill the li. Hope that makes sense.
You will also make the top and bottom of the link containers divs as well and place them above and below your link ul respectively. e.g.
[ ----------link----------- ] [ ----------link----------- ] [ ----------link----------- ] [ ----------link----------- ] [ ---bottom corners ---]
Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)
Last edited by moojoo; Oct 11th, 2006 at 16:05. |
|
|||
|
Re: CSS Problem...I Think
Woot
A second question though, do you know if it's possible to setup a mouseover status on a table cell, not it's contents? For example, i have all of the realm links in their own column cell, i want to make it so if i mouse over anywhere in that cell, that one of the grapics is triggered as a mouseover (making is so that if i mouse over anywhere in the realm box, it lights up the "Realm" bubble.) This is using Dreamweaver btw |
|
||||
|
Re: CSS Problem...I Think
td:hover etc.. or use javascript since IE won't know what to do with it.
Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)
|
|
|||
|
Re: CSS Problem...I Think
okay... so this is what i've got right now
(this is all the text for the table column, i'll copy/paste the selceted part i'm working on, but i figured i'd post the entire td beforehand.)
This is what i'm trying to do, i'm trying to tell the column (td) that when i mouse over it's sector ([182w, 168h]px) i want it to change the main image (InernalNOhover/images/24-Realm_.jpg) to the TDHRealm image (TDHOVER/images/24-Realm_.jpg)...... so i figured i would use this code <td width="182" height="168" valign="top" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('TDHRealm','','TDHOVER/Images/24-Realm_.jpg',1)"> i thought by placing the onmouse[out/over] functions inside the <td> that it would be applying it to the column, basically doing what i wanted it to.. but it doesn't... can you help? |
![]() |
| Tags |
| css, problemi, think |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| First image problem and inline list problem | konnor5092 | Web Page Design | 8 | Dec 1st, 2007 09:08 |