468,514 Members | 1,075 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,514 developers. It's quick & easy.

how to create tabs

123 100+
we even i create web pages i use table not DIV how do
i create tabs in css that will work well with tables
May 9 '09 #1
7 2008
acoder
16,027 Expert Mod 8TB
What kind of tabs are you talking about here? Can you give an example.

Note that you shouldn't be using tables for layout.
May 11 '09 #2
simon2x1
123 100+
about taking about spry tabbed panel for instance let same we have 2 tab home and service we you click on service tab the content below it will change same with the home but on the same web page it is not a link
May 12 '09 #3
acoder
16,027 Expert Mod 8TB
Do you want to use CSS only for this or can JavaScript be OK?
May 13 '09 #4
simon2x1
123 100+
i will like the both i want css both if you can send the two is also ok by me
May 13 '09 #5
acoder
16,027 Expert Mod 8TB
If you want the pages to change without unloading the page, I'm not sure if it can be possible with CSS alone. You could look at :active or :focus, but then to display the page, you would need it to be contained within the tab element. I haven't tested, but that should give you an idea to try out.

If you don't mind using JavaScript, then there are plenty of examples, Spry being one of them.
May 14 '09 #6
simon2x1
123 100+
thank but the want am say is that i do know how to create spry
May 14 '09 #7
acoder
16,027 Expert Mod 8TB
Spry is just an example. There are many others out there. To see how to do it, see this example page and view the source code.
May 14 '09 #8

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

1 post views Thread by Dan Jacobson | last post: by
1 post views Thread by Bill Gates | last post: by
135 posts views Thread by Xah Lee | last post: by
35 posts views Thread by Ben | last post: by
1 post views Thread by fmendoza | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.