Go Back   Dreamweaver Club Forums > Dreamweaver forums > Spry
Register FAQ Members List Search Today's Posts Mark Forums Read

Thread Tools Display Modes
Old 12-06-2010, 10:17 AM   #1
Finland Blue
Finland Blue's Avatar
Join Date: Mar 2005
Posts: 143
Default Problems with Spry tabs

I am building a page containing Spry tabs. I notice that when I press a certain tab, it is causing other tabs to change position.

Can anyone advise why and how to prevent it.

See http://www.travel-experience.net/tabtest.html

Press tab "4* hotels for FITs", and then the tab "Another Test hotel". Then the tabs seem to change position, with another tab appearing under it ...

Thanks for any advice ...
Finland Blue is offline   Reply With Quote
Old 12-18-2010, 07:29 AM   #2
Join Date: Dec 2010
Posts: 366

I discovered divs that are float:right; or float:left; (or anything that is not a table) is incapable of hard column-ing like tables. they wrap. what is probably happening is that some floated right element like an li is probably right-aligning to the next line because there is not enough space. give it more space in your css, and it should work. float causes weirdness when not handled properly if spry has implemented float in their tabbed menus (probably) you will mess up your menus by having it in your css, and guess what it's there.

typical monitors can display 960 pixels wide in browsers, so that is a good hard number to go by (for instance, if you have a 1024x768 monitor, some pixels of overhead are for the scroll bar and for the window edges).

your strong tags are a mess. clean them up.

after you have cleaned up the strong tags, in dreamweaver, commands, apply source formatting. things should look a lot better then.

then in the sprytabbedpanels.css file, comment out the float:left;, it's breaking your menu.
jmichae3 is offline   Reply With Quote
Old 12-18-2010, 07:32 AM   #3
Join Date: Dec 2010
Posts: 366

in the css it should be
.VTabbedPanels .TabbedPanelsContentGroup {
    clear: none;
    /*float: left;*/
    padding: 0px;
    width: 30em;
    height: 20em;
    border-right-style: solid;
jmichae3 is offline   Reply With Quote

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT. The time now is 02:35 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2018, vBulletin Solutions, Inc.
Copyright 2006 DreamweaverClub.com