Side Menu
-
I would like to ask if i can let the results in each title…like Category and pages can be obtained inside a table…
if yes? how please?
-
Sorry. you will have to try this again. Could you describe in details what do you want?
Sure i can
i would like to have the results in sidebar of the pages in a table like that
<table width=”99%” border=”0″ cellspacing=”0″ cellpadding=”0″>
<tr>
<td>Cat1</td>
</tr>
<tr>
<td>Cat2</td>
</tr>
</table>“Results”? You mean the output of a template tag? They don’t work with tables. You’ll have to re-write some functions for that. I don’t know how…
Why would you want that? Maybe if you tell us what is what you want to achieve by that we could come up with a viable solution.
yes it is…i would like to change it and use it as i want
here is the code but im not good in php to change it- <h2>Categories</h2>
-
<?php wp_list_cats(‘sort_column=name&optioncount=1&hierarchical=0’); ?>
mean i would like to have my menu and get it from the sidebar
I still don’t get it why you need tables? What is is the original code cannot do but tables can?
The code you posted above will display a “list” – and you just have to style by editing the style.css file: it will appear in whatever way you want it.No, the code will never display tables.
thats bad
i need the result to be in a table…you know kind of design and decorate….thats all…
nothing elseYou can design and decorate million things… without the need for a table.
Just to get an idea: http://www.csszengarden.com/
but i need to have the result merged in a table
What you need is to elaborate on WHY you need a title when CSS exists.
sorry dear but i dont understand?
Probably because of my horrible typo! Let’s try that again:
What you need is to elaborate on WHY you need a table when CSS exists.
4 sorry i dont know to use it…
if i know…i would do it there…can u help me
This might help get you started. A short intro to CSS (Cascading Style Sheets). This excerpt is from:
http://www.w3schools.com/css/css_intro.asp
"Styles Solve a Common ProblemHTML tags were originally designed to define the content of a document. They were supposed to say "This is a header", "This is a paragraph", "This is a table", by using tags like <h1>, , <table>, and so on. The layout of the document was supposed to be taken care of by the browser, without using any formatting tags.
As the two major browsers - Netscape and Internet Explorer - continued to add new HTML tags and attributes (like the <font> tag and the color attribute) to the original HTML specification, it became more and more difficult to create Web sites where the content of HTML documents was clearly separated from the document's presentation layout.
To solve this problem, the World Wide Web Consortium (W3C) - the non profit, standard setting consortium, responsible for standardizing HTML - created STYLES in addition to HTML 4.0.
All major browsers support Cascading Style Sheets."
Further info on styling. You *really* can do most anything you want to your lists. So the WP brings up a ul, which is a bit different from a dl, but see what can be done with a dl:
http://caughtya.org/united-states/2006/08/silver-escalade.html
on that page, the license plate, vehicle, colour, date information, etc, all that is in a LIST, not a table.http://css.maxdesign.com.au/listamatic/ has many, many list specific styling options for you to adapt if needed.
thank you very much
i was think that there is somebody do itso i will do it and put it here…
The topic ‘Side Menu’ is closed to new replies.