watagal Posted May 2, 2006 Share Posted May 2, 2006 GreetingsI'm investigating the best way to layout a tab interface. The tabs are defined dynamically via a query from my MySQL database using PHP - so predefined web graphics is not the solution. But I want a graphic look & feel.Beneath the graphics, I assume I should use a <table> tag with 1 row and x number of columns (or tabs).Is there a way to lay down the tab's graphics in the cell and place the tab's text over the top? Or should each cell contain another table with 6 (?) cells to handle each graphic aspect (left, left-top-corner,top, right-top-corner,right) of a tab and the tab's text in the middle-bottom cell? I hope this explains it enough.Thanks, Link to comment Share on other sites More sharing options...
justsomeguy Posted May 2, 2006 Share Posted May 2, 2006 You could just have several tabs, and have a content div (or a div for each tag), and use javascript to either load content into the single div, or to change which div is visible for each tab you click on. With the div, you can have a background image and text over it as well. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now