Flash Games

 FAQ   Search   Members   Groups   Register  User Control Panel      Login 

Your time now:
Wed Nov 04, 2009 7:54 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 2 posts ]  Bookmark and Share
Author Message
 Post subject: tabbed navigation in html
PostPosted: Thu May 07, 2009 5:11 am 
Offline

Joined: Thu May 07, 2009 4:58 am
Posts: 1
Hi,
I'm using a simple tabbed navigation in html. Below is the simple code structure. It is working fine except that when I resize the window and make it smaller and smaller the tabs lies on top of each other. Ideally when the window size is smaller I would like to see only some of the tabs from left but not all lying on top of each other. How to fix this problem?
Any help will be appreciated.

<style type="text/css">
#tabs{
padding:0;
margin:0;
font-family:Arial, Helvetica, sans-serif;
font-size:12px;
color:#FFF;
font-weight:bold;
}
#tabs ul{
list-style:none;
margin:90;
padding:0;

}
#tabs ul li{
display:inline;
margin:0;
text-transform:capitalize;

}
#tabs ul li a{
padding:7px 16px;
color:#FFF;
background:#E7A272;

text-decoration:none;
border:1px solid #D17B40;
border-left:0;
margin:0;
text-transform:capitalize;
}



#tabs ul li a:hover{
background:#EAEAEA;
color:#7F9298;
text-decoration:none;
border-bottom:1px solid #EAEAEA;
}
#tabs ul li a.active{
background:#EAEAEA;
color:#7F9298;
border-bottom:1px solid #EAEAEA;
}
#content{
background:#FFFFF;
clear:both;
font-size:15px;
color:#000;
padding:20px;
font-family:Arial, Helvetica, sans-serif;
}
</style>

<div align="center" id='tabs'>

<ul>
<li><a href='#' class='active'>Summer School / Workshop</a></li>
<li><a href='#'>Travel Information</a></li>
<li><a href='#'>Venue</a></li>
<li><a href='#'>Housing</a></li>
<li><a href='#'>Registration</a></li>
<li><a href='#'>Schedule</a></li>
<li><a href='#'>Wiki</a></li>

</ul>
</div>


Top
 Profile  
 
 Post subject: Re: tabbed navigation in html
PostPosted: Wed May 13, 2009 11:02 am 
Offline

Joined: Wed May 13, 2009 11:00 am
Posts: 2
Location: india
add width in tab class ,then page looks fine

#tabs{
padding:0;
margin:0;
font-family:Arial, Helvetica, sans-serif;
font-size:12px;
color:#FFF;
font-weight:bold;
width:900px;
}


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group - Flash Games - TNX Invitation Code - TNX Review

Webmaster - Excruciating - Johnathan - Kotik - Ash - Tomi - rangana - Phate - dflynn - Medley