Adobe Dreamweaver Forums



Last 10 THreads :         Placing movie clip layer in the background (Last Post : szieminski@gmail.com - Replies : 0 - Views : 1 )           »          spry menubars not lining up in IE (Last Post : coftscootourb - Replies : 148 - Views : 536 )           »          display strips leading 0 (Last Post : Azadi - Replies : 1 - Views : 2 )           »          Image enlarge on mouse-over (Last Post : accicalacrism - Replies : 5 - Views : 190 )           »          net links (Last Post : almanson - Replies : 2 - Views : 3 )           »          mx 04 versus cs3 pro (Last Post : richard - Replies : 0 - Views : 1 )           »          Locking resize handles in browser. (Last Post : Jasper Thayer - Replies : 3 - Views : 4 )           »          Flash buttons don't work (Last Post : Murray *ACE* - Replies : 2 - Views : 3 )           »          Does DW CS3 write better php than DWMX2004? (Last Post : Murray *ACE* - Replies : 1 - Views : 2 )           »          PagesThemselves Look OK After Removing Link, But WhenSecond Nav Bar is Used Formatting is Lost (Last Post : Murray *ACE* - Replies : 5 - Views : 6 )           »         


Home Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
User Info Statistics
Go Back   Adobe Dreamweaver Forums > Dreamweaver: Main > Dreamweaver Extensions
 
Tags: , , ,

Reply
  #1 (permalink)  
Old 04-13-2008, 01:55 AM
Zenoneath
 
Posts: n/a
Diggs:
Default SPry menu bar help

I have recently migrated from MS frontpage '03 to Dreamweaver CS3. I must admit
, for a novice at WYSIWYG and a complete beginner at the html code, this
transition was not as easy as I expected. However after purchasing a few books,
and viewing some of the vids of adobe , I finally got the hang of things.

I am busy designing a school website, using one of the html templates offered
by DW CS3 (two coloumns elastic,right sidebar, header and footer). I have
inserted a spry horizonal Navigation bar under the banner(which is a jpg). Both
th espry navigation and the banner is in the header part of the html template.

I have encountered three probs:
1) I cant change the colour of the spry menu bar and its drop down menu. When
I look at the code/split view, I do not see any code relating to the color of
the menu bar (ie. #999999).

2) I dont seem to know how to align the spry menu directly under the banner.
(there is a slight space between the banner and the spry menu )

3) Also there is a slight grey space on top and at the bottom of the banner
(even after I set the padding to 0px)

A reply would be highy appreciatedTextTextgg

Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 04-13-2008, 01:55 AM
hans haverlach
 
Posts: n/a
Diggs:
Default Re: SPry menu bar help

Hi Zenoneath,
Possible answers to your probs:
1. Using the spry menubar, you also are linked to a sprymenubarhorizontal.css
(look in your HEAD code), the css is located in the spryassets dir. Read the
grey text between the css code and you find your answer to the colors.
2. Perhaps within the same CSS you can position the menubar exactly. otherwise
place the complete menubarcode in a div and give this div a classname and
position it within a css stylesheet.
3. Most likely, using a DW template, your already linked to a specific CSS
file wich is combined with the template. In that CSS file you will find the
headerdiv, and can change bg color there.

Looks like it all about CSS... life is simple...sometimes.:smile;
Hope it will work for you!
Hans


Reply With Quote
  #3 (permalink)  
Old 04-13-2008, 01:55 AM
intssed
 
Posts: n/a
Diggs:
Default Re: SPry menu bar help

Hi, hans haverlach!
CSS is good.
How I can align text "vertically middle" in each button (or all buttons)?
Horizontally all ok (align left, right, etc.)
(bacause in some buttons I have two text lines)

Please help!

Thanks!


Reply With Quote
  #4 (permalink)  
Old 04-13-2008, 01:55 AM
jediha
 
Posts: n/a
Diggs:
Default Re: SPry menu bar help

Hi,
Well you should add this css line: vertical-align: middle;
in the right class, i'm not sure which one, it's a bit trial and error i
guess.
By the way: in my spry menubars the text is standard aligned to middle
(vertically), even with two lines of text.



Reply With Quote
  #5 (permalink)  
Old 04-13-2008, 01:55 AM
intssed
 
Posts: n/a
Diggs:
Default Re: SPry menu bar help

Thanks!
I have try add new Property without results "vertical-align: middle;
". All texts ever on the top of buttons.
Reply With Quote
  #6 (permalink)  
Old 04-13-2008, 01:55 AM
hans haverlach
 
Posts: n/a
Diggs:
Default Re: SPry menu bar help

perhaps you can show me a link to your page, or send the code, so i can have a look at it.
Hans
Reply With Quote
  #7 (permalink)  
Old 04-13-2008, 01:55 AM
Zenoneath
 
Posts: n/a
Diggs:
Default Re: SPry menu bar help

Hey its me again, thanks for the advice Hans, it worked perfectly, I located
the spry css file and changed all the settings accordingly. I have also
completed this site, and its no ready for the owners to see.

I do not mean to bother you yet again, but I have now been tasked with yet
another School, website. This time , however I have been given a photoshop
template. Most of the site I have successfully managed to make via dreamweaver
and css, but yet again I have more drop-down menu woes.

The template I was intended to use, uses photoshop slices, which I have turned
into rollovers in the website. The only problem I have now is what to do in
order to turn these 'roll-over images' to drop-down menues(such as horizonal
spry menues).

I am using Dreamweaver CS3 , version 9.0.

Reply With Quote
  #8 (permalink)  
Old 04-13-2008, 01:55 AM
hans haverlach
 
Posts: n/a
Diggs:
Default Re: SPry menu bar help

Hi,
I'm glad it worked for you!
I think you should use CSS again! You can use the horizontal spry menubar, but
in it's CSS file not use the backgroundcolors, remove them, but instead use a
backgroundimage (your ps slices), and use a different bg image (the roll over
state) in the 'hover' classes in the CSS file. That should work.

Hans

Reply With Quote
  #9 (permalink)  
Old 04-13-2008, 01:55 AM
campanapa
 
Posts: n/a
Diggs:
Default Re: SPry menu bar help

Well the position is absolu the index Z 1010 is work for I.E.7 but not for Mozilla and Opera...........
Reply With Quote
  #10 (permalink)  
Old 04-13-2008, 01:55 AM
Zenoneath
 
Posts: n/a
Diggs:
Default Re: SPry menu bar help

I seem tobe having yetanother problem. When java script is disabled, the menu
appears exactly as I want it (visually), but when I enable itthe PS slices
disappear.

perhaps a sample code oculd help?

ALso would it be possible to add different backround images to different spry
menues, while retaining their name (i.e, when js is disabled, the menu appears
as a set of hyperlinks, the submenues are indented, etc...)

Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



© Camley Interactive (camley.info) 2008 - all logos and images are copywrite their respective owners.
Proud member of the Camley Interactive Network
All times are GMT. The time now is 12:44 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
Inactive Reminders By Mished.co.uk