i have real estate site where i can search the location,state,city,bedrooms .all these details get in a table but i want to change the color of the rows and cols of the search result table .how i have to proceed. i ahve used php to get serach result

You can use CSS to color HTML elements. Let me know where to start: how much to you currently know about CSS?

If you know PHP and CSS, then what is the question? Simply define two CSS declarations, one for each row color, and apply the CSS class on every other row as you build the table.

i have real estate site where i can search the location,state,city,bedrooms .all these details get in a table but i want to change the color of the rows and cols of the search result table .how i have to proceed. i ahve used php to get serach result

Do you know much about HTML ? If so then i'd be willing to help.
Also, are you using a certain web design program to make that table ? I ask because if its Front Page you can do the following. Right click the cell. Click on Cell Properties from the list. Near the bottom of the new window it should say Background. If you need diagrams ask and I will post them up

I have attached a zip file that includes 3 steps on how to change a cell colour in Front Page. To change the colour on a number of cells do the same but highlight the cells you want to change.

Ollie

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.