[SOLVED] Tab Position Righ

This is a discussion on "[SOLVED] Tab Position Righ" within the Web Page Design section. This forum, and the thread "[SOLVED] Tab Position Righ are both part of the Design Your Website category.


 Subscribe in a reader

Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices




Reply
 
LinkBack Thread Tools
  #1  
Old Oct 12th, 2007, 10:47
Junior Member
Join Date: Sep 2007
Location: Romania
Age: 38
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
[SOLVED] Tab Position Righ

I have a slideshow tab content script on my page at http://www.jocurigratuit.ro/ on the left-top on the page and like you will see, the "Tabs" buttons are displayed on the top of the slideshow content.
My wish is to change the position of tabs to right side and vertically displayed too like in this picture:
Don`t worry about the size of the tabs..i will fix it after...I just need this position.
My Code i use is:
Code: Select all
<div id="pettabs" class="indentmenu">
<ul>
<li><a href="#" rel="dog1" class="selected">Tab 1</a></li>
<li><a href="#" rel="dog2">Tab 2</a></li>
<li><a href="#" rel="dog3">Tab 3</a></li>
<li><a href="#" rel="dog4">Tab 4</a></li>
<li><a href="#" rel="dog5">Tab 5</a></li>
</ul>
<br style="clear: left" />
</div>

<div style="border:1px solid red; width:290px; height: 192px; margin-left: 0px; margin-bottom:1em">

<div id="dog1" class="tabcontent">
<a href="http://www.jocurigratuit.ro/jocuri/427/Mascot-Kombat.html"><img src="http://www.jocurigratuit.ro/1m.gif" border="0"></a>

</div>

<div id="dog2" class="tabcontent">
<a href="http://www.jocurigratuit.ro/jocuri/436/Combo-Card-Cazino.html"><img src="http://www.jocurigratuit.ro/3m.gif" border="0"></a>
</div>

<div id="dog3" class="tabcontent">
<a href="http://www.jocurigratuit.ro/jocuri/412/Fifa-2007.html"><img src="http://www.jocurigratuit.ro/4m.gif" border="0"></a>
</div>

<div id="dog4" class="tabcontent">
<a href="http://www.jocurigratuit.ro/jocuri/252/Sherwood-MMORPG.html"><img src="http://www.jocurigratuit.ro/5m.gif" border="0"></a>
</div>

<div id="dog5" class="tabcontent">
<a href="http://www.jocurigratuit.ro/jocuri/292/FFX-Racing.html"><img src="http://www.jocurigratuit.ro/2m.gif" border="0"></a>
</div>
</div>


<script type="text/javascript">

var mypets=new ddtabcontent("pettabs")
mypets.setpersist(false)
mypets.setselectedClassTarget("link")
mypets.init(5000)

</script>
My CSS code:
Code: Select all
.indentmenu{
font: bold 13px Arial;
width: 100%; /*leave this value as is in most cases*/
}

.indentmenu ul{
margin: 0;
padding: 0;
float: left;
/* width: 80%; width of menu*/
border-top: 1px solid red; /*red border*/
background: black url(indentbg.gif) center center repeat-x;
}

.indentmenu ul li{
display: inline;
}

.indentmenu ul li a{
float: left;
color: white; /*text color*/
padding: 5px 11px;
text-decoration: none;
border-right: 1px solid red; /*red divider between menu items*/
}

.indentmenu ul li a:visited{
color: white;
}

.indentmenu ul li a.selected{
color: white !important;
padding-top: 6px; /*shift text down 1px*/
padding-bottom: 4px;
background: black url(indentbg2.gif) center center repeat-x;
}


.tabcontentstyle{ /*style of tab content oontainer*/
border: 1px solid red;
width: 290px;
margin-bottom: 1em;
padding: 0px;
}

.tabcontent{
display:none;
}

@media print {
.tabcontent {
display:block !important;
}
}
Also, the position is different on IE and Mozilla and i want to fix that too...
Maybe it is not a big deal but i will be profoundly tahnkful anyone help me!
P.S. The full script are here

Last edited by Maska; Oct 12th, 2007 at 10:57.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

  #2  
Old Oct 12th, 2007, 16:09
Junior Member
Join Date: Sep 2007
Location: Romania
Age: 38
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Tab Position Righ

What`s wrong with my post? Nobody answer me yet?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old Oct 12th, 2007, 16:21
Highly Reputable Member
Join Date: Apr 2007
Location: Kent, England
Age: 38
Posts: 560
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Tab Position Righ

Nothing's wrong with your post Maska - you only asked the question a few hours ago! Some questions get answered quickly, others can take a day or two, just depends who's around and who knows the answer! Hang tight, I'm sure you'll get an answer to your question soon
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old Oct 12th, 2007, 16:33
Junior Member
Join Date: Sep 2007
Location: Romania
Age: 38
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Tab Position Righ

Quote:
Originally Posted by VanessaJW View Post
Nothing's wrong with your post Maska...
It was a joke...
Anyway, on the first page CSS Forum , my post it`s only one with no replies, except yours and mine...All of them are posted today...
And my friend Rakuli wich allawys get me the right answer, appears to be offline...
Well..i will wait
Thanks Vanessa...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5  
Old Oct 13th, 2007, 00:06
Junior Member
Join Date: Jul 2007
Location: Arkansas, USA
Age: 21
Posts: 45
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Tab Position Righ

Assuming you already know how to vertically align the tabs. All I see is maybe setting the id "pettabs" to float right of the slideshow by adding the code
Code: Select all
float: right;
in the css where you have the id "pettabs."

Hope this helps,
nashultz07
Last Blog Entry: First Post! (Apr 18th, 2008)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6  
Old Oct 13th, 2007, 00:16
Elite Veteran
Join Date: Sep 2006
Location: Pink House
Posts: 3,946
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Tab Position Righ

And delete the display:inline here:
Code: Select all
.indentmenu ul li{
display: inline;


}
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #7  
Old Oct 13th, 2007, 07:49
Junior Member
Join Date: Sep 2007
Location: Romania
Age: 38
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Tab Position Righ

Quote:
Originally Posted by nashultz07 View Post
Assuming you already know how to vertically align the tabs...
I really don`t know how to vertically align the tabs....This is was my question in this theard...
Anyway thanks for your replay but still don`t help me.
I make the changes you suggest me but still don`t work like i wish...
Maybe this link will help you (or other) to...help me There is some documentation of the full script on the bottom of the page and i think this title ca solve my problem but i don`t know how must be used: "Dynamically selecting a tab anywhere on your page" on the bottom of the page.
My chose is the last Demo #3 like you see...
All the best!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #8  
Old Oct 13th, 2007, 07:52
Junior Member
Join Date: Sep 2007
Location: Romania
Age: 38
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Tab Position Righ

Quote:
Originally Posted by Lchad View Post
And delete the display:inline here:
Code: Select all
.indentmenu ul li{
display: inline;


}
This is was my first try to make the changes but nothing change on the apperance...
Thanks for your replay Lchad.
Maybe this link will help you (or other) to...help me There is some documentation of the full script, on the bottom of the page and i think this title ca solve my problem but i don`t know how must be used: "Dynamically selecting a tab anywhere on your page" on the bottom of the page.
My chose is the last Demo #3 like you see...
All the best!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #9  
Old Oct 13th, 2007, 08:16
Rakuli's Avatar
SuperMember

SuperMember
Join Date: Sep 2007
Location: Australia
Age: 24
Posts: 956
Blog Entries: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Tab Position Righ

Hi maska, lol . I don't think I get everything right.

I think you might to be able to do something like

HTML: Select all
<style type="text/css">

#pettabs
{
    width: 85px;
    float: right;
    padding: 0px;
}
#pettabs ul li
{
    display: block;
    margin: 0px;
    width: 100%;
    padding: 0px;
    height: 50px;
}
</style>

<div id="pettabs" class="indentmenu">
<ul>
<li><a href="#" rel="dog1" class="selected">1</a></li>
<li><a href="#" rel="dog2">2</a></li>
<li><a href="#" rel="dog3">3</a></li>
<li><a href="#" rel="dog4">4</a></li>

<li><a href="#" rel="dog5">5</a></li>
</ul>
<br style="clear: left">
</div>

<div style="border:1px solid red; width:290px; height: 192px; margin-left: 0px; margin-bottom:1em; float: right;">
I'm not sure if that would work but after looking at the script on Dynamic Drive I think it should.

Cheers
Last Blog Entry: The wannabe juggler's quest (Oct 27th, 2007)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #10  
Old Oct 13th, 2007, 14:55
Junior Member
Join Date: Sep 2007
Location: Romania
Age: 38
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Tab Position Righ

Quote:
Originally Posted by Rakuli View Post
Hi maska, lol . I don't think I get everything right.

I think you might to be able to do something like...
It really works but i need to fix some few details about the positions tabs.
Thanks a lot Rakuli

Best Regards!

Last edited by Maska; Oct 14th, 2007 at 07:39.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Thread Tools

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
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
thumbnails position mars Flash & Multimedia Forum 0 Apr 21st, 2008 16:41
[SOLVED] IE 7 background-position problem catalystmediastudios Web Page Design 5 Nov 15th, 2007 20:26
How to position a table trayc Web Page Design 4 Sep 14th, 2007 08:34
Nav position timmytots Web Page Design 0 Jun 9th, 2007 15:44
Help with position tunafishy Web Page Design 1 Jul 26th, 2005 03:14


All times are GMT. The time now is 06:03.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42